1 From 5e9b9f246802f492e7740ab2589aa8c81df5ef20 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.com>
3 Date: Mon, 2 Mar 2020 15:05:25 +0000
4 Subject: [PATCH] bcm2711-rpi.dtsi: Use upstream pcie node
6 Now that the upstream bcm2711 DT has a pcie DT node there's no need to
9 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
11 arch/arm/boot/dts/bcm2711-rpi-4-b.dts | 2 +-
12 arch/arm/boot/dts/bcm2711-rpi.dtsi | 41 ---------------------------
13 2 files changed, 1 insertion(+), 42 deletions(-)
15 --- a/arch/arm/boot/dts/bcm2711-rpi-4-b.dts
16 +++ b/arch/arm/boot/dts/bcm2711-rpi-4-b.dts
19 /delete-property/ ethernet;
20 /delete-property/ intc;
25 /delete-node/ wifi-pwrseq;
26 --- a/arch/arm/boot/dts/bcm2711-rpi.dtsi
27 +++ b/arch/arm/boot/dts/bcm2711-rpi.dtsi
29 <0x0 0x00000000 0x0 0x00000000 0xfc000000>;
30 dma-ranges = <0x0 0x00000000 0x0 0x00000000 0xfc000000>;
32 - pcie_0: pcie@7d500000 {
33 - reg = <0x0 0x7d500000 0x9310>,
34 - <0x0 0x7e00f300 0x20>;
36 - msi-parent = <&pcie_0>;
37 - #address-cells = <3>;
38 - #interrupt-cells = <1>;
40 - bus-range = <0x0 0x01>;
41 - compatible = "brcm,bcm2711b0-pcie", // Safe value
42 - "brcm,bcm2711-pcie",
43 - "brcm,pci-plat-dev";
44 - max-link-speed = <2>;
46 - linux,pci-domain = <0>;
47 - interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
48 - <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
49 - interrupt-names = "pcie", "msi";
50 - interrupt-map-mask = <0x0 0x0 0x0 0x7>;
51 - interrupt-map = <0 0 0 1 &gicv2 GIC_SPI 143
53 - 0 0 0 2 &gicv2 GIC_SPI 144
55 - 0 0 0 3 &gicv2 GIC_SPI 145
57 - 0 0 0 4 &gicv2 GIC_SPI 146
58 - IRQ_TYPE_LEVEL_HIGH>;
60 - /* Map outbound accesses from scb:0x6_00000000-03ffffff
61 - * to pci:0x0_f8000000-fbffffff
63 - ranges = <0x02000000 0x0 0xf8000000 0x6 0x00000000
65 - /* Map inbound accesses from pci:0x0_00000000..ffffffff
66 - * to scb:0x0_00000000-ffffffff
68 - dma-ranges = <0x02000000 0x0 0x00000000 0x0 0x00000000
74 compatible = "brcm,bcm2711-dma";
75 reg = <0x0 0x7e007b00 0x400>;