bcm27xx: add kernel 5.10 support
[openwrt/openwrt.git] / target / linux / bcm27xx / patches-5.10 / 950-0666-ARM-dts-rpi-Add-the-firmware-node-to-vc4.patch
1 From e7a09a6262abe6181514a0b64f79acec8bc3c405 Mon Sep 17 00:00:00 2001
2 From: Maxime Ripard <maxime@cerno.tech>
3 Date: Wed, 23 Jun 2021 11:56:56 +0200
4 Subject: [PATCH] ARM: dts: rpi: Add the firmware node to vc4
5
6 Add the firmware phandle to the vc4 node so that we can send it the
7 message that we're done with the firmware display.
8
9 Signed-off-by: Maxime Ripard <maxime@cerno.tech>
10 ---
11 arch/arm/boot/dts/bcm2711-rpi.dtsi | 4 ++++
12 arch/arm/boot/dts/bcm2835-rpi.dtsi | 4 ++++
13 2 files changed, 8 insertions(+)
14
15 --- a/arch/arm/boot/dts/bcm2711-rpi.dtsi
16 +++ b/arch/arm/boot/dts/bcm2711-rpi.dtsi
17 @@ -35,6 +35,10 @@
18 };
19 };
20
21 +&vc4 {
22 + raspberrypi,firmware = <&firmware>;
23 +};
24 +
25 &cma {
26 /* Limit cma to the lower 768MB to allow room for HIGHMEM on 32-bit */
27 alloc-ranges = <0x0 0x00000000 0x30000000>;
28 --- a/arch/arm/boot/dts/bcm2835-rpi.dtsi
29 +++ b/arch/arm/boot/dts/bcm2835-rpi.dtsi
30 @@ -76,6 +76,10 @@
31 power-domains = <&power RPI_POWER_DOMAIN_USB>;
32 };
33
34 +&vc4 {
35 + raspberrypi,firmware = <&firmware>;
36 +};
37 +
38 &vec {
39 power-domains = <&power RPI_POWER_DOMAIN_VEC>;
40 status = "okay";