Skip to contentSkip to conversation

Documentation: rockchip-dw-mshc: add description for rk3328

PATCH RESEND New Shawn Lin 3 participants 4 messages May 24, 2017 – May 29, 2017

Subsystems (3)
lore
Share & tools
lore

Shawn Lin

author
#0 lore raw

PATCH RESEND 1/2 Documentation: rockchip-dw-mshc: add description for rk3328

Add "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc" for dwmmc on rk3328 platform.

---

 Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.txt +1 -0
index 520d61d..18e33cb 100644
@@ -15,6 +15,7 @@ Required Properties:
 	- "rockchip,rk3288-dw-mshc": for Rockchip RK3288
 	- "rockchip,rv1108-dw-mshc", "rockchip,rk3288-dw-mshc": for Rockchip RV1108
 	- "rockchip,rk3036-dw-mshc", "rockchip,rk3288-dw-mshc": for Rockchip RK3036
+	- "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc": for Rockchip RK3328
 	- "rockchip,rk3368-dw-mshc", "rockchip,rk3288-dw-mshc": for Rockchip RK3368
 	- "rockchip,rk3399-dw-mshc", "rockchip,rk3288-dw-mshc": for Rockchip RK3399
 
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH RESEND 2/2 arm64: dts: rockchip: add sdmmc/sdio/emmc nodes for RK3328 SoCs

This patch adds sdmmc, sdio, emmc nodes for Rockchip RK3328 SoCs.

---

 arch/arm64/boot/dts/rockchip/rk3328.dtsi | 33 ++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
arch/arm64/boot/dts/rockchip/rk3328.dtsi +33 -0
index 7e69f1f..3210692 100644
@@ -372,6 +372,39 @@
 			<32768>;
 	};
 
+	sdmmc: dwmmc at ff500000 {
+		compatible = "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc";
+		reg = <0x0 0xff500000 0x0 0x4000>;
+		clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>,
+			 <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>;
+		clock-names = "biu", "ciu", "ciu_drv", "ciu_sample";
+		fifo-depth = <0x100>;
+		interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
+		status = "disabled";
+	};
+
+	sdio: dwmmc at ff510000 {
+		compatible = "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc";
+		reg = <0x0 0xff510000 0x0 0x4000>;
+		clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>,
+			 <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>;
+		clock-names = "biu", "ciu", "ciu_drv", "ciu_sample";
+		fifo-depth = <0x100>;
+		interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
+		status = "disabled";
+	};
+
+	emmc: dwmmc at ff520000 {
+		compatible = "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc";
+		reg = <0x0 0xff520000 0x0 0x4000>;
+		clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>,
+			 <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>;
+		clock-names = "biu", "ciu", "ciu_drv", "ciu_sample";
+		fifo-depth = <0x100>;
+		interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
+		status = "disabled";
+	};
+
 	gmac2io: ethernet at ff540000 {
 		compatible = "rockchip,rk3328-gmac";
 		reg = <0x0 0xff540000 0x0 0x10000>;
Signature · 1 line
1.9.1
maintainer
#2 lore raw

PATCH RESEND 2/2 arm64: dts: rockchip: add sdmmc/sdio/emmc nodes for RK3328 SoCs

Am Mittwoch, 24. Mai 2017, 08:34:49 CEST schrieb Shawn Lin:

Quoted 3 lines

This patch adds sdmmc, sdio, emmc nodes for Rockchip RK3328 SoCs.

applied for 4.13

Thanks
Heiko

Applied
#3 lore raw

PATCH RESEND 1/2 Documentation: rockchip-dw-mshc: add description for rk3328

In reply to Shawn Lin
Quoted 4 lines · Shawn Lin

Add "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc" for dwmmc on rk3328 platform.

Thanks, applied for next!

Patch2 is for Heiko/arm_soc.

Kind regards
Uffe

Quoted 21 lines

---

 Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.txt +1 -1
index 520d61d..18e33cb 100644
@@ -15,6 +15,7 @@ Required Properties:
        - "rockchip,rk3288-dw-mshc": for Rockchip RK3288
        - "rockchip,rv1108-dw-mshc", "rockchip,rk3288-dw-mshc": for Rockchip RV1108
        - "rockchip,rk3036-dw-mshc", "rockchip,rk3288-dw-mshc": for Rockchip RK3036
+       - "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc": for Rockchip RK3328
        - "rockchip,rk3368-dw-mshc", "rockchip,rk3288-dw-mshc": for Rockchip RK3368
        - "rockchip,rk3399-dw-mshc", "rockchip,rk3288-dw-mshc": for Rockchip RK3399
 
--

1.9.1