mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
62b7f5931c
bcm2708: boot tested on RPi B+ v1.2
bcm2709: boot tested on RPi 3B v1.2 and RPi 4B v1.1 4G
bcm2710: boot tested on RPi 3B v1.2
bcm2711: boot tested on RPi 4B v1.1 4G
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
(cherry-picked from commit f07e572f64
)
151 lines
6.6 KiB
Diff
151 lines
6.6 KiB
Diff
From b2e311257e8c06f5d39004515c4adb65bb4fad3f Mon Sep 17 00:00:00 2001
|
|
From: Phil Elwell <phil@raspberrypi.com>
|
|
Date: Mon, 21 Sep 2020 22:09:40 +0100
|
|
Subject: [PATCH] overlays: Add note to BCM2711 overlays
|
|
|
|
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
|
|
---
|
|
arch/arm/boot/dts/overlays/README | 32 +++++++++++++++----------------
|
|
1 file changed, 16 insertions(+), 16 deletions(-)
|
|
|
|
--- a/arch/arm/boot/dts/overlays/README
|
|
+++ b/arch/arm/boot/dts/overlays/README
|
|
@@ -1403,7 +1403,7 @@ Load: <Deprecated>
|
|
|
|
|
|
Name: i2c3
|
|
-Info: Enable the i2c3 bus
|
|
+Info: Enable the i2c3 bus. BCM2711 only.
|
|
Load: dtoverlay=i2c3,<param>
|
|
Params: pins_2_3 Use GPIOs 2 and 3
|
|
pins_4_5 Use GPIOs 4 and 5 (default)
|
|
@@ -1412,7 +1412,7 @@ Params: pins_2_3 Use GPIO
|
|
|
|
|
|
Name: i2c4
|
|
-Info: Enable the i2c4 bus
|
|
+Info: Enable the i2c4 bus. BCM2711 only.
|
|
Load: dtoverlay=i2c4,<param>
|
|
Params: pins_6_7 Use GPIOs 6 and 7
|
|
pins_8_9 Use GPIOs 8 and 9 (default)
|
|
@@ -1421,7 +1421,7 @@ Params: pins_6_7 Use GPIO
|
|
|
|
|
|
Name: i2c5
|
|
-Info: Enable the i2c5 bus
|
|
+Info: Enable the i2c5 bus. BCM2711 only.
|
|
Load: dtoverlay=i2c5,<param>
|
|
Params: pins_10_11 Use GPIOs 10 and 11
|
|
pins_12_13 Use GPIOs 12 and 13 (default)
|
|
@@ -1430,7 +1430,7 @@ Params: pins_10_11 Use GPIO
|
|
|
|
|
|
Name: i2c6
|
|
-Info: Enable the i2c6 bus
|
|
+Info: Enable the i2c6 bus. BCM2711 only.
|
|
Load: dtoverlay=i2c6,<param>
|
|
Params: pins_0_1 Use GPIOs 0 and 1
|
|
pins_22_23 Use GPIOs 22 and 23 (default)
|
|
@@ -2582,7 +2582,7 @@ Params: cs0_pin GPIO pin
|
|
Name: spi3-1cs
|
|
Info: Enables spi3 with a single chip select (CS) line and associated spidev
|
|
dev node. The gpio pin number for the CS line and spidev device node
|
|
- creation are configurable.
|
|
+ creation are configurable. BCM2711 only.
|
|
Load: dtoverlay=spi3-1cs,<param>=<val>
|
|
Params: cs0_pin GPIO pin for CS0 (default 0 - BCM SPI3_CE0).
|
|
cs0_spidev Set to 'off' to prevent the creation of a
|
|
@@ -2593,7 +2593,7 @@ Params: cs0_pin GPIO pin
|
|
Name: spi3-2cs
|
|
Info: Enables spi3 with two chip select (CS) lines and associated spidev
|
|
dev nodes. The gpio pin numbers for the CS lines and spidev device node
|
|
- creation are configurable.
|
|
+ creation are configurable. BCM2711 only.
|
|
Load: dtoverlay=spi3-2cs,<param>=<val>
|
|
Params: cs0_pin GPIO pin for CS0 (default 0 - BCM SPI3_CE0).
|
|
cs1_pin GPIO pin for CS1 (default 24 - BCM SPI3_CE1).
|
|
@@ -2608,7 +2608,7 @@ Params: cs0_pin GPIO pin
|
|
Name: spi4-1cs
|
|
Info: Enables spi4 with a single chip select (CS) line and associated spidev
|
|
dev node. The gpio pin number for the CS line and spidev device node
|
|
- creation are configurable.
|
|
+ creation are configurable. BCM2711 only.
|
|
Load: dtoverlay=spi4-1cs,<param>=<val>
|
|
Params: cs0_pin GPIO pin for CS0 (default 4 - BCM SPI4_CE0).
|
|
cs0_spidev Set to 'off' to prevent the creation of a
|
|
@@ -2619,7 +2619,7 @@ Params: cs0_pin GPIO pin
|
|
Name: spi4-2cs
|
|
Info: Enables spi4 with two chip select (CS) lines and associated spidev
|
|
dev nodes. The gpio pin numbers for the CS lines and spidev device node
|
|
- creation are configurable.
|
|
+ creation are configurable. BCM2711 only.
|
|
Load: dtoverlay=spi4-2cs,<param>=<val>
|
|
Params: cs0_pin GPIO pin for CS0 (default 4 - BCM SPI4_CE0).
|
|
cs1_pin GPIO pin for CS1 (default 25 - BCM SPI4_CE1).
|
|
@@ -2634,7 +2634,7 @@ Params: cs0_pin GPIO pin
|
|
Name: spi5-1cs
|
|
Info: Enables spi5 with a single chip select (CS) line and associated spidev
|
|
dev node. The gpio pin numbers for the CS lines and spidev device node
|
|
- creation are configurable.
|
|
+ creation are configurable. BCM2711 only.
|
|
Load: dtoverlay=spi5-1cs,<param>=<val>
|
|
Params: cs0_pin GPIO pin for CS0 (default 12 - BCM SPI5_CE0).
|
|
cs0_spidev Set to 'off' to prevent the creation of a
|
|
@@ -2645,7 +2645,7 @@ Params: cs0_pin GPIO pin
|
|
Name: spi5-2cs
|
|
Info: Enables spi5 with two chip select (CS) lines and associated spidev
|
|
dev nodes. The gpio pin numbers for the CS lines and spidev device node
|
|
- creation are configurable.
|
|
+ creation are configurable. BCM2711 only.
|
|
Load: dtoverlay=spi5-2cs,<param>=<val>
|
|
Params: cs0_pin GPIO pin for CS0 (default 12 - BCM SPI5_CE0).
|
|
cs1_pin GPIO pin for CS1 (default 26 - BCM SPI5_CE1).
|
|
@@ -2660,7 +2660,7 @@ Params: cs0_pin GPIO pin
|
|
Name: spi6-1cs
|
|
Info: Enables spi6 with a single chip select (CS) line and associated spidev
|
|
dev node. The gpio pin number for the CS line and spidev device node
|
|
- creation are configurable.
|
|
+ creation are configurable. BCM2711 only.
|
|
Load: dtoverlay=spi6-1cs,<param>=<val>
|
|
Params: cs0_pin GPIO pin for CS0 (default 18 - BCM SPI6_CE0).
|
|
cs0_spidev Set to 'off' to prevent the creation of a
|
|
@@ -2671,7 +2671,7 @@ Params: cs0_pin GPIO pin
|
|
Name: spi6-2cs
|
|
Info: Enables spi6 with two chip select (CS) lines and associated spidev
|
|
dev nodes. The gpio pin numbers for the CS lines and spidev device node
|
|
- creation are configurable.
|
|
+ creation are configurable. BCM2711 only.
|
|
Load: dtoverlay=spi6-2cs,<param>=<val>
|
|
Params: cs0_pin GPIO pin for CS0 (default 18 - BCM SPI6_CE0).
|
|
cs1_pin GPIO pin for CS1 (default 27 - BCM SPI6_CE1).
|
|
@@ -2843,25 +2843,25 @@ Params: txd1_pin GPIO pin
|
|
|
|
|
|
Name: uart2
|
|
-Info: Enable uart 2 on GPIOs 0-3
|
|
+Info: Enable uart 2 on GPIOs 0-3. BCM2711 only.
|
|
Load: dtoverlay=uart2,<param>
|
|
Params: ctsrts Enable CTS/RTS on GPIOs 2-3 (default off)
|
|
|
|
|
|
Name: uart3
|
|
-Info: Enable uart 3 on GPIOs 4-7
|
|
+Info: Enable uart 3 on GPIOs 4-7. BCM2711 only.
|
|
Load: dtoverlay=uart3,<param>
|
|
Params: ctsrts Enable CTS/RTS on GPIOs 6-7 (default off)
|
|
|
|
|
|
Name: uart4
|
|
-Info: Enable uart 4 on GPIOs 8-11
|
|
+Info: Enable uart 4 on GPIOs 8-11. BCM2711 only.
|
|
Load: dtoverlay=uart4,<param>
|
|
Params: ctsrts Enable CTS/RTS on GPIOs 10-11 (default off)
|
|
|
|
|
|
Name: uart5
|
|
-Info: Enable uart 5 on GPIOs 12-15
|
|
+Info: Enable uart 5 on GPIOs 12-15. BCM2711 only.
|
|
Load: dtoverlay=uart5,<param>
|
|
Params: ctsrts Enable CTS/RTS on GPIOs 14-15 (default off)
|
|
|