]> git.ipfire.org Git - thirdparty/openwrt.git/blob
c0195aeb035905f20a7013f3548aebba1f2d15d5
[thirdparty/openwrt.git] /
1 From 1ff012598d5827887597b7ff3660c60898f05eaf Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.com>
3 Date: Thu, 21 Dec 2023 15:52:42 +0000
4 Subject: [PATCH 0803/1085] dts: bcm271-rpi-3-b: Make brcmvirt-gpio a firmware
5 child
6
7 The driver makes use of the fact that the firmware node is its parent,
8 so we'd better make it so.
9
10 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
11 ---
12 arch/arm/boot/dts/broadcom/bcm2710-rpi-3-b.dts | 18 +++++++-----------
13 1 file changed, 7 insertions(+), 11 deletions(-)
14
15 --- a/arch/arm/boot/dts/broadcom/bcm2710-rpi-3-b.dts
16 +++ b/arch/arm/boot/dts/broadcom/bcm2710-rpi-3-b.dts
17 @@ -168,17 +168,6 @@
18 };
19 };
20
21 -&soc {
22 - virtgpio: virtgpio {
23 - compatible = "brcm,bcm2835-virtgpio";
24 - gpio-controller;
25 - #gpio-cells = <2>;
26 - firmware = <&firmware>;
27 - status = "okay";
28 - };
29 -
30 -};
31 -
32 &firmware {
33 expgpio: expgpio {
34 compatible = "raspberrypi,firmware-gpio";
35 @@ -194,6 +183,13 @@
36 "PWR_LOW_N";
37 status = "okay";
38 };
39 +
40 + virtgpio: virtgpio {
41 + compatible = "brcm,bcm2835-virtgpio";
42 + gpio-controller;
43 + #gpio-cells = <2>;
44 + status = "okay";
45 + };
46 };
47
48 &uart0 {