lantiq: Add the SPI node to ar9.dtsi and vr9.dtsi
authorFelix Fietkau <nbd@openwrt.org>
Sun, 17 Jan 2016 19:55:17 +0000 (19:55 +0000)
committerFelix Fietkau <nbd@openwrt.org>
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>
SVN-Revision: 48286

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

index f69a7aea9debb4e6f52c4aa8c7fa97565db4ea38..25b834647c4fb36086a94a8333adb33ce0779ad2 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 2330bf1c21bc9ce40f64dbc8dd2f3004c589d708..e38541ef69bf8972bf93b291f03f2a7eedb04c33 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>;