dts: rk3399-evb: add regulator-fixed for usb host vbus
authorKever Yang <kever.yang@rock-chips.com>
Wed, 24 Aug 2016 04:02:21 +0000 (12:02 +0800)
committerSimon Glass <sjg@chromium.org>
Thu, 22 Sep 2016 13:41:49 +0000 (07:41 -0600)
rk3399 evb using one gpio to enable 5V output for both USB 2.0
host port, let's use fixed regulator for them.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/arm/dts/rk3399-evb.dts

index 7b49f6fb194f72e58b179808f2a0b566159aa05e..bd7801b9a5e64e28e1583bfd8e2f14e979401492 100644 (file)
                regulator-always-on;
                regulator-boot-on;
        };
+
+       vcc5v0_host: vcc5v0-host-en {
+               compatible = "regulator-fixed";
+               regulator-name = "vcc5v0_host";
+               gpio = <&gpio4 25 GPIO_ACTIVE_HIGH>;
+       };
 };
 
 &emmc_phy {