1
0
mirror of https://github.com/home-assistant/operating-system.git synced 2025-12-19 18:08:29 +00:00
Files
operating-system/buildroot-external/board/raspberrypi/yellow/patches/linux/0015-ARM-dts-bcm2711-yellow-Fix-leds-node-referencing-aft.patch
Jan Čermák c6338f1576 Update RPi kernel to 6.12.20 (#4036)
* Update RPi kernel to 6.12.20

Update to latest stable RPi kernel and remove unnecessary 6.6.y kernel config
fragments.

* Refresh RPi and Yellow patches

Rebase all patches on 6.12.20, remove patches that are already present
upstream.

* Update Yellow device trees for 6.12.20

Upstream changes broke our downstream device trees. While the CM4 fix was
trivial, there were more changes in the CM5 device tree due to adaptation to
upstream code. To simplify future maintenance, DTS was refactored to reuse CM5
DTS include and override only what's necessary.

* Bump buildroot to update to matching package/rpi-firmware

* buildroot ead21eb6d2...cd82256125 (1):
  > package/rpi-firmware: bump version to f49a396 (1.20250326)
2025-04-23 19:01:50 +02:00

42 lines
1.4 KiB
Diff

From e59c8869089fd28889fa6bb680ebabc2e0db8378 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20=C4=8Cerm=C3=A1k?= <sairon@sairon.cz>
Date: Tue, 9 Apr 2024 14:18:17 +0200
Subject: [PATCH] ARM: dts: bcm2711: yellow: Fix leds node referencing after
included dtsi changes
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
After a change [1] in the included bcm2835-rpi.dtsi it is no longer possible to
reference leds node and the compatible string is missing. It was moved to
bcm283x-rpi-led-deprecated.dtsi, but instead of including that, take over
control and define it in Yellow DTS (like it's done e.g. for RPi 5 DTS).
[1] https://lore.kernel.org/all/20221110173105.6633-3-stefan.wahren@i2se.com/
Signed-off-by: Jan Čermák <sairon@sairon.cz>
---
arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4-ha-yellow.dts | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4-ha-yellow.dts b/arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4-ha-yellow.dts
index 26033f2d30d0c..b3d57a53d2224 100644
--- a/arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4-ha-yellow.dts
+++ b/arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4-ha-yellow.dts
@@ -45,9 +45,14 @@ user {
};
};
- leds {
+ leds: leds {
+ compatible = "gpio-leds";
+
led-act {
+ label = "ACT";
gpios = <&gpio 42 GPIO_ACTIVE_HIGH>;
+ default-state = "keep";
+ linux,default-trigger = "heartbeat";
};
led-pwr {