File tree Expand file tree Collapse file tree
arch/arm/boot/dts/overlays Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -247,6 +247,7 @@ dtbo-$(CONFIG_ARCH_BCM2835) += \
247247 ramoops-pi4.dtbo \
248248 rootmaster.dtbo \
249249 rotary-encoder.dtbo \
250+ rp1-pio-uart.dtbo \
250251 rpi-backlight.dtbo \
251252 rpi-codeczero.dtbo \
252253 rpi-dacplus.dtbo \
Original file line number Diff line number Diff line change @@ -4527,6 +4527,17 @@ Params: pin_a GPIO connected to rotary encoder channel A
45274527 common) and "binary".
45284528
45294529
4530+ Name: rp1-pio-uart
4531+ Info: Configures a software UART implemented using the RP1 PIO block, with
4532+ DMA moving data and a PIO interrupt used for break detection. Only
4533+ 8N1 with no hardware flow control is supported. Only usable on
4534+ Raspberry Pi 5 and other platforms with an RP1 southbridge.
4535+ Load: dtoverlay=rp1-pio-uart,<param>=<val>
4536+ Params: tx_pin GPIO used for TXD (any free - default 14)
4537+
4538+ rx_pin GPIO used for RXD (any free - default 15)
4539+
4540+
45304541Name: rpi-backlight
45314542Info: Raspberry Pi official display backlight driver
45324543Load: dtoverlay=rpi-backlight
Original file line number Diff line number Diff line change 1+ // SPDX-License-Identifier: GPL-2.0
2+ // Device tree overlay for the RP1 PIO-based UART driver.
3+ /dts-v1/;
4+ /plugin/;
5+
6+ / {
7+ compatible = "brcm,bcm2712";
8+
9+ fragment@0 {
10+ target-path = "/";
11+ __overlay__ {
12+ rp1_pio_uart: rp1_pio_uart@e {
13+ compatible = "raspberrypi,rp1-pio-uart";
14+ tx-gpios = <&gpio 14 0>;
15+ rx-gpios = <&gpio 15 0>;
16+ status = "okay";
17+ };
18+ };
19+ };
20+
21+ __overrides__ {
22+ tx_pin = <&rp1_pio_uart>, "tx-gpios:4";
23+ rx_pin = <&rp1_pio_uart>, "rx-gpios:4";
24+ };
25+ };
You can’t perform that action at this time.
0 commit comments