treewide: dts: use keycode defines from input dt-binding
[openwrt/staging/wigyori.git] / target / linux / lantiq / dts / danube.dtsi
index 68bd349e6f9916fd99c729daea1286a25db4d338..62e31d6bec59c8ef66f18c13954e962e70c0a366 100644 (file)
@@ -1,3 +1,5 @@
+#include <dt-bindings/gpio/gpio.h>
+
 / {
        #address-cells = <1>;
        #size-cells = <1>;
                };
        };
 
+       memory@0 {
+               device_type = "memory";
+       };
+
        biu@1F800000 {
                #address-cells = <1>;
                #size-cells = <1>;
@@ -50,7 +56,7 @@
                        compatible = "lantiq,eiu-xway";
                        reg = <0x101000 0x1000>;
                        interrupt-parent = <&icu0>;
-                       interrupts = <166 135 66>;
+                       lantiq,eiu-irqs = <166 135 66>;
                };
 
                pmu0: pmu@102000 {
@@ -66,7 +72,7 @@
 
                vmmc@107000 {
                        status = "disabled";
-                       compatible = "lantiq,vmmc";
+                       compatible = "lantiq,vmmc-xway";
                        reg = <0x103000 0x400>;
                        interrupt-parent = <&icu0>;
                        interrupts = <150 151 152 153 154 155>;
                };
 
                gpio: pinmux@E100B10 {
-                       compatible = "lantiq,pinctrl-xway";
+                       compatible = "lantiq,danube-pinctrl";
                        #gpio-cells = <2>;
                        gpio-controller;
                        reg = <0xE100B10 0xA0>;
                                0xE105400 0x400>;       /* pci bridge */
                        lantiq,bus-clock = <33333333>;
                        interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
-                       interrupt-map = <0x7000 0 0 1 &icu0 30 1>;
-                       req-mask = <0x1>;
+                       interrupt-map = <0x7000 0 0 1 &icu0 30 1>; /* slot 14, irq 30 */
+                       req-mask = <0x1>; /* GNT1 */
                };
        };