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>;
};
};