From b4233bd82abd4188952b011068735beaa20d3c4f Mon Sep 17 00:00:00 2001 From: lintao Date: Thu, 6 Mar 2014 08:30:51 +0800 Subject: [PATCH] dts: add mshc@rk3288.dtsi --- arch/arm/boot/dts/rk3288.dtsi | 81 +++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index 8a4bc2843b04..371865ff545a 100755 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b/arch/arm/boot/dts/rk3288.dtsi @@ -246,4 +246,85 @@ reg = <3>; }; }; + + mmc: mshc@ff0c0000 { + compatible = "rockchip,rk_mmc"; + reg = <0xff0c0000 0x4000>; + interrupts = ; /*irq=64*/ + #address-cells = <1>; + #size-cells = <0>; + //pinctrl-names = "default","suspend"; + //pinctrl-0 = <&sdmmc0_clk &sdmmc0_cmd &sdmmc0_cd &sdmmc0_wp &sdmmc0_pwr &sdmmc0_bus1 &sdmmc0_bus4>; + //pinctrl-1 = <&sd0_cd_gpio>; //for int gpio? + //clocks = <&clk_gatesX XX> , <&clk_gatesY YY>; + //clock-names = "hclk_mmc","mmc"; + clock-frequency = <50000000>; + clock-freq-min-max = <400000 50000000>; + num-slots = <1>; + supports-highspeed; + broken-cd; + card-detect-delay = <200>; + pwr-gpios = <&gpio3 GPIO_A1 GPIO_ACTIVE_LOW>; /*pwr_en = GPIO3_A1*/ + fifo-depth = <0x100>; + emmc-compatible = <0>; + status = "okay"; + }; + + sdio0: mshc@ff0d0000 { + compatible = "rockchip,rk_mmc"; + reg = ; + interrupts = ; /*irq=65*/ + #address-cells = <1>; + #size-cells = <0>; + //pinctrl-names = "default"; + //pinctrl-0 = <&sd1_clk &sd1_cmd &sd1_cd &sd1_wp &sd1_bus1 &sd1_bus4>; + //clocks = <&clk_gatesX XX> , <&clk_gatesY YY>; + //clock-names = "hclk_sdio0","sdio0"; + clock-frequency = <50000000>; + clock-freq-min-max = <400000 50000000>; + num-slots = <1>; + supports-highspeed; + fifo-depth = <0x100>; + emmc-compatible = <0>; + status = "disabled"; + }; + + sdio1: mshc@ff0e0000 { + compatible = "rockchip,rk_mmc"; + reg = ; + interrupts = ; /*irq=66*/ + #address-cells = <1>; + #size-cells = <0>; + //pinctrl-names = "default"; + //pinctrl-0 = <&sd1_clk &sd1_cmd &sd1_cd &sd1_wp &sd1_bus1 &sd1_bus4>; + //clocks = <&clk_gatesX XX> , <&clk_gatesY YY>; + //clock-names = "hclk_sdio1","sdio1"; + clock-frequency = <50000000>; + clock-freq-min-max = <400000 50000000>; + num-slots = <1>; + supports-highspeed; + fifo-depth = <0x100>; + emmc-compatible = <0>; + status = "disabled"; + }; + + emmc: mshc@ff0f0000 { + compatible = "rockchip,rk_mmc"; + reg = ; + interrupts = ; /*irq=67*/ + #address-cells = <1>; + #size-cells = <0>; + //pinctrl-names = "default"; + //pinctrl-0 = <&sd1_clk &sd1_cmd &sd1_cd &sd1_wp &sd1_bus1 &sd1_bus4>; + //clocks = <&clk_gatesX XX> , <&clk_gatesY YY>; + //clock-names = "hclk_sdio1","sdio1"; + clock-frequency = <50000000>; + clock-freq-min-max = <400000 50000000>; + num-slots = <1>; + supports-highspeed; + fifo-depth = <0x100>; + emmc-compatible = <1>; + status = "disabled"; + }; + }; -- 2.34.1