ramips: update device tree source files
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / kng_rc.dts
index fefa1b7d8da7e726c24897070f68191c9303877f..8d74595b996305be0e8342d66c11154e12ef0905 100644 (file)
@@ -6,6 +6,7 @@
 #include <dt-bindings/input/input.h>
 
 / {
+       compatible = "zyxel,keenetic-viva", "ralink,mt7620a-soc";
        model = "ZyXEL Keenetic Viva";
 
        gpio-leds {
                };
        };
 
+       gpio_export {
+               compatible = "gpio-export";
+               #size-cells = <0>;
+
+               usb_power {
+                       gpio-export,name = "usb";
+                       gpio-export,output = <1>;
+                       gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
+               };
+       };
+
        rtl8367rb {
                compatible = "realtek,rtl8367b";
                cpu_port = <7>;