Skip to contentSkip to conversation

nds32: dts: Support ftsdc010 DM.

PATCH New Andes 2 participants 2 messages May 31, 2017 – Jun 1, 2017

lore
Share & tools
lore

Andes

author
#0 lore raw

PATCH 2/3 nds32: dts: Support ftsdc010 DM.

From: rick <[email protected]>

Support Andestech ftsdc010 SD/MMC device tree flow on AG101P/AE3XX platforms.

---
 arch/nds32/dts/ae3xx.dts  |    8 ++++++++
 arch/nds32/dts/ag101p.dts |    8 ++++++++
 2 files changed, 16 insertions(+)
arch/nds32/dts/ae3xx.dts +8 -0
index 4221e4b..781eabc 100644
@@ -62,6 +62,14 @@
 		interrupts = <25 4>;
 	};
 
+	mmc0: mmc at f0e00000 {
+		compatible = "andestech,atsdc010";
+		clock-freq-min-max = <400000 100000000>;
+		fifo-depth = <0x10>;
+		reg = <0xf0e00000 0x1000>;
+		interrupts = <17 4>;
+	};
+
 	nor at 0,0 {
 		compatible = "cfi-flash";
 		reg = <0x88000000 0x1000>;
arch/nds32/dts/ag101p.dts +8 -0
index 99cde2f..dd2bf8f 100644
@@ -60,4 +60,12 @@
 		reg = <0x90900000 0x1000>;
 		interrupts = <25 4>;
 	};
+
+	mmc0: mmc at 98e00000 {
+		compatible = "andestech,atsdc010";
+		clock-freq-min-max = <400000 30000000>;
+		fifo-depth = <0x10>;
+		reg = <0x98e00000 0x1000>;
+		interrupts = <5 4>;
+	};
 };
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 2/3 nds32: dts: Support ftsdc010 DM.

Quoted 6 lines · Andes

From: rick <[email protected]>

Support Andestech ftsdc010 SD/MMC device tree flow on AG101P/AE3XX platforms.

Quoted 42 lines
---
 arch/nds32/dts/ae3xx.dts  |    8 ++++++++
 arch/nds32/dts/ag101p.dts |    8 ++++++++
 2 files changed, 16 insertions(+)
arch/nds32/dts/ae3xx.dts +8 -0
index 4221e4b..781eabc 100644
@@ -62,6 +62,14 @@
 		interrupts = <25 4>;
 	};
 
+	mmc0: mmc at f0e00000 {
+		compatible = "andestech,atsdc010";
+		clock-freq-min-max = <400000 100000000>;
+		fifo-depth = <0x10>;
+		reg = <0xf0e00000 0x1000>;
+		interrupts = <17 4>;
+	};
+
 	nor at 0,0 {
 		compatible = "cfi-flash";
 		reg = <0x88000000 0x1000>;
arch/nds32/dts/ag101p.dts +8 -0
index 99cde2f..dd2bf8f 100644
@@ -60,4 +60,12 @@
 		reg = <0x90900000 0x1000>;
 		interrupts = <25 4>;
 	};
+
+	mmc0: mmc at 98e00000 {
+		compatible = "andestech,atsdc010";
+		clock-freq-min-max = <400000 30000000>;
+		fifo-depth = <0x10>;
+		reg = <0x98e00000 0x1000>;
+		interrupts = <5 4>;
+	};
 };