public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Andes <uboot@andestech.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/3] nds32: dts: Support ftsdc010 DM.
Date: Wed, 31 May 2017 09:37:15 +0800	[thread overview]
Message-ID: <1496194635-29193-1-git-send-email-uboot@andestech.com> (raw)

From: rick <rick@andestech.com>

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

Signed-off-by: rick <rick@andestech.com>
---
 arch/nds32/dts/ae3xx.dts  |    8 ++++++++
 arch/nds32/dts/ag101p.dts |    8 ++++++++
 2 files changed, 16 insertions(+)

diff --git a/arch/nds32/dts/ae3xx.dts b/arch/nds32/dts/ae3xx.dts
index 4221e4b..781eabc 100644
--- a/arch/nds32/dts/ae3xx.dts
+++ b/arch/nds32/dts/ae3xx.dts
@@ -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>;
diff --git a/arch/nds32/dts/ag101p.dts b/arch/nds32/dts/ag101p.dts
index 99cde2f..dd2bf8f 100644
--- a/arch/nds32/dts/ag101p.dts
+++ b/arch/nds32/dts/ag101p.dts
@@ -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>;
+	};
 };
-- 
1.7.9.5

             reply	other threads:[~2017-05-31  1:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20170531015942epcas1p48b744eddb1285fb7c0129e5ae46e8f40@epcas1p4.samsung.com>
2017-05-31  1:37 ` Andes [this message]
2017-06-01  3:53   ` [U-Boot] [PATCH 2/3] nds32: dts: Support ftsdc010 DM Jaehoon Chung

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1496194635-29193-1-git-send-email-uboot@andestech.com \
    --to=uboot@andestech.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox