068a6ed2b704e8c42db11c8bce9dbe7e6294ccad
[openwrt/staging/zorun.git] /
1 From b2e5be264d86cdb6efd770296cf653ba13939e9d Mon Sep 17 00:00:00 2001
2 From: Adrien RICCIARDI <RICCIARDI-Adrien@users.noreply.github.com>
3 Date: Fri, 22 Mar 2019 11:35:30 +0100
4 Subject: [PATCH 379/782] overlays: sdio: Added 4-bit support on GPIOs 34-39.
5 (#2903)
6
7 ---
8 arch/arm/boot/dts/overlays/README | 3 +++
9 arch/arm/boot/dts/overlays/sdio-overlay.dts | 9 +++++++++
10 2 files changed, 12 insertions(+)
11
12 --- a/arch/arm/boot/dts/overlays/README
13 +++ b/arch/arm/boot/dts/overlays/README
14 @@ -1785,6 +1785,9 @@ Params: sdio_overclock SDIO Clo
15 gpios_34_37 Select GPIOs 34-37 for 1-bit mode. Must be used
16 with bus_width=1.
17
18 + gpios_34_39 Select GPIOs 34-39 for 4-bit mode. Must be used
19 + with bus_width=4 (the default).
20 +
21
22 Name: sdio-1bit
23 Info: This overlay is now deprecated. Use
24 --- a/arch/arm/boot/dts/overlays/sdio-overlay.dts
25 +++ b/arch/arm/boot/dts/overlays/sdio-overlay.dts
26 @@ -64,6 +64,14 @@
27 };
28 };
29
30 + fragment@5 {
31 + target = <&sdio_ovl_pins>;
32 + __dormant__ {
33 + brcm,pins = <34 35 36 37 38 39>;
34 + brcm,pull = <0 2 2 2 2 2>;
35 + };
36 + };
37 +
38 fragment@6 {
39 target-path = "/aliases";
40 __overlay__ {
41 @@ -77,5 +85,6 @@
42 sdio_overclock = <&sdio_ovl>,"brcm,overclock-50:0";
43 gpios_22_25 = <0>,"=3";
44 gpios_34_37 = <0>,"=4";
45 + gpios_34_39 = <0>,"=5";
46 };
47 };