]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: rockchip: sync ROCK Pi 4 SoCs from Linux
authorChristopher Obbard <chris.obbard@collabora.com>
Wed, 19 Jul 2023 16:33:56 +0000 (17:33 +0100)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 28 Jul 2023 10:45:03 +0000 (18:45 +0800)
To prepare for ROCK 4 SE support, changes are needed to the common ROCK
Pi 4 devicetree to move the OPP from the common devicetree to individual
board devicetrees. Sync the Rockchip RK3399 ROCK Pi 4-related DTs from
Linux to gain from these changes.

Kernel tag: next-20230719
Kernel commits:
cfa12c32b96f ("arm64: dts: rockchip: correct wifi interrupt flag in Rock \
Pi 4B")
cee572756aa2 ("arm64: dts: rockchip: Disable HS400 for eMMC on ROCK Pi 4")
2bd1d2dd808c ("arm64: dts: rockchip: Disable HS400 for eMMC on ROCK 4C+")
fd2762a62646 ("arm64: dts: rockchip: Move OPP table from ROCK Pi 4 dtsi")

Signed-off-by: Christopher Obbard <chris.obbard@collabora.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rk3399-rock-4c-plus.dts
arch/arm/dts/rk3399-rock-pi-4.dtsi
arch/arm/dts/rk3399-rock-pi-4a.dts
arch/arm/dts/rk3399-rock-pi-4c.dts

index 028eb508ae3026c933cadbe1333a1939c563d225..8bfd5f88d1ef61d9ce45d617d4fc5d199d4b84cc 100644 (file)
 &sdhci {
        max-frequency = <150000000>;
        bus-width = <8>;
-       mmc-hs400-1_8v;
+       mmc-hs200-1_8v;
        non-removable;
-       mmc-hs400-enhanced-strobe;
        status = "okay";
 };
 
index 907071d4fe80445b23a8b6b6a5f36fa382dd65f3..b1b7f4ffb1d4a09152f9d69e33d488c81a64bbb3 100644 (file)
@@ -9,7 +9,6 @@
 #include <dt-bindings/leds/common.h>
 #include <dt-bindings/pwm/pwm.h>
 #include "rk3399.dtsi"
-#include "rk3399-opp.dtsi"
 
 / {
        aliases {
 };
 
 &sdhci {
+       max-frequency = <150000000>;
        bus-width = <8>;
-       mmc-hs400-1_8v;
-       mmc-hs400-enhanced-strobe;
+       mmc-hs200-1_8v;
        non-removable;
        status = "okay";
 };
index 89f2af5e111d1ca5212af4cbcbb6b18d1a60aad9..931334aa3d62788a7650b28b6b616429f60cd5a7 100644 (file)
@@ -6,6 +6,7 @@
 
 /dts-v1/;
 #include "rk3399-rock-pi-4.dtsi"
+#include "rk3399-opp.dtsi"
 
 / {
        model = "Radxa ROCK Pi 4A";
index 4053ba72618c2e3fa594e89d1da8ad9dab2c2318..d32efab74e94345830265ad6ee8985b8e8cdecdd 100644 (file)
@@ -7,6 +7,7 @@
 
 /dts-v1/;
 #include "rk3399-rock-pi-4.dtsi"
+#include "rk3399-opp.dtsi"
 
 / {
        model = "Radxa ROCK Pi 4C";