File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -21,9 +21,9 @@ Install the prerequisites with "sudo apt install cmake libfdt-dev" - you need at
21
21
```
22
22
Usage:
23
23
dtmerge [<options] <base dtb> <merged dtb> - [param=value] ...
24
- to apply a parameter to the base dtb (like dtparam)
24
+ to apply a parameter to the base dtb, without an overlay (like dtparam)
25
25
dtmerge [<options] <base dtb> <merged dtb> <overlay dtb> [param=value] ...
26
- to apply an overlay with parameters (like dtoverlay)
26
+ to apply an overlay, optionally with parameters (like dtoverlay)
27
27
where <options> is any of:
28
28
-d Enable debug output
29
29
-h Show this help message
Original file line number Diff line number Diff line change @@ -52,13 +52,18 @@ Displays help on the application.
52
52
.TP
53
53
.B dtmerge /boot/bcm2711-rpi-4-b.dtb out.dtb - spi=on i2c=on
54
54
Produce a device-tree for the Raspberry Pi 4 in "out.dtb" which has the SPI and
55
- I2C interfaces activated.
55
+ I2C interfaces activated. No additional device-tree overlay is applied.
56
56
.
57
57
.TP
58
58
.B dtmerge /boot/bcm2710-rpi-3-b-plus.dtb out.dtb /boot/overlays/gpio-shutdown.dtbo
59
59
Produce a device-tree for the Raspberry Pi 3+ in "out.dtb" which includes the
60
60
GPIO shutdown overlay (with all parameters set to their default).
61
61
.
62
+ .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.
66
+ .
62
67
.
63
68
.SH SEE ALSO
64
69
.BR dtoverlay (1),
Original file line number Diff line number Diff line change @@ -35,9 +35,9 @@ static void usage(void)
35
35
{
36
36
printf ("Usage:\n" );
37
37
printf (" dtmerge [<options] <base dtb> <merged dtb> - [param=value] ...\n" );
38
- printf (" to apply a parameter to the base dtb (like dtparam)\n" );
38
+ printf (" to apply a parameter to the base dtb, without an overlay (like dtparam)\n" );
39
39
printf (" dtmerge [<options] <base dtb> <merged dtb> <overlay dtb> [param=value] ...\n" );
40
- printf (" to apply an overlay with parameters (like dtoverlay)\n" );
40
+ printf (" to apply an overlay, optionally with parameters (like dtoverlay)\n" );
41
41
printf (" where <options> is any of:\n" );
42
42
printf (" -d Enable debug output\n" );
43
43
printf (" -h Show this help message\n" );
You can’t perform that action at this time.
0 commit comments