lantiq: add swconfig to the default packages
[oweals/openwrt.git] / target / linux / lantiq / dts / VG3503J.dts
index 5b4f84668c8cb3e94d5edaf20c0d9fbc369cf806..db25b8748843f3b68cfb18c77dac41b7a996bca5 100644 (file)
@@ -1,6 +1,8 @@
 /dts-v1/;
 
-/include/ "vr9.dtsi"
+#include "vr9.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "VG3503J - BT OpenReach VDSL Modem";
@@ -90,8 +92,8 @@
                poll-interval = <100>;
                reset {
                        label = "reset";
-                       gpios = <&gpio 6 1>;
-                       linux,code = <0x198>;
+                       gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 
 
                power_red: power2 {
                        label = "vg3503j:red:power";
-                       gpios = <&gpio 14 1>;
+                       gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
                };
                dsl: dsl {
                        label = "vg3503j:green:dsl";
-                       gpios = <&gpio 19 1>;
+                       gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
                };
                power_green: power {
                        label = "vg3503j:green:power";
-                       gpios = <&gpio 28 1>;
+                       gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
                        default-state = "keep";
                };
        };