Skip to content

Commit 7efe3bf

Browse files
committed
kernel: bcm2835-sdhost: Adjust to core clock changes
kernel: bcm2835-sdhost: Precalc divisors and overclocks kernel: cherry-pick upstream fixes for eth0 hw csum failures See: raspberrypi/linux#1371 See: raspberrypi/linux#1083 kernel: Add configs and overlay for PCA9548 I2C mux kernel: BCM270X_DT: Add DS1339 to i2c-rtc overlay
1 parent 1c5c93b commit 7efe3bf

File tree

455 files changed

+63272
-63211
lines changed

Some content is hidden

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

455 files changed

+63272
-63211
lines changed

boot/fixup.dat

-4 Bytes
Binary file not shown.

boot/fixup_cd.dat

-2 Bytes
Binary file not shown.

boot/fixup_db.dat

0 Bytes
Binary file not shown.

boot/fixup_x.dat

-2 Bytes
Binary file not shown.

boot/kernel.img

1.35 KB
Binary file not shown.

boot/kernel7.img

16 Bytes
Binary file not shown.

boot/overlays/README

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,14 @@ Params:
136136

137137
act_led_activelow Set to "on" to invert the sense of the LED
138138
(default "off")
139+
N.B. For Pi3 see pi3-act-led overlay.
139140

140141
act_led_gpio Set which GPIO to use for the activity LED
141142
(in case you want to connect it to an external
142143
device)
143144
(default "16" on a non-Plus board, "47" on a
144145
Plus or Pi 2)
146+
N.B. For Pi3 see pi3-act-led overlay.
145147

146148
pwr_led_trigger
147149
pwr_led_activelow
@@ -358,11 +360,19 @@ Params: i2c_gpio_sda GPIO used for I2C data (default "23")
358360
(default "2" = ~100kHz)
359361

360362

363+
Name: i2c-mux-pca9548a
364+
Info: Adds support for an NXP PCA9548A I2C multiplexer on i2c_arm
365+
Load: dtoverlay=i2c-mux-pca9548a,<param>=<val>
366+
Params: addr I2C address of PCA9548A (default 0x70)
367+
368+
361369
Name: i2c-rtc
362370
Info: Adds support for a number of I2C Real Time Clock devices
363371
Load: dtoverlay=i2c-rtc,<param>=<val>
364372
Params: ds1307 Select the DS1307 device
365373

374+
ds1339 Select the DS1339 device
375+
366376
ds3231 Select the DS3231 device
367377

368378
mcp7941x Select the MCP7941x device
@@ -373,6 +383,8 @@ Params: ds1307 Select the DS1307 device
373383

374384
pcf8563 Select the PCF8563 device
375385

386+
trickle-resistor-ohms Resistor value for trickle charge (DS1339-only)
387+
376388

377389
Name: i2c0-bcm2708
378390
Info: Enable the i2c_bcm2708 driver for the i2c0 bus
@@ -499,6 +511,23 @@ Params: speed Display SPI bus speed
499511
[ The pcf8563-rtc overlay has been deleted. See i2c-rtc. ]
500512

501513

514+
Name: pi3-act-led
515+
Info: Pi3 uses a GPIO expander to drive the LEDs which can only be accessed
516+
from the VPU. There is a special driver for this with a separate DT
517+
node, which has the unfortunate consequence of breaking the
518+
act_led_gpio and act_led_activelow dtparams.
519+
This overlay changes the GPIO controller back to the standard one and
520+
restores the dtparams.
521+
Load: dtoverlay=pi3-act-led,<param>=<val>
522+
Params: activelow Set to "on" to invert the sense of the LED
523+
(default "off")
524+
525+
gpio Set which GPIO to use for the activity LED
526+
(in case you want to connect it to an external
527+
device)
528+
REQUIRED
529+
530+
502531
Name: pi3-disable-bt
503532
Info: Disable Pi3 Bluetooth and restore UART0/ttyAMA0 over GPIOs 14 & 15
504533
N.B. To disable the systemd service that initialises the modem so it
@@ -683,7 +712,11 @@ Params: <None>
683712

684713

685714
Name: sdhost
686-
Info: Selects the bcm2835-sdhost SD/MMC driver, optionally with overclock
715+
Info: Selects the bcm2835-sdhost SD/MMC driver, optionally with overclock.
716+
N.B. This overlay is designed for situations where the mmc driver is
717+
the default, so it disables the other (mmc) interface - this will kill
718+
WiFi on a Pi3. If this isn't what you want, either use the sdtweak
719+
overlay or the new sd_* dtparams of the base DTBs.
687720
Load: dtoverlay=sdhost,<param>=<val>
688721
Params: overclock_50 Clock (in MHz) to use when the MMC framework
689722
requests 50MHz
@@ -742,6 +775,8 @@ Params: overclock_50 SD Clock (in MHz) to use when the MMC framework
742775

743776
Name: sdtweak
744777
Info: Tunes the bcm2835-sdhost SD/MMC driver
778+
N.B. This functionality is now available via the sd_* dtparams in the
779+
base DTB.
745780
Load: dtoverlay=sdtweak,<param>=<val>
746781
Params: overclock_50 Clock (in MHz) to use when the MMC framework
747782
requests 50MHz

boot/overlays/i2c-mux-pca9548a.dtbo

1.14 KB
Binary file not shown.

boot/overlays/i2c-rtc.dtbo

305 Bytes
Binary file not shown.

boot/overlays/pi3-act-led.dtbo

591 Bytes
Binary file not shown.

boot/start.elf

-128 Bytes
Binary file not shown.

boot/start_cd.elf

-128 Bytes
Binary file not shown.

boot/start_db.elf

-32 Bytes
Binary file not shown.

boot/start_x.elf

-64 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)