aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/image/distroconfig.txt
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2019-09-03 13:01:50 +0200
committerÁlvaro Fernández Rojas <noltari@gmail.com>2019-09-03 19:37:29 +0200
commit5287ac2dfbd0393e23e35e415ddf37f42df9b58e (patch)
tree3fe7a010589ea71ad9bd5217fdf7240bf5bb36ac /target/linux/brcm2708/image/distroconfig.txt
parentfbbb4eb8b41d59b38f41fe382c6e4108a36aa909 (diff)
downloadupstream-5287ac2dfbd0393e23e35e415ddf37f42df9b58e.tar.gz
upstream-5287ac2dfbd0393e23e35e415ddf37f42df9b58e.tar.bz2
upstream-5287ac2dfbd0393e23e35e415ddf37f42df9b58e.zip
brcm2708: restore UART on RPi 0W, 3B, 3B+ and 4B
Disable Bluetooth and restore UART to GPIOs 14 & 15. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/brcm2708/image/distroconfig.txt')
-rw-r--r--target/linux/brcm2708/image/distroconfig.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/brcm2708/image/distroconfig.txt b/target/linux/brcm2708/image/distroconfig.txt
new file mode 100644
index 0000000000..54cf44346f
--- /dev/null
+++ b/target/linux/brcm2708/image/distroconfig.txt
@@ -0,0 +1,14 @@
+################################################################################
+# Bootloader configuration - distroconfig.txt
+################################################################################
+
+# Restore PL011 (ttyAMA0) to GPIOs 14 & 15, instead of Mini UART (ttyS0).
+# Mini UART is disabled by default unless "enable_uart=1" is specified,
+# which changes the core frequency to a fixed value and impacts performance.
+# See https://www.raspberrypi.org/documentation/configuration/uart.md
+[pi0w]
+dtoverlay=disable-bt
+[pi3]
+dtoverlay=disable-bt
+[pi4]
+dtoverlay=disable-bt