openwrt/target/linux/bcm27xx/patches-6.6/950-0795-ARM-dts-bcm2711-rpi-400-Don-t-delete-the-ACT-LED.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

28 lines
913 B
Diff

From a7479ae20b3725616e345e8c6423f5d56d89624b Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.com>
Date: Wed, 13 Dec 2023 10:26:19 +0000
Subject: [PATCH 0795/1085] ARM: dts: bcm2711-rpi-400: Don't delete the ACT LED
The Pi 400 only has one user-accessible LED (green), which is intended
to be used as a power indication. Therefore there is no activity LED.
However, a user may wish to remap the activity LED functionality to a
GPIO in the 40-way header, so preserve the led-act node in a disabled
state.
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
---
arch/arm/boot/dts/broadcom/bcm2711-rpi-400.dts | 2 --
1 file changed, 2 deletions(-)
--- a/arch/arm/boot/dts/broadcom/bcm2711-rpi-400.dts
+++ b/arch/arm/boot/dts/broadcom/bcm2711-rpi-400.dts
@@ -36,8 +36,6 @@
gpios = <&gpio 42 GPIO_ACTIVE_HIGH>;
};
-/delete-node/ &led_act;
-
&pm {
/delete-property/ system-power-controller;
};