mirror of https://github.com/hak5/openwrt.git
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>master
parent
d5cd80a1e8
commit
6364e03736
|
@ -60,14 +60,6 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
spidev@1 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "linux,spidev";
|
||||
reg = <1>;
|
||||
spi-max-frequency = <10000000>;
|
||||
};
|
||||
};
|
||||
|
||||
&uart1 {
|
||||
|
|
|
@ -41,3 +41,13 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
spidev@1 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "linux,spidev";
|
||||
reg = <1>;
|
||||
spi-max-frequency = <10000000>;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue