3
0
mirror of https://github.com/Qortal/Brooklyn.git synced 2025-01-31 15:22:18 +00:00
Brooklyn/arch/arm/boot/dts/overlays/pcie-32bit-dma-overlay.dts
2022-04-02 18:06:56 +05:00

39 lines
673 B
Plaintext

/*
* pcie-32bit-dma-overlay.dts
*/
/dts-v1/;
/plugin/;
/ {
compatible = "brcm,bcm2711";
fragment@0 {
target-path = "/aliases";
__overlay__ {
/*
* Removing this alias stops the firmware patching the
* PCIE DT dma-ranges based on the detected chip
* revision.
*/
pcie0 = "";
};
};
fragment@1 {
target = <&pcie0>;
__overlay__ {
/*
* The size of the range is rounded up to a power of 2,
* so the range ends up being 0-4GB, and the MSI vector
* gets pushed beyond 4GB.
*/
#address-cells = <3>;
#size-cells = <2>;
dma-ranges = <0x02000000 0x0 0x00000000 0x0 0x00000000
0x0 0x80000000>;
};
};
};