90 lines
2.6 KiB
Diff
90 lines
2.6 KiB
Diff
From d3aed1dfbd2e66ff2eca14897fa141a989a36fb0 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?David=20Lanzend=C3=B6rfer?= <david.lanzendoerfer@o2s.ch>
|
|
Date: Fri, 2 May 2014 17:57:21 +0200
|
|
Subject: [PATCH 04/12] ARM: dts: sun5i: Add mmc controller nodes
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Add nodes for the 3 mmc controllers found on A10s SoCs and for the 2 mmc
|
|
controllers found on A13 SoCs.
|
|
|
|
Signed-off-by: David Lanzendörfer <david.lanzendoerfer@o2s.ch>
|
|
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
|
|
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
|
|
---
|
|
arch/arm/boot/dts/sun5i-a10s.dtsi | 27 +++++++++++++++++++++++++++
|
|
arch/arm/boot/dts/sun5i-a13.dtsi | 18 ++++++++++++++++++
|
|
2 files changed, 45 insertions(+)
|
|
|
|
diff --git a/arch/arm/boot/dts/sun5i-a10s.dtsi b/arch/arm/boot/dts/sun5i-a10s.dtsi
|
|
index 9493b21..aa1dd59 100644
|
|
--- a/arch/arm/boot/dts/sun5i-a10s.dtsi
|
|
+++ b/arch/arm/boot/dts/sun5i-a10s.dtsi
|
|
@@ -338,6 +338,33 @@
|
|
#size-cells = <0>;
|
|
};
|
|
|
|
+ mmc0: mmc@01c0f000 {
|
|
+ compatible = "allwinner,sun5i-a13-mmc";
|
|
+ reg = <0x01c0f000 0x1000>;
|
|
+ clocks = <&ahb_gates 8>, <&mmc0_clk>;
|
|
+ clock-names = "ahb", "mmc";
|
|
+ interrupts = <32>;
|
|
+ status = "disabled";
|
|
+ };
|
|
+
|
|
+ mmc1: mmc@01c10000 {
|
|
+ compatible = "allwinner,sun5i-a13-mmc";
|
|
+ reg = <0x01c10000 0x1000>;
|
|
+ clocks = <&ahb_gates 9>, <&mmc1_clk>;
|
|
+ clock-names = "ahb", "mmc";
|
|
+ interrupts = <33>;
|
|
+ status = "disabled";
|
|
+ };
|
|
+
|
|
+ mmc2: mmc@01c11000 {
|
|
+ compatible = "allwinner,sun5i-a13-mmc";
|
|
+ reg = <0x01c11000 0x1000>;
|
|
+ clocks = <&ahb_gates 10>, <&mmc2_clk>;
|
|
+ clock-names = "ahb", "mmc";
|
|
+ interrupts = <34>;
|
|
+ status = "disabled";
|
|
+ };
|
|
+
|
|
usbphy: phy@01c13400 {
|
|
#phy-cells = <1>;
|
|
compatible = "allwinner,sun5i-a13-usb-phy";
|
|
diff --git a/arch/arm/boot/dts/sun5i-a13.dtsi b/arch/arm/boot/dts/sun5i-a13.dtsi
|
|
index dda9df6..c9fdb7b 100644
|
|
--- a/arch/arm/boot/dts/sun5i-a13.dtsi
|
|
+++ b/arch/arm/boot/dts/sun5i-a13.dtsi
|
|
@@ -320,6 +320,24 @@
|
|
#size-cells = <0>;
|
|
};
|
|
|
|
+ mmc0: mmc@01c0f000 {
|
|
+ compatible = "allwinner,sun5i-a13-mmc";
|
|
+ reg = <0x01c0f000 0x1000>;
|
|
+ clocks = <&ahb_gates 8>, <&mmc0_clk>;
|
|
+ clock-names = "ahb", "mmc";
|
|
+ interrupts = <32>;
|
|
+ status = "disabled";
|
|
+ };
|
|
+
|
|
+ mmc2: mmc@01c11000 {
|
|
+ compatible = "allwinner,sun5i-a13-mmc";
|
|
+ reg = <0x01c11000 0x1000>;
|
|
+ clocks = <&ahb_gates 10>, <&mmc2_clk>;
|
|
+ clock-names = "ahb", "mmc";
|
|
+ interrupts = <34>;
|
|
+ status = "disabled";
|
|
+ };
|
|
+
|
|
usbphy: phy@01c13400 {
|
|
#phy-cells = <1>;
|
|
compatible = "allwinner,sun5i-a13-usb-phy";
|
|
--
|
|
1.9.0
|
|
|