lantiq: add swconfig to the default packages
[oweals/openwrt.git] / target / linux / lantiq / dts / vr9.dtsi
index 1a50d0ebc811726674d7b137c89c5ba203b37723..7f036186e4b74f633414c1b971480976b8478d9a 100644 (file)
@@ -1,5 +1,4 @@
 #include <dt-bindings/gpio/gpio.h>
-#include <dt-bindings/input/input.h>
 
 / {
        #address-cells = <1>;
                        compatible = "lantiq,gptu-xway";
                        reg = <0xE100A00 0x100>;
                        interrupt-parent = <&icu0>;
-                        interrupts = <126 127 128 129 130 131>;
+                       interrupts = <126 127 128 129 130 131>;
                };
 
                asc0: serial@E100400 {
                        interrupts = <96>;
                };
 
-               pcie@d900000 {
+               pcie0: pcie@d900000 {
+                       compatible = "lantiq,pcie-xrx200";
+
+                       #interrupt-cells = <1>;
+                       #size-cells = <2>;
+                       #address-cells = <3>;
+
                        interrupt-parent = <&icu0>;
                        interrupts = <161 144>;
-                       compatible = "lantiq,pcie-xrx200";
+
+                       device_type = "pci";
+
                        gpio-reset = <&gpio 38 GPIO_ACTIVE_HIGH>;
                };
 
                pci0: pci@E105400 {
+                       status = "disabled";
+
                        #address-cells = <3>;
                        #size-cells = <2>;
                        #interrupt-cells = <1>;
                                0x1000000 0 0x00000000 0xAE00000 0 0x200000>; /* io space */
                        reg = <0x7000000 0x8000         /* config space */
                                0xE105400 0x400>;       /* pci bridge */
-                       status = "disabled";
+                       lantiq,bus-clock = <33333333>;
+                       interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
+                       interrupt-map = <0x7000 0 0 1 &icu0 30 1>; /* slot 14, irq 30 */
+                       req-mask = <0x1>; /* GNT1 */
                };
        };