Skip to content

Commit 0401e0a

Browse files
Torben Woltjenpelwell
authored andcommitted
Add RPi 5 base device tree with MCP2515 device-tree overlay as an example
1 parent dd3564f commit 0401e0a

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

dtmerge/dtmerge.1

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,12 @@ Produce a device-tree for the Raspberry Pi 3+ in "out.dtb" which includes the
6060
GPIO shutdown overlay (with all parameters set to their default).
6161
.
6262
.TP
63-
.B dtmerge /boot/bcm2710-rpi-3-b-plus.dtb out.dtb /boot/overlays/gpio-shutdown.dtbo gpio_pin=5
64-
Produce a device-tree for the Raspberry Pi 3+ in "out.dtb" which includes the
65-
GPIO shutdown overlay. Additionally, it sets the gpio shutdown pin to 5.
63+
.B dtmerge /boot/bcm2712-rpi-5-b.dtb out.dtb /boot/overlays/mcp2515-can0.dtbo oscillator=12000000 interrupt=25 spimaxfrequency=2000000
64+
Produce a device-tree for the Raspberry Pi 5 in "out.dtb" which includes the
65+
MCP2515 CAN bus module overlay. The overlay is configured with the following
66+
settings: the oscillator frequency is set to 12 MHz (depending on the quartz
67+
crystal used), the interrupt GPIO pin is set to 25, and the SPI frequency is
68+
limited to 2 MHz.
6669
.
6770
.
6871
.SH SEE ALSO

0 commit comments

Comments
 (0)