ramips: adapt VoCore to new second spi device code

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

SVN-Revision: 47667
owl
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"
/ {
palmbus@10000000 {
spi@b00 {
&spi0 {
status = "okay";
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
@ -36,6 +36,4 @@
reg = <0x50000 0xfb0000>;
};
};
};
};
};

View File

@ -2,9 +2,9 @@
/include/ "VOCORE.dtsi"
/ {
palmbus@10000000 {
spi@b00 {
&spi0 {
status = "okay";
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
@ -36,6 +36,4 @@
reg = <0x50000 0x7b0000>;
};
};
};
};
};

View File

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