mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 17:18:59 +00:00
7d7aa2fd92
This change makes the names of Broadcom targets consistent by using the common notation based on SoC/CPU ID (which is used internally anyway), bcmXXXX instead of brcmXXXX. This is even used for target TITLE in make menuconfig already, only the short target name used brcm so far. Despite, since subtargets range from bcm2708 to bcm2711, it seems appropriate to use bcm27xx instead of bcm2708 (again, as already done for BOARDNAME). This also renames the packages brcm2708-userland and brcm2708-gpu-fw. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Acked-by: Álvaro Fernández Rojas <noltari@gmail.com>
48 lines
1.4 KiB
Diff
48 lines
1.4 KiB
Diff
From 7c23c772289fa31960b9e6969499aa93c92d842b Mon Sep 17 00:00:00 2001
|
|
From: Adrien RICCIARDI <RICCIARDI-Adrien@users.noreply.github.com>
|
|
Date: Fri, 22 Mar 2019 11:35:30 +0100
|
|
Subject: [PATCH] overlays: sdio: Added 4-bit support on GPIOs 34-39.
|
|
(#2903)
|
|
|
|
---
|
|
arch/arm/boot/dts/overlays/README | 3 +++
|
|
arch/arm/boot/dts/overlays/sdio-overlay.dts | 9 +++++++++
|
|
2 files changed, 12 insertions(+)
|
|
|
|
--- a/arch/arm/boot/dts/overlays/README
|
|
+++ b/arch/arm/boot/dts/overlays/README
|
|
@@ -1785,6 +1785,9 @@ Params: sdio_overclock SDIO Clo
|
|
gpios_34_37 Select GPIOs 34-37 for 1-bit mode. Must be used
|
|
with bus_width=1.
|
|
|
|
+ gpios_34_39 Select GPIOs 34-39 for 4-bit mode. Must be used
|
|
+ with bus_width=4 (the default).
|
|
+
|
|
|
|
Name: sdio-1bit
|
|
Info: This overlay is now deprecated. Use
|
|
--- a/arch/arm/boot/dts/overlays/sdio-overlay.dts
|
|
+++ b/arch/arm/boot/dts/overlays/sdio-overlay.dts
|
|
@@ -64,6 +64,14 @@
|
|
};
|
|
};
|
|
|
|
+ fragment@5 {
|
|
+ target = <&sdio_ovl_pins>;
|
|
+ __dormant__ {
|
|
+ brcm,pins = <34 35 36 37 38 39>;
|
|
+ brcm,pull = <0 2 2 2 2 2>;
|
|
+ };
|
|
+ };
|
|
+
|
|
fragment@6 {
|
|
target-path = "/aliases";
|
|
__overlay__ {
|
|
@@ -77,5 +85,6 @@
|
|
sdio_overclock = <&sdio_ovl>,"brcm,overclock-50:0";
|
|
gpios_22_25 = <0>,"=3";
|
|
gpios_34_37 = <0>,"=4";
|
|
+ gpios_34_39 = <0>,"=5";
|
|
};
|
|
};
|