Skip to content

Commit 061dccc

Browse files
author
Phil Elwell
committed
BCM270X_DT: Add pi3-disable-wifi overlay
pi3-disable-wifi is a minimal overlay to disable the onboard WiFi. Signed-off-by: Phil Elwell <[email protected]>
1 parent ad9bae6 commit 061dccc

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

arch/arm/boot/dts/overlays/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ dtbo-$(CONFIG_ARCH_BCM2835) += \
5151
mz61581.dtbo \
5252
pi3-act-led.dtbo \
5353
pi3-disable-bt.dtbo \
54+
pi3-disable-wifi.dtbo \
5455
pi3-miniuart-bt.dtbo \
5556
piscreen.dtbo \
5657
piscreen2r.dtbo \

arch/arm/boot/dts/overlays/README

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -800,6 +800,12 @@ Load: dtoverlay=pi3-disable-bt
800800
Params: <None>
801801

802802

803+
Name: pi3-disable-wifi
804+
Info: Disable Pi3 onboard WiFi
805+
Load: dtoverlay=pi3-disable-wifi
806+
Params: <None>
807+
808+
803809
Name: pi3-miniuart-bt
804810
Info: Switch Pi3 Bluetooth function to use the mini-UART (ttyS0) and restore
805811
UART0/ttyAMA0 over GPIOs 14 & 15. Note that this may reduce the maximum
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/dts-v1/;
2+
/plugin/;
3+
4+
/{
5+
compatible = "brcm,bcm2708";
6+
7+
fragment@0 {
8+
target = <&mmc>;
9+
__overlay__ {
10+
status = "disabled";
11+
};
12+
};
13+
};

0 commit comments

Comments
 (0)