summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2014-03-01 20:26:22 +0100
committerMaxime Ripard <maxime.ripard@free-electrons.com>2014-03-04 17:42:53 +0100
commit902febf9ea856dc9a9376bcdc70dfaa9b3ad5a74 (patch)
tree1db3573f3f316582de85bd70faa8fc1ad2622d69 /arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
parent248bd1e228eb9cc7ff9577d45b5d1b6d52c43cd9 (diff)
downloadtalos-obmc-linux-902febf9ea856dc9a9376bcdc70dfaa9b3ad5a74.tar.gz
talos-obmc-linux-902febf9ea856dc9a9376bcdc70dfaa9b3ad5a74.zip
ARM: sun7i: dt: Add ahci / sata support
This patch adds sunxi sata support to A20 boards that have such a connector. Some boards also feature a regulator via a GPIO and support for this is also added. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts')
-rw-r--r--arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
index 9d98316c9928..c9b0f370b03d 100644
--- a/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
+++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
@@ -13,6 +13,7 @@
/dts-v1/;
/include/ "sun7i-a20.dtsi"
+/include/ "sunxi-common-regulators.dtsi"
/ {
model = "Olimex A20-Olinuxino Micro";
@@ -36,6 +37,11 @@
status = "okay";
};
+ ahci: sata@01c18000 {
+ target-supply = <&reg_ahci_5v>;
+ status = "okay";
+ };
+
pinctrl@01c20800 {
led_pins_olinuxino: led_pins@0 {
allwinner,pins = "PH2";
@@ -105,4 +111,8 @@
default-state = "on";
};
};
+
+ reg_ahci_5v: ahci-5v {
+ status = "okay";
+ };
};
OpenPOWER on IntegriCloud