dts: bcm271-rpi-3-b: Make brcmvirt-gpio a firmware child
authorPhil Elwell <phil@raspberrypi.com>
Thu, 21 Dec 2023 15:52:42 +0000 (15:52 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:35:25 +0000 (11:35 +0000)
The driver makes use of the fact that the firmware node is its parent,
so we'd better make it so.

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
arch/arm/boot/dts/broadcom/bcm2710-rpi-3-b.dts

index 582c17d..6091b20 100644 (file)
        };
 };
 
-&soc {
-       virtgpio: virtgpio {
-               compatible = "brcm,bcm2835-virtgpio";
-               gpio-controller;
-               #gpio-cells = <2>;
-               firmware = <&firmware>;
-               status = "okay";
-       };
-
-};
-
 &firmware {
        expgpio: expgpio {
                compatible = "raspberrypi,firmware-gpio";
                                  "PWR_LOW_N";
                status = "okay";
        };
+
+       virtgpio: virtgpio {
+               compatible = "brcm,bcm2835-virtgpio";
+               gpio-controller;
+               #gpio-cells = <2>;
+               status = "okay";
+       };
 };
 
 &uart0 {