ramips: adapt VoCore to new second spi device code

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 47667
lede-17.01
John Crispin 2015-11-28 23:24:52 +00:00
parent af14fa011c
commit 82557aee85
3 changed files with 66 additions and 70 deletions

View File

@ -2,9 +2,9 @@
/include/ "VOCORE.dtsi" /include/ "VOCORE.dtsi"
/ { &spi0 {
palmbus@10000000 { status = "okay";
spi@b00 {
m25p80@0 { m25p80@0 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
@ -37,5 +37,3 @@
}; };
}; };
}; };
};
};

View File

@ -2,9 +2,9 @@
/include/ "VOCORE.dtsi" /include/ "VOCORE.dtsi"
/ { &spi0 {
palmbus@10000000 { status = "okay";
spi@b00 {
m25p80@0 { m25p80@0 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
@ -37,5 +37,3 @@
}; };
}; };
}; };
};
};

View File

@ -12,16 +12,6 @@
i2c@900 { i2c@900 {
status = "okay"; status = "okay";
}; };
spi@b00 {
status = "okay";
spidev@1 {
compatible = "linux,spidev";
spi-max-frequency = <10000000>;
reg = <1>;
};
};
}; };
pinctrl { pinctrl {
@ -195,3 +185,13 @@
}; };
}; };
}; };
&spi1 {
status = "okay";
spidev@0 {
compatible = "linux,spidev";
spi-max-frequency = <10000000>;
reg = <0>;
};
};