Skip to content

Commit efc8776

Browse files
anupbrcmffainelli
authored andcommitted
arm64: dts: Add SDHCI DT node for NS2
The IPROC SDHCI driver works fine for SDIO 3.0 on NS2 so let's enable it for NS2 SoC in NS2 DT. Signed-off-by: Anup Patel <anup.patel@broadcom.com> Reviewed-by: Vikram Prakash <vikramp@broadcom.com> Reviewed-by: Ray Jui <rjui@broadcom.com> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
1 parent 92e963f commit efc8776

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

arch/arm64/boot/dts/broadcom/ns2-svk.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@
6464
status = "ok";
6565
};
6666

67+
&sdio0 {
68+
status = "ok";
69+
};
70+
6771
&nand {
6872
nandcs@0 {
6973
compatible = "brcm,nandcs";

arch/arm64/boot/dts/broadcom/ns2.dtsi

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,24 @@
291291
reg = <0x66220000 0x28>;
292292
};
293293

294+
sdio0: sdhci@66420000 {
295+
compatible = "brcm,sdhci-iproc-cygnus";
296+
reg = <0x66420000 0x100>;
297+
interrupts = <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>;
298+
bus-width = <8>;
299+
clocks = <&genpll_sw BCM_NS2_GENPLL_SW_SDIO_CLK>;
300+
status = "disabled";
301+
};
302+
303+
sdio1: sdhci@66430000 {
304+
compatible = "brcm,sdhci-iproc-cygnus";
305+
reg = <0x66430000 0x100>;
306+
interrupts = <GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>;
307+
bus-width = <8>;
308+
clocks = <&genpll_sw BCM_NS2_GENPLL_SW_SDIO_CLK>;
309+
status = "disabled";
310+
};
311+
294312
nand: nand@66460000 {
295313
compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1";
296314
reg = <0x66460000 0x600>,

0 commit comments

Comments
 (0)