ramips: fix HiWiFi HC5761A USB port
Export GPIO 41 to power USB port Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
This commit is contained in:
parent
c8f8e59816
commit
1df4f5cf96
1 changed files with 12 additions and 1 deletions
|
@ -32,11 +32,22 @@
|
||||||
linux,default-trigger = "phy1tpt";
|
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 {
|
&state_default {
|
||||||
gpio {
|
gpio {
|
||||||
ralink,group = "i2c", "refclk", "wdt", "p3led_an", "wled_an";
|
ralink,group = "i2c", "refclk", "wdt", "p2led_an", "p3led_an", "wled_an";
|
||||||
ralink,function = "gpio";
|
ralink,function = "gpio";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue