mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 01:59:02 +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>
61 lines
1.8 KiB
Diff
61 lines
1.8 KiB
Diff
From 61c44e24ea212b92bf6a420b94070ee6fc715811 Mon Sep 17 00:00:00 2001
|
|
From: Phil Elwell <phil@raspberrypi.org>
|
|
Date: Wed, 8 May 2019 10:08:31 +0100
|
|
Subject: [PATCH] BCM270X_DT: usb: Refactor DTS and overlays
|
|
|
|
Move the IRQ interrupt declaration in the usb node before the FIQ
|
|
declaration, so that the dwc2 driver will find it. Name the
|
|
interrupts appropriately so that the dwc_otg driver can still find
|
|
them. Then remove the interrupt rewriting from the overlays.
|
|
|
|
Signed-off-by: Phil Elwell <phil@raspberrypi.org>
|
|
---
|
|
arch/arm/boot/dts/bcm270x.dtsi | 6 ++++--
|
|
arch/arm/boot/dts/overlays/dwc-otg-overlay.dts | 6 ------
|
|
arch/arm/boot/dts/overlays/dwc2-overlay.dts | 2 --
|
|
3 files changed, 4 insertions(+), 10 deletions(-)
|
|
|
|
--- a/arch/arm/boot/dts/bcm270x.dtsi
|
|
+++ b/arch/arm/boot/dts/bcm270x.dtsi
|
|
@@ -131,8 +131,10 @@
|
|
compatible = "brcm,bcm2708-usb";
|
|
reg = <0x7e980000 0x10000>,
|
|
<0x7e006000 0x1000>;
|
|
- interrupts = <2 0>,
|
|
- <1 9>;
|
|
+ interrupt-names = "usb",
|
|
+ "soft";
|
|
+ interrupts = <1 9>,
|
|
+ <2 0>;
|
|
};
|
|
|
|
v3d@7ec00000 { /* vd3 */
|
|
--- a/arch/arm/boot/dts/overlays/dwc-otg-overlay.dts
|
|
+++ b/arch/arm/boot/dts/overlays/dwc-otg-overlay.dts
|
|
@@ -6,14 +6,8 @@
|
|
|
|
fragment@0 {
|
|
target = <&usb>;
|
|
- #address-cells = <1>;
|
|
- #size-cells = <1>;
|
|
__overlay__ {
|
|
compatible = "brcm,bcm2708-usb";
|
|
- reg = <0x7e980000 0x10000>,
|
|
- <0x7e006000 0x1000>;
|
|
- interrupts = <2 0>,
|
|
- <1 9>;
|
|
status = "okay";
|
|
};
|
|
};
|
|
--- a/arch/arm/boot/dts/overlays/dwc2-overlay.dts
|
|
+++ b/arch/arm/boot/dts/overlays/dwc2-overlay.dts
|
|
@@ -10,8 +10,6 @@
|
|
#size-cells = <1>;
|
|
dwc2_usb: __overlay__ {
|
|
compatible = "brcm,bcm2835-usb";
|
|
- reg = <0x7e980000 0x10000>;
|
|
- interrupts = <1 9>;
|
|
dr_mode = "otg";
|
|
g-np-tx-fifo-size = <32>;
|
|
g-rx-fifo-size = <256>;
|