ARM: dts: rockchip: enable usb host2 for evb rk3288
authorJacob Chen <jacob2.chen@rock-chips.com>
Thu, 7 Jul 2016 01:23:37 +0000 (09:23 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Thu, 7 Jul 2016 07:18:54 +0000 (15:18 +0800)
Change-Id: I2866ef914240a3fb7ae29c35ea61f7a1bf384559
Signed-off-by: Jacob Chen <jacob2.chen@rock-chips.com>
arch/arm/boot/dts/rk3288-evb.dtsi

index dedc354bdbbd30646fd786852ed824a2499cd32a..cb5c8d8c1852fd5ab7d330781c00391e5d2e07eb 100644 (file)
                regulator-boot-on;
        };
 
                regulator-boot-on;
        };
 
+       /* This switch DIO3222 HOST_DP_HOST to host2 (dwc2) */
+       vcc_3g: vcc-3g-regulator {
+               compatible = "regulator-fixed";
+               enable-active-high;
+               gpio = <&gpio7 8 GPIO_ACTIVE_HIGH>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&pwr_3g>;
+               regulator-name = "vcc_3g";
+       };
+
        /*
         * NOTE: vcc_sd isn't hooked up on v1.0 boards where power comes from
         * vcc_io directly.  Those boards won't be able to power cycle SD cards
        /*
         * NOTE: vcc_sd isn't hooked up on v1.0 boards where power comes from
         * vcc_io directly.  Those boards won't be able to power cycle SD cards
                host_vbus_drv: host-vbus-drv {
                        rockchip,pins = <0 14 RK_FUNC_GPIO &pcfg_pull_none>;
                };
                host_vbus_drv: host-vbus-drv {
                        rockchip,pins = <0 14 RK_FUNC_GPIO &pcfg_pull_none>;
                };
+
+               pwr_3g: pwr-3g {
+                       rockchip,pins = <7 8 RK_FUNC_GPIO &pcfg_pull_none>;
+               };
        };
 
        eth_phy {
        };
 
        eth_phy {