Skip to content

Commit d095b96

Browse files
committed
1 parent 83977fe commit d095b96

File tree

6,160 files changed

+189051
-182526
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

6,160 files changed

+189051
-182526
lines changed

boot/bcm2708-rpi-0-w.dtb

54 Bytes
Binary file not shown.

boot/bcm2708-rpi-b-plus.dtb

54 Bytes
Binary file not shown.

boot/bcm2708-rpi-b.dtb

54 Bytes
Binary file not shown.

boot/bcm2708-rpi-cm.dtb

54 Bytes
Binary file not shown.

boot/bcm2709-rpi-2-b.dtb

78 Bytes
Binary file not shown.

boot/bcm2710-rpi-3-b-plus.dtb

174 Bytes
Binary file not shown.

boot/bcm2710-rpi-3-b.dtb

158 Bytes
Binary file not shown.

boot/bcm2710-rpi-cm3.dtb

158 Bytes
Binary file not shown.

boot/kernel.img

290 KB
Binary file not shown.

boot/kernel7.img

321 KB
Binary file not shown.

boot/overlays/README

Lines changed: 56 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -56,23 +56,29 @@ have its contents deleted (or commented out).
5656
Using Overlays
5757
==============
5858

59-
Overlays are loaded using the "dtoverlay" directive. As an example, consider
60-
the popular lirc-rpi module, the Linux Infrared Remote Control driver. In the
61-
pre-DT world this would be loaded from /etc/modules, with an explicit
62-
"modprobe lirc-rpi" command, or programmatically by lircd. With DT enabled,
63-
this becomes a line in config.txt:
59+
Overlays are loaded using the "dtoverlay" config.txt setting. As an example,
60+
consider I2C Real Time Clock drivers. In the pre-DT world these would be loaded
61+
by writing a magic string comprising a device identifier and an I2C address to
62+
a special file in /sys/class/i2c-adapter, having first loaded the driver for
63+
the I2C interface and the RTC device - something like this:
6464

65-
dtoverlay=lirc-rpi
65+
modprobe i2c-bcm2835
66+
modprobe rtc-ds1307
67+
echo ds1307 0x68 > /sys/class/i2c-adapter/i2c-1/new_device
6668

67-
This causes the file /boot/overlays/lirc-rpi.dtbo to be loaded. By
68-
default it will use GPIOs 17 (out) and 18 (in), but this can be modified using
69-
DT parameters:
69+
With DT enabled, this becomes a line in config.txt:
7070

71-
dtoverlay=lirc-rpi,gpio_out_pin=17,gpio_in_pin=13
71+
dtoverlay=i2c-rtc,ds1307
7272

73-
Parameters always have default values, although in some cases (e.g. "w1-gpio")
74-
it is necessary to provided multiple overlays in order to get the desired
75-
behaviour. See the list of overlays below for a description of the parameters
73+
This causes the file /boot/overlays/i2c-rtc.dtbo to be loaded and a "node"
74+
describing the DS1307 I2C device to be added to the Device Tree for the Pi. By
75+
default it usees address 0x68, but this can be modified with an additional DT
76+
parameter:
77+
78+
dtoverlay=i2c-rtc,ds1307,addr=0x68
79+
80+
Parameters usually have default values, although certain parameters are
81+
mandatory. See the list of overlays below for a description of the parameters
7682
and their defaults.
7783

7884
The Overlay and Parameter Reference
@@ -292,7 +298,9 @@ Info: Analog Devices ADV7282M analogue video to CSI2 bridge.
292298
Uses Unicam1, which is the standard camera connector on most Pi
293299
variants.
294300
Load: dtoverlay=adv7282m,<param>=<val>
295-
Params: i2c_pins_28_29 Use pins 28&29 for the I2C instead of 44&45.
301+
Params: i2c_pins_0_1 Use pins 0&1 for the I2C instead of 44&45.
302+
Useful on Compute Modules.
303+
i2c_pins_28_29 Use pins 28&29 for the I2C instead of 44&45.
296304
This is required for Pi B+, 2, 0, and 0W.
297305
addr Overrides the I2C address (default 0x21)
298306

@@ -301,7 +309,9 @@ Name: adv728x-m
301309
Info: Analog Devices ADV728[0|1|2]-M analogue video to CSI2 bridges.
302310
This is a wrapper for adv7282m, and defaults to ADV7282M.
303311
Load: dtoverlay=adv728x-m,<param>=<val>
304-
Params: i2c_pins_28_29 Use pins 28&29 for the I2C instead of 44&45.
312+
Params: i2c_pins_0_1 Use pins 0&1 for the I2C instead of 44&45.
313+
Useful on Compute Modules.
314+
i2c_pins_28_29 Use pins 28&29 for the I2C instead of 44&45.
305315
This is required for Pi B+, 2, 0, and 0W.
306316
addr Overrides the I2C address (default 0x21)
307317
adv7280m Select ADV7280-M.
@@ -608,7 +618,7 @@ Load: dtoverlay=gpio-ir,<param>=<val>
608618
Params: gpio_pin Input pin number. Default is 18.
609619

610620
gpio_pull Desired pull-up/down state (off, down, up)
611-
Default is "down".
621+
Default is "up".
612622

613623
rc-map-name Default rc keymap (can also be changed by
614624
ir-keytable), defaults to "rc-rc6-mce"
@@ -769,6 +779,27 @@ Params: 24db_digital_gain Allow gain to be applied via the PCM512x codec
769779
master for bit clock and frame clock.
770780

771781

782+
Name: hifiberry-dacplusadc
783+
Info: Configures the HifiBerry DAC+ADC audio card
784+
Load: dtoverlay=hifiberry-dacplusadc,<param>=<val>
785+
Params: 24db_digital_gain Allow gain to be applied via the PCM512x codec
786+
Digital volume control. Enable with
787+
"dtoverlay=hifiberry-dacplus,24db_digital_gain"
788+
(The default behaviour is that the Digital
789+
volume control is limited to a maximum of
790+
0dB. ie. it can attenuate but not provide
791+
gain. For most users, this will be desired
792+
as it will prevent clipping. By appending
793+
the 24dB_digital_gain parameter, the Digital
794+
volume control will allow up to 24dB of
795+
gain. If this parameter is enabled, it is the
796+
responsibility of the user to ensure that
797+
the Digital volume control is set to a value
798+
that does not result in clipping/distortion!)
799+
slave Force DAC+ Pro into slave mode, using Pi as
800+
master for bit clock and frame clock.
801+
802+
772803
Name: hifiberry-digi
773804
Info: Configures the HifiBerry Digi and Digi+ audio card
774805
Load: dtoverlay=hifiberry-digi
@@ -1138,29 +1169,8 @@ Params: <None>
11381169

11391170

11401171
Name: lirc-rpi
1141-
Info: Configures lirc-rpi (Linux Infrared Remote Control for Raspberry Pi)
1142-
Consult the module documentation for more details.
1143-
Load: dtoverlay=lirc-rpi,<param>=<val>
1144-
Params: gpio_out_pin GPIO for output (default "17")
1145-
1146-
gpio_in_pin GPIO for input (default "18")
1147-
1148-
gpio_in_pull Pull up/down/off on the input pin
1149-
(default "down")
1150-
1151-
sense Override the IR receive auto-detection logic:
1152-
"0" = force active-high
1153-
"1" = force active-low
1154-
"-1" = use auto-detection
1155-
(default "-1")
1156-
1157-
softcarrier Turn the software carrier "on" or "off"
1158-
(default "on")
1159-
1160-
invert "on" = invert the output pin (default "off")
1161-
1162-
debug "on" = enable additional debug messages
1163-
(default "off")
1172+
Info: This overlay has been deprecated and removed - see gpio-ir
1173+
Load: <Deprecated>
11641174

11651175

11661176
Name: ltc294x
@@ -1356,7 +1366,10 @@ Info: Omnivision OV5647 camera module.
13561366
Uses Unicam 1, which is the standard camera connector on most Pi
13571367
variants.
13581368
Load: dtoverlay=ov5647,<param>=<val>
1359-
Params: i2c_pins_28_29 Use pins 28&29 for the I2C instead of 44&45.
1369+
Params: i2c_pins_0_1 Use pins 0&1 for the I2C instead of 44&45.
1370+
Useful on Compute Modules.
1371+
1372+
i2c_pins_28_29 Use pins 28&29 for the I2C instead of 44&45.
13601373
This is required for Pi B+, 2, 0, and 0W.
13611374

13621375

@@ -2015,6 +2028,9 @@ Params: 4lane Use 4 lanes (only applicable to Compute Modules
20152028
(574Mbit/s) and 486000000 (972Mbit/s - default)
20162029
are supported by the driver.
20172030

2031+
i2c_pins_0_1 Use pins 0&1 for the I2C instead of 44&45.
2032+
Useful on Compute Modules.
2033+
20182034
i2c_pins_28_29 Use pins 28&29 for the I2C instead of 44&45.
20192035
This is required for Pi B+, 2, 0, and 0W.
20202036

boot/overlays/adv7282m.dtbo

149 Bytes
Binary file not shown.

boot/overlays/adv728x-m.dtbo

149 Bytes
Binary file not shown.

boot/overlays/gpio-ir.dtbo

0 Bytes
Binary file not shown.
1.89 KB
Binary file not shown.

boot/overlays/lirc-rpi.dtbo

-1.32 KB
Binary file not shown.

boot/overlays/ov5647.dtbo

153 Bytes
Binary file not shown.

boot/overlays/pitft28-resistive.dtbo

-32 Bytes
Binary file not shown.

boot/overlays/pitft35-resistive.dtbo

-32 Bytes
Binary file not shown.

boot/overlays/qca7000.dtbo

80 Bytes
Binary file not shown.

boot/overlays/rpi-cirrus-wm5102.dtbo

160 Bytes
Binary file not shown.

boot/overlays/rpi-tv.dtbo

80 Bytes
Binary file not shown.

boot/overlays/smi-nand.dtbo

-32 Bytes
Binary file not shown.

boot/overlays/tc358743.dtbo

149 Bytes
Binary file not shown.

boot/overlays/tinylcd35.dtbo

-32 Bytes
Binary file not shown.

boot/overlays/upstream.dtbo

116 Bytes
Binary file not shown.

boot/overlays/vc4-kms-v3d.dtbo

116 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)