Skip to content

Commit 3ee53c2

Browse files
Phil Elwellpopcornmix
Phil Elwell
authored andcommitted
BCM270X_DT: Add sdio_overclock parameter
The Arasan MMC interface is used on some RPis to drive the SDIO link to the WiFi controller. The downstream bcm2835-mmc driver, like the bcm2835-sdhost driver, can be over- (or under-) clocked. Add a common parameter - sdio_overclock - to all DTBs to control it. Signed-off-by: Phil Elwell <[email protected]>
1 parent 67d2ac6 commit 3ee53c2

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

arch/arm/boot/dts/bcm2708-rpi.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@
115115
sd_force_pio = <&sdhost>,"brcm,force-pio?";
116116
sd_pio_limit = <&sdhost>,"brcm,pio-limit:0";
117117
sd_debug = <&sdhost>,"brcm,debug";
118+
sdio_overclock = <&mmc>,"brcm,overclock-50:0";
118119
axiperf = <&axiperf>,"status";
119120
};
120121
};

arch/arm/boot/dts/overlays/README

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,9 @@ Params:
139139

140140
sd_debug Enable debug output from SD driver (default off)
141141

142+
sdio_overclock Clock (in MHz) to use when the MMC framework
143+
requests 50MHz for the SDIO/WiFi interface.
144+
142145
tx_lpi_timer Set the delay in microseconds between going idle
143146
and entering the low power state (default 600).
144147
Requires EEE to be enabled - see "eee".

0 commit comments

Comments
 (0)