1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-06-16 04:03:56 +02:00

ramips: fix spidev generic nodes

Use linux,spidev compatible string.
Move MZK-DP150N spidev to spi1 node.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
Álvaro Fernández Rojas 2016-05-18 16:56:31 +02:00
parent 98204836a4
commit 29db5cae43
3 changed files with 6 additions and 5 deletions

View File

@ -146,7 +146,7 @@
spidev@1 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "spidev";
compatible = "linux,spidev";
reg = <1>;
spi-max-frequency = <40000000>;
};

View File

@ -67,11 +67,13 @@
reg = <0x50000 0x3b0000>;
};
};
};
spidev@1 {
&spi1 {
spidev@0 {
compatible = "linux,spidev";
spi-max-frequency = <10000000>;
reg = <1>;
reg = <0>;
};
};

View File

@ -57,9 +57,8 @@
spidev@1 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "spidev";
compatible = "linux,spidev";
reg = <1>;
linux,modalias = "spidev", "spidev";
spi-max-frequency = <10000000>;
};
};