ath25: switch default kernel to 5.15
[openwrt/staging/ldir.git] / target / linux / mvebu / patches-5.10 / 101-mvebu-dt-ARM-dts-turris-omnia-enable-LED-controller-node.patch
1 From fed7cef5e4f2df8c6a79bebf5da1fdd3783ff6f3 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Marek=20Beh=C3=BAn?= <kabel@kernel.org>
3 Date: Mon, 4 Jul 2022 13:36:22 +0200
4 Subject: [PATCH] ARM: dts: turris-omnia: enable LED controller node
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 The LED controller node is disabled because the leds-turris-omnia driver
10 does not support setting the LED blinking to be controlled by the MCU.
11
12 The patches for that have now been sent [1], so let's enable the node.
13
14 [1] https://lore.kernel.org/linux-leds/20220704105955.15474-1-kabel@kernel.org/T/
15
16 Signed-off-by: Marek BehĂșn <kabel@kernel.org>
17 ---
18 arch/arm/boot/dts/armada-385-turris-omnia.dts | 7 ++-----
19 1 file changed, 2 insertions(+), 5 deletions(-)
20
21 --- a/arch/arm/boot/dts/armada-385-turris-omnia.dts
22 +++ b/arch/arm/boot/dts/armada-385-turris-omnia.dts
23 @@ -195,15 +195,13 @@
24 reg = <0x2b>;
25 #address-cells = <1>;
26 #size-cells = <0>;
27 + status = "okay";
28
29 /*
30 * LEDs are controlled by MCU (STM32F0) at
31 * address 0x2b.
32 *
33 - * The driver does not support HW control mode
34 - * for the LEDs yet. Disable the LEDs for now.
35 - *
36 - * Also LED functions are not stable yet:
37 + * LED functions are not stable yet:
38 * - there are 3 LEDs connected via MCU to PCIe
39 * ports. One of these ports supports mSATA.
40 * There is no mSATA nor PCIe function.
41 @@ -214,7 +212,6 @@
42 * B. Again there is no such function defined.
43 * For now we use LED_FUNCTION_INDICATOR
44 */
45 - status = "disabled";
46
47 multi-led@0 {
48 reg = <0x0>;