mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +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>
74 lines
1.9 KiB
Diff
74 lines
1.9 KiB
Diff
From dadcb33e1f4ee70bc77da7fa7054b8571a22d5ea Mon Sep 17 00:00:00 2001
|
|
From: Phil Elwell <phil@raspberrypi.org>
|
|
Date: Thu, 30 May 2019 12:25:29 +0100
|
|
Subject: [PATCH] overlays: Fix mmc-related overlays after refactor
|
|
|
|
The addition of the mmcnr node to the base dtbs caused some overlays to
|
|
not work as they should. Patch up pi3-disable-wifi, balena-fin and
|
|
sdhost.
|
|
|
|
Signed-off-by: Phil Elwell <phil@raspberrypi.org>
|
|
---
|
|
arch/arm/boot/dts/overlays/balena-fin-overlay.dts | 7 ++++---
|
|
arch/arm/boot/dts/overlays/pi3-disable-wifi-overlay.dts | 7 +++++++
|
|
arch/arm/boot/dts/overlays/sdhost-overlay.dts | 7 +++++++
|
|
3 files changed, 18 insertions(+), 3 deletions(-)
|
|
|
|
--- a/arch/arm/boot/dts/overlays/balena-fin-overlay.dts
|
|
+++ b/arch/arm/boot/dts/overlays/balena-fin-overlay.dts
|
|
@@ -5,13 +5,12 @@
|
|
compatible = "brcm,bcm2835";
|
|
|
|
fragment@0 {
|
|
- target = <&mmc>;
|
|
- sdio_wifi: __overlay__ {
|
|
+ target = <&mmcnr>;
|
|
+ __overlay__ {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&sdio_pins>;
|
|
bus-width = <4>;
|
|
brcm,overclock-50 = <35>;
|
|
- non-removable;
|
|
status = "okay";
|
|
};
|
|
};
|
|
@@ -43,6 +42,8 @@
|
|
compatible = "gpio-poweroff";
|
|
gpios = <&gpio 40 1>;
|
|
force;
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&power_ctrl_pins>;
|
|
};
|
|
|
|
i2c_soft: i2c@0 {
|
|
--- a/arch/arm/boot/dts/overlays/pi3-disable-wifi-overlay.dts
|
|
+++ b/arch/arm/boot/dts/overlays/pi3-disable-wifi-overlay.dts
|
|
@@ -10,4 +10,11 @@
|
|
status = "disabled";
|
|
};
|
|
};
|
|
+
|
|
+ fragment@1 {
|
|
+ target = <&mmcnr>;
|
|
+ __overlay__ {
|
|
+ status = "disabled";
|
|
+ };
|
|
+ };
|
|
};
|
|
--- a/arch/arm/boot/dts/overlays/sdhost-overlay.dts
|
|
+++ b/arch/arm/boot/dts/overlays/sdhost-overlay.dts
|
|
@@ -22,6 +22,13 @@
|
|
};
|
|
};
|
|
|
|
+ fragment@2 {
|
|
+ target = <&mmcnr>;
|
|
+ __overlay__ {
|
|
+ status = "disabled";
|
|
+ };
|
|
+ };
|
|
+
|
|
__overrides__ {
|
|
overclock_50 = <&frag0>,"brcm,overclock-50:0";
|
|
force_pio = <&frag0>,"brcm,force-pio?";
|