File tree 5 files changed +38
-2
lines changed 5 files changed +38
-2
lines changed Original file line number Diff line number Diff line change @@ -226,6 +226,7 @@ dtbo-$(CONFIG_ARCH_BCM2835) += \
226
226
sc16is752-spi1.dtbo \
227
227
sdhost.dtbo \
228
228
sdio.dtbo \
229
+ sdio-pi5.dtbo \
229
230
seeed-can-fd-hat-v1.dtbo \
230
231
seeed-can-fd-hat-v2.dtbo \
231
232
sh1106-spi.dtbo \
Original file line number Diff line number Diff line change @@ -3936,6 +3936,13 @@ Info: This overlay is now deprecated. Use
3936
3936
Load: <Deprecated>
3937
3937
3938
3938
3939
+ Name: sdio-pi5
3940
+ Info: Selects the rp1_mmc0 interface and enables it on GPIOs 22-27.
3941
+ Pi 5 only.
3942
+ Load: dtoverlay=sdio-pi5
3943
+ Params: <None>
3944
+
3945
+
3939
3946
Name: sdtweak
3940
3947
Info: This overlay is now deprecated. Use the sd_* dtparams in the
3941
3948
base DTB, e.g. "dtoverlay=sdtweak,poll_once" becomes
Original file line number Diff line number Diff line change 260
260
deprecated = "use sdio,bus_width=1,gpios_22_25";
261
261
};
262
262
263
+ sdio-pi5 {
264
+ bcm2712;
265
+ };
266
+
263
267
sdtweak {
264
268
deprecated = "use 'dtparam=sd_poll_once' etc.";
265
269
};
Original file line number Diff line number Diff line change
1
+ /dts-v1/;
2
+ /plugin/;
3
+
4
+ /* SDIO/SD/MMC on RP1 bank 0 */
5
+
6
+ /{
7
+ compatible = "brcm,bcm2712";
8
+
9
+ fragment@0 {
10
+ target = <&rp1_mmc0>;
11
+ frag0: __overlay__ {
12
+ status = "okay";
13
+ pinctrl-0 = <&rp1_sdio0_22_27>;
14
+ pinctrl-names = "default";
15
+ };
16
+ };
17
+
18
+ fragment@1 {
19
+ target = <&rp1_sdio_clk0>;
20
+ frag1: __overlay__ {
21
+ status = "okay";
22
+ };
23
+ };
24
+ };
Original file line number Diff line number Diff line change 962
962
963
963
rp1_mmc0: mmc@180000 {
964
964
reg = <0xc0 0x40180000 0x0 0x100>;
965
- compatible = "snps,dwcmshc-sdhci ";
965
+ compatible = "raspberrypi,rp1-dwcmshc ";
966
966
interrupts = <RP1_INT_SDIO0 IRQ_TYPE_LEVEL_HIGH>;
967
967
clocks = <&rp1_clocks RP1_CLK_SYS &sdhci_core
968
968
&rp1_clocks RP1_CLK_SDIO_TIMER
978
978
979
979
rp1_mmc1: mmc@184000 {
980
980
reg = <0xc0 0x40184000 0x0 0x100>;
981
- compatible = "snps,dwcmshc-sdhci ";
981
+ compatible = "raspberrypi,rp1-dwcmshc ";
982
982
interrupts = <RP1_INT_SDIO1 IRQ_TYPE_LEVEL_HIGH>;
983
983
clocks = <&rp1_clocks RP1_CLK_SYS &sdhci_core
984
984
&rp1_clocks RP1_CLK_SDIO_TIMER
You can’t perform that action at this time.
0 commit comments