update wifi patches for rk3566-ml

This commit is contained in:
Sparticuz 2024-03-08 21:17:17 -05:00
parent 1dbac76e77
commit 84384292ba
2 changed files with 59 additions and 0 deletions

View file

@ -0,0 +1,34 @@
diff --git a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353ps.dts b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353ps.dts
index b211973e36c2..1eb16af26291 100644
--- a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353ps.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353ps.dts
@@ -12,9 +12,9 @@ / {
compatible = "anbernic,rg353ps", "rockchip,rk3566";
aliases {
- mmc0 = &sdmmc0;
- mmc1 = &sdmmc1;
- mmc2 = &sdmmc2;
+ mmc1 = &sdmmc0;
+ mmc2 = &sdmmc1;
+ mmc3 = &sdmmc2;
};
battery: battery {
diff --git a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353vs.dts b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353vs.dts
index a7dc462fe21f..0675c79d1f3a 100644
--- a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353vs.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353vs.dts
@@ -12,9 +12,9 @@ / {
compatible = "anbernic,rg353vs", "rockchip,rk3566";
aliases {
- mmc0 = &sdmmc0;
- mmc1 = &sdmmc1;
- mmc2 = &sdmmc2;
+ mmc1 = &sdmmc0;
+ mmc2 = &sdmmc1;
+ mmc3 = &sdmmc2;
};
battery: battery {

View file

@ -0,0 +1,25 @@
From a0e01b2bb51a032af5e95e4acd9081f33afd9884 Mon Sep 17 00:00:00 2001
From: brrrrrrrrrr <brrrrrrrrrr@brrrrrrrrrr>
Date: Fri, 16 Feb 2024 13:00:59 -0500
Subject: [PATCH] Fix 8821cs sdio errors
---
arch/arm64/boot/dts/rockchip/rk3566-anbernic-rgxx3.dtsi | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rgxx3.dtsi b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rgxx3.dtsi
index abf7dea167c2..5cd11e962c81 100644
--- a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rgxx3.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rgxx3.dtsi
@@ -636,6 +636,9 @@ &sdmmc2 {
pinctrl-names = "default";
vmmc-supply = <&vcc_wifi>;
vqmmc-supply = <&vcca1v8_pmu>;
+ no-mmc;
+ no-sd;
+ sd-uhs-sdr50;
status = "okay";
};
--
2.43.1