diff options
author | Andrew Lunn <andrew@lunn.ch> | 2012-12-28 09:08:48 -0500 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2013-02-28 12:57:12 -0500 |
commit | 12131b5424577b2eb1bef5a41220d310594e42dc (patch) | |
tree | 02c927bfb0496b27ecded8dbe04c64d6438252a1 /arch/arm/boot/dts | |
parent | 41e364bb2494afe21803aff43bd8cb89ce6fc097 (diff) |
ARM: Kirkwood: Convert NSA310 to DT based regulators.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r-- | arch/arm/boot/dts/kirkwood-nsa310.dts | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/kirkwood-nsa310.dts b/arch/arm/boot/dts/kirkwood-nsa310.dts index 5509f9659546..2dc1d0929e89 100644 --- a/arch/arm/boot/dts/kirkwood-nsa310.dts +++ b/arch/arm/boot/dts/kirkwood-nsa310.dts | |||
@@ -141,4 +141,21 @@ | |||
141 | gpios = <&gpio1 8 0>; | 141 | gpios = <&gpio1 8 0>; |
142 | }; | 142 | }; |
143 | }; | 143 | }; |
144 | |||
145 | regulators { | ||
146 | compatible = "simple-bus"; | ||
147 | #address-cells = <1>; | ||
148 | #size-cells = <0>; | ||
149 | |||
150 | usb0_power_off: regulator@1 { | ||
151 | compatible = "regulator-fixed"; | ||
152 | reg = <1>; | ||
153 | regulator-name = "USB Power Off"; | ||
154 | regulator-min-microvolt = <5000000>; | ||
155 | regulator-max-microvolt = <5000000>; | ||
156 | regulator-always-on; | ||
157 | regulator-boot-on; | ||
158 | gpio = <&gpio0 21 0>; | ||
159 | }; | ||
160 | }; | ||
144 | }; | 161 | }; |