lantiq: Add the SPI node to ar9.dtsi and vr9.dtsi
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 17 Jan 2016 19:55:17 +0000 (19:55 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 17 Jan 2016 19:55:17 +0000 (19:55 +0000)
This allows devices to use SPI without having to re-define (and thus
duplicating) the whole SPI node.
By default SPI is disabled (as before) because only few devices need it.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48286 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/lantiq/dts/ar9.dtsi
target/linux/lantiq/dts/vr9.dtsi

index f69a7ae..25b8346 100644 (file)
                        status = "disabled";
                };
 
+               spi: spi@E100800 {
+                       compatible = "lantiq,spi-xway";
+                       reg = <0xE100800 0x100>;
+                       interrupt-parent = <&icu0>;
+                       interrupts = <22 23 24>;
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+                       status = "disabled";
+               };
+
                gpio: pinmux@E100B10 {
                        compatible = "lantiq,xrx100-pinctrl";
                        #gpio-cells = <2>;
index 2330bf1..e38541e 100644 (file)
                        status = "disabled";
                };
 
+               spi: spi@E100800 {
+                       compatible = "lantiq,spi-xway";
+                       reg = <0xE100800 0x100>;
+                       interrupt-parent = <&icu0>;
+                       interrupts = <22 23 24>;
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+                       status = "disabled";
+               };
+
                gpio: pinmux@E100B10 {
                        compatible = "lantiq,xrx200-pinctrl";
                        #gpio-cells = <2>;