c8903408934192c3b7de9aefb58d0b818970024e
[openwrt/openwrt.git] / target / linux / bcm4908 / patches-5.10 / 038-v6.1-0002-arm64-dts-broadcom-bcm4908-add-LEDs-controller-block.patch
1 From 7de56b1dc1149c702d4cc1e89ccc251bfb2bc246 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Mon, 18 Jul 2022 15:20:59 +0200
4 Subject: [PATCH] arm64: dts: broadcom: bcm4908: add LEDs controller block
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 BCM4908 includes LEDs controller that supports multiple brightness
10 levels & hardware blinking.
11
12 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
13 Link: https://lore.kernel.org/r/20220718132100.13277-2-zajec5@gmail.com
14 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
15 ---
16 arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi | 8 ++++++++
17 1 file changed, 8 insertions(+)
18
19 --- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi
20 +++ b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi
21 @@ -517,6 +517,14 @@
22 status = "okay";
23 };
24
25 + leds: leds@800 {
26 + compatible = "brcm,bcm4908-leds", "brcm,bcm63138-leds";
27 + reg = <0x800 0xdc>;
28 +
29 + #address-cells = <1>;
30 + #size-cells = <0>;
31 + };
32 +
33 nand-controller@1800 {
34 #address-cells = <1>;
35 #size-cells = <0>;