treewide: dts: use keycode defines from input dt-binding
[openwrt/staging/wigyori.git] / target / linux / lantiq / dts / ARV752DPW22.dts
index 9977ec1ddb1bb06ca09b582b98edab264c339a02..2a37a3a0bd320c0bff0db706923ca2aae4ee0d0d 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "danube.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        model = "ARV752DPW22 - Arcor 803";
 
                        phy-mode = "mii";
                        mtd-mac-address = <&boardconfig 0x16>;
                };
-
-               pci@E105400 {
-                       status = "okay";
-                       lantiq,external-clock;
-                       interrupt-map = <
-                                0x7000 0 0 1 &icu0 30
-                               0x7800 0 0 1 &icu0 135
-                               0x7800 0 0 2 &icu0 135
-                               0x7800 0 0 3 &icu0 135
-                       >;
-                       gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
-                       req-mask = <0x3>;
-               };
-
-       };
-
-       ralink_eep {
-               compatible = "ralink,eeprom";
-               ralink,eeprom = "RT2860.eeprom";
        };
 
        gpio-keys-polled {
                };
        };
 };
+
+&pci0 {
+       status = "okay";
+       lantiq,external-clock;
+       interrupt-map = <
+               0x7000 0 0 1 &icu0 30
+               0x7800 0 0 1 &icu0 135
+               0x7800 0 0 2 &icu0 135
+               0x7800 0 0 3 &icu0 135
+       >;
+       gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
+       req-mask = <0x3>;
+
+       wifi@1814,3592 {
+               compatible = "pci1814,3592";
+               reg = <0x7000 0 0 0 0>;
+               ralink,mtd-eeprom = <&boardconfig 0x410>;
+               ralink,mtd-eeprom-swap;
+       };
+};