Skip to content

dtoverlays

Calin Crisan edited this page Sep 12, 2019 · 2 revisions

File Location And Role

The following paths are searched: /etc/dtoverlays, /boot/dtoverlays and /data/etc/dtoverlays.

They are used to load extra device-tree overlays, using the dtoverlay command. Currently, this function is only implemented for the Raspberry Pi boards.

File Format

Each line in the file must contain the name of a device-tree overlay, followed by any optional parameters. The following example loads the One Wire overlay (used for the DS18B20 temperature sensor), explicitly specifying the GPIO used:

w1-gpio gpiopin=4

Available Overlays

The available overlays are in fact files that live at /boot/overlays. The overlay name is the file name without the .dtbo extension.

Clone this wiki locally