From: Pramod Kumar <pramod.ku...@broadcom.com>

Add emmc dt nodes for ns3.

Signed-off-by: Pramod Kumar <pramod.ku...@broadcom.com>
Signed-off-by: Rayagonda Kokatanur <rayagonda.kokata...@broadcom.com>
---
 arch/arm/dts/ns3-board.dts |  4 ++++
 arch/arm/dts/ns3.dtsi      | 18 ++++++++++++++++++
 2 files changed, 22 insertions(+)

diff --git a/arch/arm/dts/ns3-board.dts b/arch/arm/dts/ns3-board.dts
index 92699910cb..afce01de8a 100644
--- a/arch/arm/dts/ns3-board.dts
+++ b/arch/arm/dts/ns3-board.dts
@@ -23,3 +23,7 @@
 &uart1 {
        status = "okay";
 };
+
+&sdio0 {
+       status = "okay";
+};
diff --git a/arch/arm/dts/ns3.dtsi b/arch/arm/dts/ns3.dtsi
index 84464add9a..7f94b922fc 100644
--- a/arch/arm/dts/ns3.dtsi
+++ b/arch/arm/dts/ns3.dtsi
@@ -33,6 +33,24 @@
                        status = "disabled";
                };
 
+               sdio0: sdhci@3f1000 {
+                       compatible = "brcm,iproc-sdhci";
+                       reg = <0x003f1000 0x100>;
+                       bus-width = <8>;
+                       clock-freq-min-max = <400000 200000000>;
+                       index = <0>;
+                       status = "disabled";
+               };
+
+               sdio1: sdhci@3f2000 {
+                       compatible = "brcm,iproc-sdhci";
+                       reg = <0x003f2000 0x100>;
+                       bus-width = <8>;
+                       clock-freq-min-max = <400000 200000000>;
+                       index = <1>;
+                       status = "disabled";
+               };
+
                gpio_hsls: gpio@d0000 {
                        compatible = "brcm,iproc-gpio";
                        reg = <0x000d0000 0x864>;
-- 
2.17.1

Reply via email to