summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun8i-r40.dtsi
diff options
context:
space:
mode:
authorCorentin Labbe <clabbe.montjoie@gmail.com>2018-09-03 12:02:00 +0200
committerMaxime Ripard <maxime.ripard@bootlin.com>2018-09-05 09:24:55 +0200
commit41c64d3318aa3fbd3be5f6c35b50a87f050fca0b (patch)
tree72c1400c3502f42c8c4d9ed06b6a6230f5c1f2aa /arch/arm/boot/dts/sun8i-r40.dtsi
parentARM: dts: sunxi: Don't use cd-inverted in sun8i-r40-bananapi-m2-ultra (diff)
downloadlinux-41c64d3318aa3fbd3be5f6c35b50a87f050fca0b.tar.xz
linux-41c64d3318aa3fbd3be5f6c35b50a87f050fca0b.zip
ARM: dts: sun8i: r40: add sata node
R40 have a sata controller which is the same as A20. This patch adds a DT node for it. Signed-off-by: Icenowy Zheng <icenowy@aosc.io> Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Diffstat (limited to 'arch/arm/boot/dts/sun8i-r40.dtsi')
-rw-r--r--arch/arm/boot/dts/sun8i-r40.dtsi13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun8i-r40.dtsi b/arch/arm/boot/dts/sun8i-r40.dtsi
index ffd9f00f74a4..45ceb943a111 100644
--- a/arch/arm/boot/dts/sun8i-r40.dtsi
+++ b/arch/arm/boot/dts/sun8i-r40.dtsi
@@ -529,6 +529,19 @@
#size-cells = <0>;
};
+ ahci: sata@1c18000 {
+ compatible = "allwinner,sun8i-r40-ahci";
+ reg = <0x01c18000 0x1000>;
+ interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&ccu CLK_BUS_SATA>, <&ccu CLK_SATA>;
+ resets = <&ccu RST_BUS_SATA>;
+ resets-name = "ahci";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "disabled";
+
+ };
+
gmac: ethernet@1c50000 {
compatible = "allwinner,sun8i-r40-gmac";
syscon = <&ccu>;