1 From 04b3aace4865f06b982c33d03098dceb02be67a4 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.org>
3 Date: Wed, 11 Jan 2017 13:01:21 +0000
4 Subject: [PATCH] BCM270X_DT: Add pi3-disable-wifi overlay
6 pi3-disable-wifi is a minimal overlay to disable the onboard WiFi.
8 Signed-off-by: Phil Elwell <phil@raspberrypi.org>
10 arch/arm/boot/dts/overlays/Makefile | 1 +
11 arch/arm/boot/dts/overlays/README | 6 ++++++
12 arch/arm/boot/dts/overlays/pi3-disable-wifi-overlay.dts | 13 +++++++++++++
13 3 files changed, 20 insertions(+)
14 create mode 100644 arch/arm/boot/dts/overlays/pi3-disable-wifi-overlay.dts
16 --- a/arch/arm/boot/dts/overlays/Makefile
17 +++ b/arch/arm/boot/dts/overlays/Makefile
18 @@ -61,6 +61,7 @@ dtbo-$(RPI_DT_OVERLAYS) += mmc.dtbo
19 dtbo-$(RPI_DT_OVERLAYS) += mz61581.dtbo
20 dtbo-$(RPI_DT_OVERLAYS) += pi3-act-led.dtbo
21 dtbo-$(RPI_DT_OVERLAYS) += pi3-disable-bt.dtbo
22 +dtbo-$(RPI_DT_OVERLAYS) += pi3-disable-wifi.dtbo
23 dtbo-$(RPI_DT_OVERLAYS) += pi3-miniuart-bt.dtbo
24 dtbo-$(RPI_DT_OVERLAYS) += piscreen.dtbo
25 dtbo-$(RPI_DT_OVERLAYS) += piscreen2r.dtbo
26 --- a/arch/arm/boot/dts/overlays/README
27 +++ b/arch/arm/boot/dts/overlays/README
28 @@ -793,6 +793,12 @@ Load: dtoverlay=pi3-disable-bt
32 +Name: pi3-disable-wifi
33 +Info: Disable Pi3 onboard WiFi
34 +Load: dtoverlay=pi3-disable-wifi
39 Info: Switch Pi3 Bluetooth function to use the mini-UART (ttyS0) and restore
40 UART0/ttyAMA0 over GPIOs 14 & 15. Note that this may reduce the maximum
42 +++ b/arch/arm/boot/dts/overlays/pi3-disable-wifi-overlay.dts
48 + compatible = "brcm,bcm2708";
53 + status = "disabled";