From 0b3a1a06f8cc2a347c513160715fd5bc3be5dd61 Mon Sep 17 00:00:00 2001 From: amazingfate Date: Fri, 25 Oct 2024 15:06:42 +0800 Subject: [PATCH] rockchip64-6.11: add patch to enable uwe5622 wifi/bt on opi3b v1.1 --- ...orangepi3b-add-uwe5622-wifi-bt-nodes.patch | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 patch/kernel/archive/rockchip64-6.11/board-orangepi3b-add-uwe5622-wifi-bt-nodes.patch diff --git a/patch/kernel/archive/rockchip64-6.11/board-orangepi3b-add-uwe5622-wifi-bt-nodes.patch b/patch/kernel/archive/rockchip64-6.11/board-orangepi3b-add-uwe5622-wifi-bt-nodes.patch new file mode 100644 index 000000000000..4e1b16044a0f --- /dev/null +++ b/patch/kernel/archive/rockchip64-6.11/board-orangepi3b-add-uwe5622-wifi-bt-nodes.patch @@ -0,0 +1,40 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: amazingfate +Date: Fri, 25 Oct 2024 14:48:47 +0800 +Subject: arch: arm64: dts: add uwe5622 wifi/bt nodes to orangepi3b v1.1 + +--- + arch/arm64/boot/dts/rockchip/rk3566-orangepi-3b-v1.1.dts | 17 ++++++++++ + 1 file changed, 17 insertions(+) + +diff --git a/arch/arm64/boot/dts/rockchip/rk3566-orangepi-3b-v1.1.dts b/arch/arm64/boot/dts/rockchip/rk3566-orangepi-3b-v1.1.dts +index 111111111111..222222222222 100644 +--- a/arch/arm64/boot/dts/rockchip/rk3566-orangepi-3b-v1.1.dts ++++ b/arch/arm64/boot/dts/rockchip/rk3566-orangepi-3b-v1.1.dts +@@ -7,6 +7,23 @@ + / { + model = "Xunlong Orange Pi 3B v1.1"; + compatible = "xunlong,orangepi-3b-v1.1", "xunlong,orangepi-3b", "rockchip,rk3566"; ++ ++ sprd-mtty { ++ compatible = "sprd,mtty"; ++ sprd,name = "ttyBT"; ++ }; ++ ++ uwe-bsp { ++ compatible = "unisoc,uwe_bsp"; ++ wl-reg-on = <&gpio0 RK_PD3 GPIO_ACTIVE_HIGH>; ++ bt-reg-on = <&gpio2 RK_PB7 GPIO_ACTIVE_HIGH>; ++ wl-wake-host-gpio = <&gpio0 RK_PD6 GPIO_ACTIVE_HIGH>; ++ bt-wake-host-gpio = <&gpio2 RK_PC0 GPIO_ACTIVE_HIGH>; ++ sdio-ext-int-gpio = <&gpio2 RK_PC1 GPIO_ACTIVE_HIGH>; ++ data-irq; ++ blksz-512; ++ keep-power-on; ++ }; + }; + + &pmu_io_domains { +-- +Armbian +