Merge tag 'v5.15.57' into rpi-5.15.y
[platform/kernel/linux-rpi.git] / arch / arm / boot / dts / overlays / pcie-32bit-dma-overlay.dts
1 /*
2  * pcie-32bit-dma-overlay.dts
3  */
4
5 /dts-v1/;
6 /plugin/;
7
8 / {
9         compatible = "brcm,bcm2711";
10
11         fragment@0 {
12                 target-path = "/aliases";
13                 __overlay__ {
14                         /*
15                          * Removing this alias stops the firmware patching the
16                          * PCIE DT dma-ranges based on the detected chip
17                          * revision.
18                          */
19                         pcie0 = "";
20                 };
21         };
22
23         fragment@1 {
24                 target = <&pcie0>;
25                 __overlay__ {
26                         /*
27                          * The size of the range is rounded up to a power of 2,
28                          * so the range ends up being 0-4GB, and the MSI vector
29                          * gets pushed beyond 4GB.
30                          */
31                         #address-cells = <3>;
32                         #size-cells = <2>;
33                         dma-ranges = <0x02000000 0x0 0x00000000 0x0 0x00000000
34                                       0x0 0x80000000>;
35                 };
36         };
37
38 };