From: Eddie James <eajames@linux.ibm.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 4/4] ARM: dts: ast2500: Add SDHCI nodes
Date: Thu, 15 Aug 2019 14:29:40 -0500 [thread overview]
Message-ID: <1565897380-25807-5-git-send-email-eajames@linux.ibm.com> (raw)
In-Reply-To: <1565897380-25807-1-git-send-email-eajames@linux.ibm.com>
Add nodes for the Aspeed SD controllers with their necessary properties.
Reviewed-by: Cédric Le Goater <clg@kaod.org>
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
prev parent reply other threads:[~2019-08-15 19:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-15 19:29 [U-Boot] [PATCH v3 0/4] ARM: Aspeed: Add SD host controller driver Eddie James
2019-08-15 19:29 ` [U-Boot] [PATCH v3 1/4] clk: aspeed: Add support for SD clock Eddie James
2019-08-15 19:29 ` [U-Boot] [PATCH v3 2/4] mmc: Add Aspeed SD controller driver Eddie James
2019-08-16 6:55 ` Cédric Le Goater
2019-08-27 7:34 ` Peng Fan
2019-08-27 14:49 ` Eddie James
2019-08-15 19:29 ` [U-Boot] [PATCH v3 3/4] configs: AST2500 EVB: Enable SD controller Eddie James
2019-08-16 6:59 ` Cédric Le Goater
2019-08-28 13:35 ` Peng Fan
2019-08-15 19:29 ` Eddie James [this message]
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=1565897380-25807-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox