Commit c311f4ff authored by Baolin Wang's avatar Baolin Wang Committed by Olof Johansson

arm64: dts: sprd: Add Spreadtrum SD host controller support

Add one Spreadtrum SD host controller to support eMMC card for Spreadtrum
SC9860 platform.
Signed-off-by: default avatarBaolin Wang <baolin.wang@linaro.org>
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parent 0dfe186a
...@@ -130,6 +130,34 @@ ap_dma: dma-controller@20100000 { ...@@ -130,6 +130,34 @@ ap_dma: dma-controller@20100000 {
clock-names = "enable"; clock-names = "enable";
clocks = <&apahb_gate CLK_DMA_EB>; clocks = <&apahb_gate CLK_DMA_EB>;
}; };
sdio3: sdio@50430000 {
compatible = "sprd,sdhci-r11";
reg = <0 0x50430000 0 0x1000>;
interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
clock-names = "sdio", "enable", "2x_enable";
clocks = <&aon_prediv CLK_EMMC_2X>,
<&apahb_gate CLK_EMMC_EB>,
<&aon_gate CLK_EMMC_2X_EN>;
assigned-clocks = <&aon_prediv CLK_EMMC_2X>;
assigned-clock-parents = <&clk_l0_409m6>;
sprd,phy-delay-mmc-hs400 = <0x44 0x7f 0x2e 0x2e>;
sprd,phy-delay-mmc-hs200 = <0x0 0x8c 0x8c 0x8c>;
sprd,phy-delay-mmc-ddr52 = <0x3f 0x75 0x14 0x14>;
sprd,phy-delay-mmc-hs400es = <0x3f 0x3f 0x2e 0x2e>;
vmmc-supply = <&vddemmccore>;
bus-width = <8>;
non-removable;
no-sdio;
no-sd;
cap-mmc-hw-reset;
mmc-hs400-enhanced-strobe;
mmc-hs400-1_8v;
mmc-hs200-1_8v;
mmc-ddr-1_8v;
};
}; };
aon { aon {
...@@ -272,4 +300,11 @@ ext_rco_100m: ext_rco_100m { ...@@ -272,4 +300,11 @@ ext_rco_100m: ext_rco_100m {
clock-frequency = <100000000>; clock-frequency = <100000000>;
clock-output-names = "ext-rco-100m"; clock-output-names = "ext-rco-100m";
}; };
clk_l0_409m6: clk_l0_409m6 {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <409600000>;
clock-output-names = "ext-409m6";
};
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment