rpcd: iwinfo plugin fixes
[openwrt.git] / target / linux / brcm63xx / dts / ct-6373.dts
index 3a4079b..d6f0f8b 100644 (file)
@@ -1,11 +1,13 @@
 /dts-v1/;
 
-/include/ "bcm6358.dtsi"
+#include "bcm6358.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Comtrend CT-6373";
        compatible = "comtrend,ct-6373", "brcm,bcm6358";
-/*
+
        spi-gpio {
                #address-cells = <1>;
                #size-cells = <1>;
@@ -25,7 +27,7 @@
                        #gpio-cells = <2>;
                };
        };
-*/
+
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
                #address-cells = <1>;
@@ -36,7 +38,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio1 3 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 
@@ -56,7 +58,6 @@
                        label = "CT6373-1:green:wlan";
                        gpios = <&gpio0 9 1>;
                };
-/*
                dsl_green {
                        label = "CT6373-1:green:adsl";
                        gpios = <&hc595 0 1>;
@@ -73,7 +74,6 @@
                        label = "CT6373-1:green:fxs2";
                        gpios = <&hc595 3 1>;
                };
-*/
        };
 };