mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 10:08:59 +00:00
2e715fb4fc
Add support for BCM2712 (Raspberry Pi 5).
3bb5880ab3
Patches were generated from the diff between linux kernel branch linux-6.1.y
and rpi-6.1.y from raspberry pi kernel source:
- git format-patch linux-6.1.y...rpi-6.1.y
Build system: x86_64
Build-tested: bcm2708, bcm2709, bcm2710, bcm2711
Run-tested: bcm2710/RPi3B, bcm2711/RPi4B
Signed-off-by: Marty Jones <mj8263788@gmail.com>
[Remove applied and reverted patches, squash patches and config commits]
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
60 lines
1.7 KiB
Diff
60 lines
1.7 KiB
Diff
From 82069a7a02632aa60fa5c69415bf891ede7d6fd4 Mon Sep 17 00:00:00 2001
|
|
From: Jonathan Bell <jonathan@raspberrypi.com>
|
|
Date: Tue, 5 Dec 2023 16:55:17 +0000
|
|
Subject: [PATCH] dts: bcm2712: put usb under /axi not /soc
|
|
|
|
On 2712, the DWC USB controller is no longer attached to the Videocore
|
|
30-bit bus with its associated aliases, and can see the bottom 4GB of
|
|
RAM directly.
|
|
|
|
Ideally it should make use of IOMMU6 but for now software bounce buffers
|
|
get it working.
|
|
|
|
Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
|
|
---
|
|
arch/arm/boot/dts/bcm2712.dtsi | 26 +++++++++++++-------------
|
|
1 file changed, 13 insertions(+), 13 deletions(-)
|
|
|
|
--- a/arch/arm/boot/dts/bcm2712.dtsi
|
|
+++ b/arch/arm/boot/dts/bcm2712.dtsi
|
|
@@ -133,19 +133,6 @@
|
|
status = "disabled";
|
|
};
|
|
|
|
- usb: usb@7c480000 {
|
|
- compatible = "brcm,bcm2835-usb";
|
|
- reg = <0x7c480000 0x10000>;
|
|
- interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
|
|
- #address-cells = <1>;
|
|
- #size-cells = <0>;
|
|
- clocks = <&clk_usb>;
|
|
- clock-names = "otg";
|
|
- phys = <&usbphy>;
|
|
- phy-names = "usb2-phy";
|
|
- status = "disabled";
|
|
- };
|
|
-
|
|
mop: mop@7c500000 {
|
|
compatible = "brcm,bcm2712-mop";
|
|
reg = <0x7c500000 0x20>;
|
|
@@ -1145,6 +1132,19 @@
|
|
reg = <0x10 0x00400018 0x0 0x18>;
|
|
};
|
|
|
|
+ usb: usb@480000 {
|
|
+ compatible = "brcm,bcm2835-usb";
|
|
+ reg = <0x10 0x00480000 0x0 0x10000>;
|
|
+ interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ #address-cells = <1>;
|
|
+ #size-cells = <0>;
|
|
+ clocks = <&clk_usb>;
|
|
+ clock-names = "otg";
|
|
+ phys = <&usbphy>;
|
|
+ phy-names = "usb2-phy";
|
|
+ status = "disabled";
|
|
+ };
|
|
+
|
|
rpivid: codec@800000 {
|
|
compatible = "raspberrypi,rpivid-vid-decoder";
|
|
reg = <0x10 0x00800000 0x0 0x10000>, /* HEVC */
|