]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: rockchip: radxa-dalang: Update sdmmc properties
authorJagan Teki <jagan@amarulasolutions.com>
Thu, 18 Jun 2020 16:12:18 +0000 (21:42 +0530)
committerKever Yang <kever.yang@rock-chips.com>
Tue, 7 Jul 2020 11:45:57 +0000 (19:45 +0800)
Radxa dalang carrier boards are used to mount vmarc SoM's
of rk3399pro and rk3288 to make complete SBC.

Among these combinations, card detection gpio, max-frequency
properties are used with rk3399pro SoM but not required for
rk3288 SoM based on the hardware schematics.

So, let's move these sdmmc specific properties on associate
vmarc dtsi to make common use of dalang carrier device tree file.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rk3399pro-vmarc-som.dtsi
arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi

index 0a516334f15f165e7722cad5afcbd844d7b19421..6fd17e8a815faf6a4ab5a2f843566677c761f0db 100644 (file)
        status = "okay";
 };
 
+&sdmmc {
+       cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>;
+       max-frequency = <150000000>;
+};
+
 &tsadc {
        status = "okay";
        rockchip,hw-tshut-mode = <1>;
index df3712aedf8aad3aa1f1142af049ecbfe96fd85c..3e54f38f0ab6f46585647afb2b8b79765ba8b7b4 100644 (file)
        bus-width = <4>;
        cap-mmc-highspeed;
        cap-sd-highspeed;
-       cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>;
        disable-wp;
        vqmmc-supply = <&vccio_sd>;
-       max-frequency = <150000000>;
        pinctrl-names = "default";
        pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
        status = "okay";