diff options
author | Kever Yang <kever.yang@rock-chips.com> | 2016-08-04 11:44:59 +0800 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-08-05 18:02:52 -0600 |
commit | da8ff82e73f559ed22a7a0da44f670088f4154f8 (patch) | |
tree | 1592e522fa942426e1e5018e108b20f2b4388366 /arch/arm/dts | |
parent | fd4b2dc05996dad7680442ed574614d3db048f86 (diff) | |
download | u-boot-imx-da8ff82e73f559ed22a7a0da44f670088f4154f8.zip u-boot-imx-da8ff82e73f559ed22a7a0da44f670088f4154f8.tar.gz u-boot-imx-da8ff82e73f559ed22a7a0da44f670088f4154f8.tar.bz2 |
dts: rk3399: enable dwmmc for sdcard
rk3399 sdcard is using dwmmc controller, enable it for sdcard.
SCLK_SDMMC is the clock for controller operation clock, move it
to the first place.
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/dts')
-rw-r--r-- | arch/arm/dts/rk3399-evb.dts | 4 | ||||
-rw-r--r-- | arch/arm/dts/rk3399.dtsi | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm/dts/rk3399-evb.dts b/arch/arm/dts/rk3399-evb.dts index bbcfcd0..e92a492 100644 --- a/arch/arm/dts/rk3399-evb.dts +++ b/arch/arm/dts/rk3399-evb.dts @@ -61,6 +61,10 @@ status = "okay"; }; +&sdmmc { + status = "okay"; +}; + &sdhci { bus-width = <8>; mmc-hs400-1_8v; diff --git a/arch/arm/dts/rk3399.dtsi b/arch/arm/dts/rk3399.dtsi index fb5af54..a4c6e27 100644 --- a/arch/arm/dts/rk3399.dtsi +++ b/arch/arm/dts/rk3399.dtsi @@ -172,9 +172,9 @@ reg = <0x0 0xfe320000 0x0 0x4000>; interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>; clock-freq-min-max = <400000 150000000>; - clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>, + clocks = <&cru SCLK_SDMMC>, <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>; - clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; + clock-names = "ciu", "biu", "ciu-drive", "ciu-sample"; fifo-depth = <0x100>; status = "disabled"; }; |