Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 2599

Raspberry Pi OS • Some questions about config.txt and dtoverlay

$
0
0
Hardware platform: Raspberry PI 5
linux kernel: 6.6.51

When I was in the config file,
Increment “dtoverlay=uart4”, is ttyAMA4 gpio12 and gpio13 are used.
Increment ”dtoverlay=uart4-pi5“, also ttyAMA4 gpio12 and gpio13 are used.

But in dtoverlay-h, gpio is different, so why is the device still configured correctly?

[code]dtoverlay -h uart4-pi5[/code]

[quote]Name: uart4-pi5

Info: Enable uart 4 on GPIOs 12-13. Pi 5 only.

Usage: dtoverlay=uart4-pi5,<param>

Params: ctsrts Enable CTS/RTS on GPIOs 14-15 (default off)
[/quote]

[code]dtoverlay -h uart4[/code]
[quote]Name: uart4

Info: Enable uart 4 on GPIOs 8-11. BCM2711 only.

Usage: dtoverlay=uart4,<param>

Params: ctsrts Enable CTS/RTS on GPIOs 10-11 (default off)[/quote]

Statistics: Posted by tt77forever — Thu Sep 26, 2024 10:42 am



Viewing all articles
Browse latest Browse all 2599

Trending Articles