ramips: only add spidev node in for WrtNode2R (and not for 2P)

Only the 2R version got the STM32 uC connected as 2nd SPI device.
Hence move the spidev node from mt7628an_wrtnode_wrtnode2.dtsi to
mt7628an_wrtnode_wrtnode2r.dts.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle 2019-09-15 20:14:26 +02:00
parent d5cd80a1e8
commit 6364e03736
2 changed files with 10 additions and 8 deletions

View File

@ -60,14 +60,6 @@
}; };
}; };
}; };
spidev@1 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "linux,spidev";
reg = <1>;
spi-max-frequency = <10000000>;
};
}; };
&uart1 { &uart1 {

View File

@ -41,3 +41,13 @@
}; };
}; };
}; };
&spi0 {
spidev@1 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "linux,spidev";
reg = <1>;
spi-max-frequency = <10000000>;
};
};