diff options
author | Jagan Teki <jagannadh.teki@gmail.com> | 2017-10-16 14:16:25 +0200 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2017-10-17 21:16:39 +0200 |
commit | 4ed1bc3915fdccdbb5a3fa667f5e7e200e113550 (patch) | |
tree | 1c1f4f96219230b8907b67e07f4e03d5cc46c1cf /arch/arm/boot/dts/rk3288-vyasa.dts | |
parent | ARM: dts: rockchip: Add usb host for rk3288-vyasa (diff) | |
download | linux-4ed1bc3915fdccdbb5a3fa667f5e7e200e113550.tar.xz linux-4ed1bc3915fdccdbb5a3fa667f5e7e200e113550.zip |
ARM: dts: rockchip: Add usb otg for rk3288-vyasa
Add usb otg support for rk3288-vyasa, board support usb1 otg
power through otg_vbus_drv and naming conversion followed
as per schematic.
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm/boot/dts/rk3288-vyasa.dts')
-rw-r--r-- | arch/arm/boot/dts/rk3288-vyasa.dts | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/rk3288-vyasa.dts b/arch/arm/boot/dts/rk3288-vyasa.dts index b93c9bb92896..d95eb522d3d5 100644 --- a/arch/arm/boot/dts/rk3288-vyasa.dts +++ b/arch/arm/boot/dts/rk3288-vyasa.dts @@ -115,6 +115,20 @@ vin-supply = <&vcc_io>; }; + vusb1_5v: vusb1-5v { + compatible = "regulator-fixed"; + regulator-name = "vusb1_5v"; + enable-active-high; + gpio = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>; /* OTG_VBUS_DRV */ + pinctrl-names = "default"; + pinctrl-0 = <&otg_vbus_drv>; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-always-on; + regulator-boot-on; + vin-supply = <&vsus_5v>; + }; + vusb2_5v: vusb2-5v { compatible = "regulator-fixed"; regulator-name = "vusb2_5v"; @@ -401,6 +415,10 @@ status = "okay"; }; +&usb_otg { + status = "okay"; +}; + &vopb { status = "okay"; }; @@ -455,4 +473,11 @@ rockchip,pins = <8 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>; }; }; + + usb_otg { + otg_vbus_drv: otg-vbus-drv { + rockchip,pins = <RK_GPIO0 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>; + + }; + }; }; |