Accepting request 751445 from home:mbrugger:branches:hardware:boot

- Add rpi4-genet-overlay.dts which sets the upstream compatible for the
  network device. (jsc#SLE-7771)

OBS-URL: https://build.opensuse.org/request/show/751445
OBS-URL: https://build.opensuse.org/package/show/hardware:boot/raspberrypi-firmware-dt?expand=0&rev=31
This commit is contained in:
Guillaume GARDET 2019-11-27 19:24:54 +00:00 committed by Git OBS Bridge
parent bc2125b7db
commit 4925c858d9
3 changed files with 26 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Nov 27 17:42:56 UTC 2019 - Matthias Brugger <mbrugger@suse.com>
- Add rpi4-genet-overlay.dts which sets the upstream compatible for the
network device. (jsc#SLE-7771)
-------------------------------------------------------------------
Tue Nov 26 17:21:44 UTC 2019 - Nicolas Patricio Saenz Julienne <nsaenzjulienne@suse.com>

View File

@ -27,6 +27,7 @@ Source: raspberrypi-firmware-dt-%{version}.tar.xz
Source1: disable-vc4-overlay.dts
Source2: rpi4-cma-overlay.dts
Source3: rpi4-pcie-ib-size-fix-overlay.dts
Source4: rpi4-genet-overlay.dts
Source100: get-from-git.sh
Requires: raspberrypi-firmware
BuildRequires: dtc
@ -54,7 +55,7 @@ for dts in arch/arm/boot/dts/bcm27*dts arch/arm64/boot/dts/broadcom/bcm27*dts; d
done
export DTC_FLAGS="-R 0 -p 0 -@ -H epapr"
for dts in arch/arm/boot/dts/overlays/*dts %{SOURCE1} %{SOURCE2} %{SOURCE3}; do
for dts in arch/arm/boot/dts/overlays/*dts %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4}; do
target=$(basename ${dts%*.dts})
target=${target%*-overlay}
mkdir -p $PPDIR/overlays

18
rpi4-genet-overlay.dts Normal file
View File

@ -0,0 +1,18 @@
/*
* The PCie controller on the RPi4 has a HW bug that prevents it from accessing
* memory higher than 0xc0000000. This fixes the dma-ranges so this is
* reflected. In the future close future this will be fixed by firmware.
*/
/dts-v1/;
/plugin/;
/{
compatible = "brcm,bcm2711";
fragment@0 {
target = <&genet>;
__overlay__ {
compatible = "brcm,bcm2711-genet-v5";
};
};
};