arm64: dts: hi3798cv200: add SD card support
Subsystems (2)
PATCH 1/1 arm64: dts: hi3798cv200: add SD card support
From: Shawn Guo <[email protected]>
It adds device mmc at 9820000 which is used as SD card on poplar board.
Signed-off-by Shawn Guo <[email protected]>
--- arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dts | 6 ++++++ arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi | 12 ++++++++++++ 2 files changed, 18 insertions(+)
arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dts +6 -0
@@ -146,6 +146,12 @@ status = "okay"; }; +&sd0 { + bus-width = <4>; + cap-sd-highspeed; + status = "okay"; +}; + &spi0 { status = "okay"; label = "LS-SPI0";
arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi +12 -0
@@ -192,6 +192,18 @@ status = "disabled"; }; + sd0: mmc at 9820000 { + compatible = "snps,dw-mshc"; + reg = <0x9820000 0x10000>; + interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&crg HISTB_SDIO0_CIU_CLK>, + <&crg HISTB_SDIO0_BIU_CLK>; + clock-names = "ciu", "biu"; + resets = <&crg 0x9c 4>; + reset-names = "reset"; + status = "disabled"; + }; + emmc: mmc at 9830000 { compatible = "snps,dw-mshc"; reg = <0x9830000 0x10000>;
Signature · 1 line
1.9.1
PATCH 1/1 arm64: dts: hi3798cv200: add SD card support
Hi Shawn,
Quoted 5 lines · Shawn Guo
From: Shawn Guo <[email protected]>
It adds device mmc at 9820000 which is used as SD card on poplar board.
Signed-off-by Shawn Guo <[email protected]>
Applied into hisilicon dt tree.
Thanks!
Best Regards,
Wei
Quoted 46 lines
--- arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dts | 6 ++++++ arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi | 12 ++++++++++++ 2 files changed, 18 insertions(+)arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dts +6
-0@@ -146,6 +146,12 @@ status = "okay"; }; +&sd0 { + bus-width = <4>; + cap-sd-highspeed; + status = "okay"; +}; + &spi0 { status = "okay"; label = "LS-SPI0";arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi +12
-0@@ -192,6 +192,18 @@ status = "disabled"; }; + sd0: mmc at 9820000 { + compatible = "snps,dw-mshc"; + reg = <0x9820000 0x10000>; + interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&crg HISTB_SDIO0_CIU_CLK>, + <&crg HISTB_SDIO0_BIU_CLK>; + clock-names = "ciu", "biu"; + resets = <&crg 0x9c 4>; + reset-names = "reset"; + status = "disabled"; + }; + emmc: mmc at 9830000 { compatible = "snps,dw-mshc"; reg = <0x9830000 0x10000>;