ramips: fix HiWiFi HC5761A USB port
[openwrt/staging/chunkeey.git] / target / linux / ramips / dts / mt7628an_hiwifi_hc5761a.dts
index 1f7715bb383c38a29a56a248457240693f5825d8..903029d10d7f3d4ac4fd050d565567182cdbf059 100644 (file)
                        linux,default-trigger = "phy1tpt";
                };
        };
+
+       gpio_export {
+               compatible = "gpio-export";
+               #size-cells = <0>;
+
+               usb_power {
+                       gpio-export,name = "usb_power";
+                       gpio-export,output = <0>;
+                       gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
+               };
+       };
 };
 
 &state_default {
        gpio {
-               ralink,group = "i2c", "refclk", "wdt", "p3led_an", "wled_an";
+               ralink,group = "i2c", "refclk", "wdt", "p2led_an", "p3led_an", "wled_an";
                ralink,function = "gpio";
        };
 };