]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dts: rk3399: enable dwmmc for sdcard
authorKever Yang <kever.yang@rock-chips.com>
Thu, 4 Aug 2016 03:44:59 +0000 (11:44 +0800)
committerSimon Glass <sjg@chromium.org>
Sat, 6 Aug 2016 00:02:52 +0000 (18:02 -0600)
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>
arch/arm/dts/rk3399-evb.dts
arch/arm/dts/rk3399.dtsi

index bbcfcd0da9a67d7b2997affbb533e32e2ab66d3c..e92a492545d92f76f817fb39ef754cb8ede4c241 100644 (file)
        status = "okay";
 };
 
+&sdmmc {
+       status = "okay";
+};
+
 &sdhci {
        bus-width = <8>;
        mmc-hs400-1_8v;
index fb5af547993bb320b17fc3777e4574ac1b1eccb4..a4c6e27b39164479408695693494974c22997e44 100644 (file)
                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";
        };