Skip to content
Snippets Groups Projects
Commit 1df4f5cf authored by DENG Qingfang's avatar DENG Qingfang Committed by Adrian Schmutzler
Browse files

ramips: fix HiWiFi HC5761A USB port


Export GPIO 41 to power USB port

Signed-off-by: default avatarDENG Qingfang <dengqf6@mail2.sysu.edu.cn>
parent c8f8e598
No related branches found
No related tags found
No related merge requests found
...@@ -32,11 +32,22 @@ ...@@ -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";
}; };
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment