aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2017-05-03 12:46:55 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2017-05-23 14:17:53 +0200
commit1b32a5ff98fbb271d2235ddcfe3b58f514f8260a (patch)
tree6d6c5ada523c9ea17dfd0594db162d93223bfb56 /arch/arm64/boot/dts/hisilicon/hi6220.dtsi
parentarm64: dts: hikey: Add clock for the pmic mfd (diff)
downloadlinux-dev-1b32a5ff98fbb271d2235ddcfe3b58f514f8260a.tar.xz
linux-dev-1b32a5ff98fbb271d2235ddcfe3b58f514f8260a.zip
arm64: dts: hi6220: Move the fixed_5v_hub regulator to the hikey dts
The regulator is a part of the hikey board, therefore let's move it from the hi6220 SoC dtsi file into the hikey dts file . Let's also rename the regulator according to the datasheet (5V_HUB) to better reflect the HW. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to '')
-rw-r--r--arch/arm64/boot/dts/hisilicon/hi6220.dtsi12
1 files changed, 1 insertions, 11 deletions
diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
index 1e5129b19280..951152d44c02 100644
--- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
+++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
@@ -725,20 +725,10 @@
status = "disabled";
};
- fixed_5v_hub: regulator@0 {
- compatible = "regulator-fixed";
- regulator-name = "fixed_5v_hub";
- regulator-min-microvolt = <5000000>;
- regulator-max-microvolt = <5000000>;
- regulator-boot-on;
- gpio = <&gpio0 7 0>;
- regulator-always-on;
- };
-
usb_phy: usbphy {
compatible = "hisilicon,hi6220-usb-phy";
#phy-cells = <0>;
- phy-supply = <&fixed_5v_hub>;
+ phy-supply = <&reg_5v_hub>;
hisilicon,peripheral-syscon = <&sys_ctrl>;
};