Skip to content

Commit

Permalink
overlays-05-add-rk3318-box-wlan-ext(:1)
Browse files Browse the repository at this point in the history
Original-Subject: rk3318-box: add overlay for wifi over sdmmc_ext
None
X-Armbian: Patch-File: overlays-05-add-rk3318-box-wlan-ext
X-Armbian: Patch-File-Counter: 1
X-Armbian: Patch-Rel-Directory: patch/kernel/archive/rockchip64-6.1
X-Armbian: Patch-Type: kernel
X-Armbian: Patch-Root-Type: core
X-Armbian: Patch-Sub-Type: common
X-Armbian: Original-Subject: rk3318-box: add overlay for wifi over sdmmc_ext
  • Loading branch information
paolosabatino authored and Armbian AutoPatcher committed Apr 18, 2021
1 parent a9c0923 commit 8b81b66
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/arm64/boot/dts/rockchip/overlay/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ dtbo-$(CONFIG_ARCH_ROCKCHIP) += \
rockchip-w1-gpio.dtbo \
rockchip-rk3318-box-led-conf1.dtbo \
rockchip-rk3318-box-emmc-ddr.dtbo \
rockchip-rk3318-box-wlan-ap6334.dtbo
rockchip-rk3318-box-wlan-ap6334.dtbo \
rockchip-rk3318-box-wlan-ext.dtbo

scr-$(CONFIG_ARCH_ROCKCHIP) += \
rockchip-fixup.scr
Expand Down
6 changes: 6 additions & 0 deletions arch/arm64/boot/dts/rockchip/overlay/README.rockchip-overlays
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,9 @@ of board wiring

Set up additional device tree bits to properly support ap6334 (broadcom BCM4334)
wifi chip and clones

### rk3318-box-wlan-ext

Use sdmmc_ext device for sdio devices, enabled wifi on some boards (notably
X88 Pro) which have wifi chip attached to sdmmc_ext controller.

Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/dts-v1/;
/plugin/;

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/pinctrl/rockchip.h>
#include <dt-bindings/interrupt-controller/irq.h>

/ {

fragment@0 {
target = <&sdio>;
__overlay__ {
mmc-pwrseq = <>;
status = "disabled";
};
};

fragment@1 {
target = <&sdio_ext>;
__overlay__ {
mmc-pwrseq = <&sdio_pwrseq>;
status = "okay";
};
};

fragment@2 {
target = <&sdmmc_ext>;
__overlay__ {
status = "disabled";
};
};

};

0 comments on commit 8b81b66

Please sign in to comment.