From: Eddie James <eajames@linux.ibm.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 4/4] ARM: dts: ast2500: Add SDHCI nodes
Date: Tue, 13 Aug 2019 14:31:41 -0500 [thread overview]
Message-ID: <1565724701-17344-5-git-send-email-eajames@linux.ibm.com> (raw)
In-Reply-To: <1565724701-17344-1-git-send-email-eajames@linux.ibm.com>
Add nodes for the Aspeed SD controllers with their necessary properties.
Signed-off-by: Eddie James <eajames@linux.ibm.com>
---
arch/arm/dts/ast2500-evb.dts | 14 ++++++++++++++
arch/arm/dts/ast2500-u-boot.dtsi | 16 ++++++++++++++++
2 files changed, 30 insertions(+)
diff --git a/arch/arm/dts/ast2500-evb.dts b/arch/arm/dts/ast2500-evb.dts
index ebf44fd..4796ed4 100644
--- a/arch/arm/dts/ast2500-evb.dts
+++ b/arch/arm/dts/ast2500-evb.dts
@@ -59,3 +59,17 @@
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_mac2link_default &pinctrl_mdio2_default>;
};
+
+&sdhci0 {
+ status = "okay";
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_sd1_default>;
+};
+
+&sdhci1 {
+ status = "okay";
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_sd2_default>;
+};
diff --git a/arch/arm/dts/ast2500-u-boot.dtsi b/arch/arm/dts/ast2500-u-boot.dtsi
index 7f80bad..8ac4215 100644
--- a/arch/arm/dts/ast2500-u-boot.dtsi
+++ b/arch/arm/dts/ast2500-u-boot.dtsi
@@ -34,6 +34,22 @@
apb {
u-boot,dm-pre-reloc;
+
+ sdhci0: sdhci at 1e740100 {
+ compatible = "aspeed,ast2500-sdhci";
+ reg = <0x1e740100>;
+ #reset-cells = <1>;
+ clocks = <&scu BCLK_SDCLK>;
+ resets = <&rst AST_RESET_SDIO>;
+ };
+
+ sdhci1: sdhci at 1e740200 {
+ compatible = "aspeed,ast2500-sdhci";
+ reg = <0x1e740200>;
+ #reset-cells = <1>;
+ clocks = <&scu BCLK_SDCLK>;
+ resets = <&rst AST_RESET_SDIO>;
+ };
};
};
--
1.8.3.1
next prev parent reply other threads:[~2019-08-13 19:31 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-13 19:31 [U-Boot] [PATCH v2 0/4] ARM: aspeed: Add SD host controller driver Eddie James
2019-08-13 19:31 ` [U-Boot] [PATCH v2 1/4] clk: aspeed: Add support for SD clock Eddie James
2019-08-14 15:03 ` Cédric Le Goater
2019-08-13 19:31 ` [U-Boot] [PATCH v2 2/4] mmc: Add Aspeed SD controller driver Eddie James
2019-08-14 15:18 ` Cédric Le Goater
2019-08-15 19:27 ` Eddie James
2019-08-13 19:31 ` [U-Boot] [PATCH v2 3/4] aspeed: Support SD controller on the ast2500 board Eddie James
2019-08-14 15:23 ` Cédric Le Goater
2019-08-15 19:28 ` Eddie James
2019-08-13 19:31 ` Eddie James [this message]
2019-08-14 15:25 ` [U-Boot] [PATCH v2 4/4] ARM: dts: ast2500: Add SDHCI nodes Cédric Le Goater
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=1565724701-17344-5-git-send-email-eajames@linux.ibm.com \
--to=eajames@linux.ibm.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.