Skip to content

Commit

Permalink
rockchip: dts: rk3399-evb: add sdmmc node
Browse files Browse the repository at this point in the history
The sdmmc node is missing after the dts sync patch:
  167efc2 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 <[email protected]>
  • Loading branch information
keveryang committed Aug 21, 2020
1 parent 2a4484a commit d6092e3
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions arch/arm/dts/rk3399-evb-u-boot.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,16 @@
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";
};

0 comments on commit d6092e3

Please sign in to comment.