bcm27xx: add support for linux v5.15
[openwrt/openwrt.git] / target / linux / bcm27xx / patches-5.15 / 950-0531-ARM-dts-Make-vcio-a-child-of-the-firmware-node.patch
1 From 52186b585d8834085c14fc088f1a36cd6184365c Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.com>
3 Date: Tue, 12 Oct 2021 09:59:54 +0100
4 Subject: [PATCH] ARM: dts: Make vcio a child of the firmware node
5
6 In order to resolve a potential startup order bug, the vcio driver has
7 been rewritten as a platform driver that depends on a DT node for
8 its instantiation and to locate the firmware driver.
9
10 Add that DT node.
11
12 See: https://github.com/raspberrypi/linux/issues/4620
13
14 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
15 ---
16 arch/arm/boot/dts/bcm270x-rpi.dtsi | 6 ++++++
17 1 file changed, 6 insertions(+)
18
19 --- a/arch/arm/boot/dts/bcm270x-rpi.dtsi
20 +++ b/arch/arm/boot/dts/bcm270x-rpi.dtsi
21 @@ -152,3 +152,9 @@
22 status = "disabled";
23 };
24 };
25 +
26 +&firmware {
27 + vcio: vcio {
28 + compatible = "raspberrypi,vcio";
29 + };
30 +};