]> git.sur5r.net Git - u-boot/commitdiff
dts: rk3399: move rockchip, vbus-gpio properties into board-specific files
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Wed, 29 Mar 2017 19:19:25 +0000 (21:19 +0200)
committerSimon Glass <sjg@chromium.org>
Wed, 5 Apr 2017 02:01:57 +0000 (20:01 -0600)
The (shared) rk3399.dtsi had defined the 'rockchip,vbus-gpio'
properties for each USB 3.0 controller.

As the GPIO usage will vary (e.g. one of those GPIOs shuts down one of
the regulators on the RK3399-Q7) between boards, we move this from the
shared dtsi into the device tree file for the EVB board which these
GPIO definitions match.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/arm/dts/rk3399-evb.dts
arch/arm/dts/rk3399.dtsi

index a959989735ffbace8bfda1e0252e7446057f7c9c..c3a7ca26e7c5acbba50cc359ae9c7073a58196c4 100644 (file)
@@ -95,6 +95,7 @@
 };
 
 &dwc3_typec0 {
+       rockchip,vbus-gpio = <&gpio1 3 GPIO_ACTIVE_HIGH>;
        status = "okay";
 };
 
 };
 
 &dwc3_typec1 {
+       rockchip,vbus-gpio = <&gpio1 4 GPIO_ACTIVE_HIGH>;
        status = "okay";
 };
 
index 754d34a8e5b9ce366784fc46ccc596b2d9cca7fb..dbe55f2b32ad7123ee570d280c7cc4a5203009bd 100644 (file)
                compatible = "rockchip,rk3399-xhci";
                reg = <0x0 0xfe800000 0x0 0x100000>;
                status = "disabled";
-               rockchip,vbus-gpio = <&gpio1 3 GPIO_ACTIVE_HIGH>;
                snps,dis-enblslpm-quirk;
                snps,phyif-utmi-bits = <16>;
                snps,dis-u2-freeclk-exists-quirk;
                compatible = "rockchip,rk3399-xhci";
                reg = <0x0 0xfe900000 0x0 0x100000>;
                status = "disabled";
-               rockchip,vbus-gpio = <&gpio1 4 GPIO_ACTIVE_HIGH>;
                snps,dis-enblslpm-quirk;
                snps,phyif-utmi-bits = <16>;
                snps,dis-u2-freeclk-exists-quirk;