[U-Boot] rockchip: dts: firefly: add usb host power supply node

Eddie Cai eddie.cai.linux at gmail.com
Mon Mar 27 07:17:27 UTC 2017


firefly have a usb host. add dts node to provide power supply

Signed-off-by: Eddie Cai <eddie.cai.linux at gmail.com>
---
 arch/arm/dts/rk3288-firefly.dts | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/dts/rk3288-firefly.dts b/arch/arm/dts/rk3288-firefly.dts
index 97568a3..59ff8bc 100644
--- a/arch/arm/dts/rk3288-firefly.dts
+++ b/arch/arm/dts/rk3288-firefly.dts
@@ -50,6 +50,11 @@
 			rockchip,pins = <7 0 RK_FUNC_GPIO &pcfg_pull_up>;
 		};
 	};
+	usb_host {
+		host_vbus_drv: host-vbus-drv {
+			rockchip,pins = <0 14 RK_FUNC_GPIO &pcfg_pull_none>;
+		};
+	};
 };
 
 &pwm1 {
@@ -61,6 +66,11 @@
 	reg-shift = <2>;
 };
 
+&usb_host1 {
+	vbus-supply = <&vcc_host_5v>;
+	status = "okay";
+};
+
 &sdmmc {
 	u-boot,dm-pre-reloc;
 };
-- 
2.7.4



More information about the U-Boot mailing list