aboutsummaryrefslogtreecommitdiffstats
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 14:26:22 -0500
committerMaxime Ripard <maxime.ripard@free-electrons.com>2014-03-04 11:42:53 -0500
commit902febf9ea856dc9a9376bcdc70dfaa9b3ad5a74 (patch)
tree1db3573f3f316582de85bd70faa8fc1ad2622d69 /arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
parent248bd1e228eb9cc7ff9577d45b5d1b6d52c43cd9 (diff)
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 @@
13 13
14/dts-v1/; 14/dts-v1/;
15/include/ "sun7i-a20.dtsi" 15/include/ "sun7i-a20.dtsi"
16/include/ "sunxi-common-regulators.dtsi"
16 17
17/ { 18/ {
18 model = "Olimex A20-Olinuxino Micro"; 19 model = "Olimex A20-Olinuxino Micro";
@@ -36,6 +37,11 @@
36 status = "okay"; 37 status = "okay";
37 }; 38 };
38 39
40 ahci: sata@01c18000 {
41 target-supply = <&reg_ahci_5v>;
42 status = "okay";
43 };
44
39 pinctrl@01c20800 { 45 pinctrl@01c20800 {
40 led_pins_olinuxino: led_pins@0 { 46 led_pins_olinuxino: led_pins@0 {
41 allwinner,pins = "PH2"; 47 allwinner,pins = "PH2";
@@ -105,4 +111,8 @@
105 default-state = "on"; 111 default-state = "on";
106 }; 112 };
107 }; 113 };
114
115 reg_ahci_5v: ahci-5v {
116 status = "okay";
117 };
108}; 118};