openwrt/target/linux/bcm27xx/patches-6.6/950-0803-dts-bcm271-rpi-3-b-Make-brcmvirt-gpio-a-firmware-chi.patch
Álvaro Fernández Rojas 8c405cdccc bcm27xx: add 6.6 kernel patches
The patches were generated from the RPi repo with the following command:
git format-patch v6.6.34..rpi-6.1.y

Some patches needed rebasing and, as usual, the applied and reverted, wireless
drivers, Github workflows, READMEs and defconfigs patches were removed.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-06-18 18:52:49 +02:00

49 lines
1.1 KiB
Diff

From 1ff012598d5827887597b7ff3660c60898f05eaf Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.com>
Date: Thu, 21 Dec 2023 15:52:42 +0000
Subject: [PATCH 0803/1085] dts: bcm271-rpi-3-b: Make brcmvirt-gpio a firmware
child
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 | 18 +++++++-----------
1 file changed, 7 insertions(+), 11 deletions(-)
--- a/arch/arm/boot/dts/broadcom/bcm2710-rpi-3-b.dts
+++ b/arch/arm/boot/dts/broadcom/bcm2710-rpi-3-b.dts
@@ -168,17 +168,6 @@
};
};
-&soc {
- virtgpio: virtgpio {
- compatible = "brcm,bcm2835-virtgpio";
- gpio-controller;
- #gpio-cells = <2>;
- firmware = <&firmware>;
- status = "okay";
- };
-
-};
-
&firmware {
expgpio: expgpio {
compatible = "raspberrypi,firmware-gpio";
@@ -194,6 +183,13 @@
"PWR_LOW_N";
status = "okay";
};
+
+ virtgpio: virtgpio {
+ compatible = "brcm,bcm2835-virtgpio";
+ gpio-controller;
+ #gpio-cells = <2>;
+ status = "okay";
+ };
};
&uart0 {