diff options
author | Hans de Goede <hdegoede@redhat.com> | 2014-03-01 20:26:22 +0100 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2014-03-04 17:42:53 +0100 |
commit | 902febf9ea856dc9a9376bcdc70dfaa9b3ad5a74 (patch) | |
tree | 1db3573f3f316582de85bd70faa8fc1ad2622d69 /arch/arm/boot/dts/sun7i-a20-cubieboard2.dts | |
parent | 248bd1e228eb9cc7ff9577d45b5d1b6d52c43cd9 (diff) | |
download | op-kernel-dev-902febf9ea856dc9a9376bcdc70dfaa9b3ad5a74.zip op-kernel-dev-902febf9ea856dc9a9376bcdc70dfaa9b3ad5a74.tar.gz |
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-cubieboard2.dts')
-rw-r--r-- | arch/arm/boot/dts/sun7i-a20-cubieboard2.dts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts b/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts index 7bf4935..4bed115 100644 --- a/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts +++ b/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts @@ -13,12 +13,18 @@ /dts-v1/; /include/ "sun7i-a20.dtsi" +/include/ "sunxi-common-regulators.dtsi" / { model = "Cubietech Cubieboard2"; compatible = "cubietech,cubieboard2", "allwinner,sun7i-a20"; soc@01c00000 { + ahci: sata@01c18000 { + target-supply = <®_ahci_5v>; + status = "okay"; + }; + pinctrl@01c20800 { led_pins_cubieboard2: led_pins@0 { allwinner,pins = "PH20", "PH21"; @@ -74,4 +80,8 @@ gpios = <&pio 7 20 0>; }; }; + + reg_ahci_5v: ahci-5v { + status = "okay"; + }; }; |