diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2017-05-03 07:51:27 -0400 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-05-23 08:17:58 -0400 |
commit | 84f7c60b31f10e3a438153bc7408ad536f585641 (patch) | |
tree | aea0a667eb32654716434e12c4c857af1c01f465 | |
parent | 1b32a5ff98fbb271d2235ddcfe3b58f514f8260a (diff) |
arm64: dts: hikey: Add the SYS_5V and the VDD_3V3 regulators
Add these regulators to better describe the HW, but also because those is
needed in following changes.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r-- | arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts index 0f6cba77fc76..802f4a4bed30 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts +++ b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | |||
@@ -81,7 +81,26 @@ | |||
81 | }; | 81 | }; |
82 | }; | 82 | }; |
83 | 83 | ||
84 | reg_5v_hub: regulator@0 { | 84 | reg_sys_5v: regulator@0 { |
85 | compatible = "regulator-fixed"; | ||
86 | regulator-name = "SYS_5V"; | ||
87 | regulator-min-microvolt = <5000000>; | ||
88 | regulator-max-microvolt = <5000000>; | ||
89 | regulator-boot-on; | ||
90 | regulator-always-on; | ||
91 | }; | ||
92 | |||
93 | reg_vdd_3v3: regulator@1 { | ||
94 | compatible = "regulator-fixed"; | ||
95 | regulator-name = "VDD_3V3"; | ||
96 | regulator-min-microvolt = <3300000>; | ||
97 | regulator-max-microvolt = <3300000>; | ||
98 | regulator-boot-on; | ||
99 | regulator-always-on; | ||
100 | vin-supply = <®_sys_5v>; | ||
101 | }; | ||
102 | |||
103 | reg_5v_hub: regulator@2 { | ||
85 | compatible = "regulator-fixed"; | 104 | compatible = "regulator-fixed"; |
86 | regulator-name = "5V_HUB"; | 105 | regulator-name = "5V_HUB"; |
87 | regulator-min-microvolt = <5000000>; | 106 | regulator-min-microvolt = <5000000>; |
@@ -89,6 +108,7 @@ | |||
89 | regulator-boot-on; | 108 | regulator-boot-on; |
90 | gpio = <&gpio0 7 0>; | 109 | gpio = <&gpio0 7 0>; |
91 | regulator-always-on; | 110 | regulator-always-on; |
111 | vin-supply = <®_sys_5v>; | ||
92 | }; | 112 | }; |
93 | 113 | ||
94 | soc { | 114 | soc { |