ramips: add button support and make LEDs known to userspace for DIR-860L B1
[openwrt/openwrt.git] / target / linux / ramips / dts / DIR-860L-B1.dts
index b6336d87d355aa4d097f162324263fa3c44c8219..579df585c71a5a33de1c9fa2cd32599f588313cf 100644 (file)
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
+               reset {
+                       label = "reset";
+                       gpios = <&gpio0 7 1>;
+                       linux,code = <0x198>;
+               };
+
+               wps {
+                       label = "wps";
+                       gpios = <&gpio0 18 1>;
+                       linux,code = <0x211>;
+               };
        };
 };