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:
parent
98204836a4
commit
29db5cae43
3 changed files with 6 additions and 5 deletions
|
@ -146,7 +146,7 @@
|
|||
spidev@1 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "spidev";
|
||||
compatible = "linux,spidev";
|
||||
reg = <1>;
|
||||
spi-max-frequency = <40000000>;
|
||||
};
|
||||
|
|
|
@ -67,11 +67,13 @@
|
|||
reg = <0x50000 0x3b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
spidev@1 {
|
||||
&spi1 {
|
||||
spidev@0 {
|
||||
compatible = "linux,spidev";
|
||||
spi-max-frequency = <10000000>;
|
||||
reg = <1>;
|
||||
reg = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -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>;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue