]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: dts: rk3399-evb: add sdmmc node
authorKever Yang <kever.yang@rock-chips.com>
Tue, 11 Aug 2020 06:44:30 +0000 (14:44 +0800)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 21 Aug 2020 11:56:19 +0000 (19:56 +0800)
The sdmmc node is missing after the dts sync patch:
  167efc2c7a arm64: dts: rk3399: Sync v5.7-rc1 from Linux
But we still need it for boot from SD card, so add it.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rk3399-evb-u-boot.dtsi

index 1be54feacc0e9c931beb25cfdf487a9c8f4db70e..8056dc843e76f10ef66ee10e9b2cea0279fc7dc6 100644 (file)
        dr_mode = "host";
        status = "okay";
 };
+
+&sdmmc {
+       u-boot,dm-pre-reloc;
+       bus-width = <4>;
+       cap-mmc-highspeed;
+       cap-sd-highspeed;
+       cd-gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
+       disable-wp;
+       max-frequency = <150000000>;
+       pinctrl-names = "default";
+       pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_bus4>;
+       status = "okay";
+};