summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/kirkwood-dnskw.dtsi
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2012-11-17 15:46:11 +0100
committerJason Cooper <jason@lakedaemon.net>2012-11-24 02:56:58 +0000
commit5c2734a30c0838c9ba9b6b95fb18533cea3c1a5a (patch)
tree29524f082db3ad25a1764994dba907120c1f850a /arch/arm/boot/dts/kirkwood-dnskw.dtsi
parentc7064a05bdbf9d542b3aa9d4439d30c624967b66 (diff)
downloadtalos-op-linux-5c2734a30c0838c9ba9b6b95fb18533cea3c1a5a.tar.gz
talos-op-linux-5c2734a30c0838c9ba9b6b95fb18533cea3c1a5a.zip
ARM: Kirkwood: Convert DNSKW to use regulators
Control the power to SATA0 and SATA1 using a fixed regulator. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Tested-by: Jamie Lentin <jm@lentin.co.uk> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot/dts/kirkwood-dnskw.dtsi')
-rw-r--r--arch/arm/boot/dts/kirkwood-dnskw.dtsi29
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/kirkwood-dnskw.dtsi b/arch/arm/boot/dts/kirkwood-dnskw.dtsi
index 28263a1171ab..d11054f538de 100644
--- a/arch/arm/boot/dts/kirkwood-dnskw.dtsi
+++ b/arch/arm/boot/dts/kirkwood-dnskw.dtsi
@@ -82,4 +82,33 @@
};
};
};
+
+ regulators {
+ compatible = "simple-bus";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ sata0_power: regulator@1 {
+ compatible = "regulator-fixed";
+ reg = <1>;
+ regulator-name = "SATA0 Power";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ enable-active-high;
+ regulator-always-on;
+ regulator-boot-on;
+ gpio = <&gpio1 7 0>;
+ };
+ sata1_power: regulator@2 {
+ compatible = "regulator-fixed";
+ reg = <2>;
+ regulator-name = "SATA1 Power";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ enable-active-high;
+ regulator-always-on;
+ regulator-boot-on;
+ gpio = <&gpio1 8 0>;
+ };
+ };
};
OpenPOWER on IntegriCloud