summaryrefslogtreecommitdiff
path: root/arch/arm/dts/rk3036.dtsi
diff options
context:
space:
mode:
authorEddie Cai <eddie.cai.linux@gmail.com>2017-02-20 14:03:01 +0800
committerSimon Glass <sjg@chromium.org>2017-03-16 16:03:46 -0600
commit9b21b4547f836c907f35734625e3317cc6c18201 (patch)
tree6aeeebb7f830af4206dca18284e62761be5b2c2a /arch/arm/dts/rk3036.dtsi
parent5f9411af37b635d04b74b40adec402ba8f715f91 (diff)
downloadu-boot-9b21b4547f836c907f35734625e3317cc6c18201.tar.gz
u-boot-9b21b4547f836c907f35734625e3317cc6c18201.tar.bz2
u-boot-9b21b4547f836c907f35734625e3317cc6c18201.zip
dts: rk3036: add sdmmc for rk3036
rk3036 support sdmmc, add dts node to support it. Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/dts/rk3036.dtsi')
-rw-r--r--arch/arm/dts/rk3036.dtsi13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/dts/rk3036.dtsi b/arch/arm/dts/rk3036.dtsi
index ecf5416318..4f4421768d 100644
--- a/arch/arm/dts/rk3036.dtsi
+++ b/arch/arm/dts/rk3036.dtsi
@@ -23,6 +23,7 @@
serial1 = &uart1;
serial2 = &uart2;
mmc0 = &emmc;
+ mmc1 = &sdmmc;
};
memory {
@@ -265,6 +266,18 @@
pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
};
+ sdmmc: dwmmc@10214000 {
+ compatible = "rockchip,rk3036-dw-mshc", "rockchip,rk3288-dw-mshc";
+ reg = <0x10214000 0x4000>;
+ clock-frequency = <37500000>;
+ max-frequency = <37500000>;
+ clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>;
+ clock-names = "biu", "ciu";
+ fifo-depth = <0x100>;
+ interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
+ status = "disabled";
+ };
+
pinctrl: pinctrl {
compatible = "rockchip,rk3036-pinctrl";
rockchip,grf = <&grf>;