bcm27xx: update 6.1 patches to latest version
[openwrt/staging/svanheule.git] / target / linux / bcm27xx / patches-6.1 / 950-1186-dts-bcm2712-put-usb-under-axi-not-soc.patch
1 From 82069a7a02632aa60fa5c69415bf891ede7d6fd4 Mon Sep 17 00:00:00 2001
2 From: Jonathan Bell <jonathan@raspberrypi.com>
3 Date: Tue, 5 Dec 2023 16:55:17 +0000
4 Subject: [PATCH] dts: bcm2712: put usb under /axi not /soc
5
6 On 2712, the DWC USB controller is no longer attached to the Videocore
7 30-bit bus with its associated aliases, and can see the bottom 4GB of
8 RAM directly.
9
10 Ideally it should make use of IOMMU6 but for now software bounce buffers
11 get it working.
12
13 Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
14 ---
15 arch/arm/boot/dts/bcm2712.dtsi | 26 +++++++++++++-------------
16 1 file changed, 13 insertions(+), 13 deletions(-)
17
18 --- a/arch/arm/boot/dts/bcm2712.dtsi
19 +++ b/arch/arm/boot/dts/bcm2712.dtsi
20 @@ -133,19 +133,6 @@
21 status = "disabled";
22 };
23
24 - usb: usb@7c480000 {
25 - compatible = "brcm,bcm2835-usb";
26 - reg = <0x7c480000 0x10000>;
27 - interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
28 - #address-cells = <1>;
29 - #size-cells = <0>;
30 - clocks = <&clk_usb>;
31 - clock-names = "otg";
32 - phys = <&usbphy>;
33 - phy-names = "usb2-phy";
34 - status = "disabled";
35 - };
36 -
37 mop: mop@7c500000 {
38 compatible = "brcm,bcm2712-mop";
39 reg = <0x7c500000 0x20>;
40 @@ -1145,6 +1132,19 @@
41 reg = <0x10 0x00400018 0x0 0x18>;
42 };
43
44 + usb: usb@480000 {
45 + compatible = "brcm,bcm2835-usb";
46 + reg = <0x10 0x00480000 0x0 0x10000>;
47 + interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
48 + #address-cells = <1>;
49 + #size-cells = <0>;
50 + clocks = <&clk_usb>;
51 + clock-names = "otg";
52 + phys = <&usbphy>;
53 + phy-names = "usb2-phy";
54 + status = "disabled";
55 + };
56 +
57 rpivid: codec@800000 {
58 compatible = "raspberrypi,rpivid-vid-decoder";
59 reg = <0x10 0x00800000 0x0 0x10000>, /* HEVC */