build/patch/kernel/archive/meson64-5.10/board-VIM1-VIM2-change-freq-to-100MHz.patch

42 lines
1.3 KiB
Diff

From 2c590b18eee0a8cfe163ab2dc994f211f76853b8 Mon Sep 17 00:00:00 2001
From: Nick Xie <nick@khadas.com>
Date: Wed, 1 Apr 2020 14:11:35 +0800
Subject: [PATCH 095/101] arm64: dts: sdio: VIM1/VIM2: change freq to 100MHz
Signed-off-by: Nick Xie <nick@khadas.com>
---
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts | 3 +++
arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts
index 8637e6a42bb8..0786ea55f839 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts
@@ -230,6 +230,9 @@
};
&sd_emmc_a {
+
+ max-frequency = <100000000>;
+
brcmf: wifi@1 {
reg = <1>;
compatible = "brcm,bcm4329-fmac";
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts
index 5ef329f10a06..8060e97d764f 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts
@@ -397,7 +397,7 @@
#size-cells = <0>;
bus-width = <4>;
- max-frequency = <60000000>;
+ max-frequency = <100000000>;
non-removable;
disable-wp;
--
2.17.1