forked from armbian/build
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rockchip64-6.11: add patch to enable uwe5622 wifi/bt on opi3b v1.1
- Loading branch information
1 parent
b2e28db
commit 0b3a1a0
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
40 changes: 40 additions & 0 deletions
40
patch/kernel/archive/rockchip64-6.11/board-orangepi3b-add-uwe5622-wifi-bt-nodes.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: amazingfate <[email protected]> | ||
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 | ||
|