bcm53xx: backport accepted BCM5301X and BCM53573 patches
[openwrt/openwrt.git] / target / linux / bcm53xx / patches-4.4 / 047-0008-ARM-dts-BCM53573-Add-Tenda-AC9-2-GHz-LED.patch
1 From 86cd47e761c773f2384ac2041730d7ccfeb40095 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Tue, 14 Feb 2017 17:49:06 +0100
4 Subject: [PATCH] ARM: dts: BCM53573: Add Tenda AC9 2 GHz LED
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 It's connected to a GPIO pin of an extra controller placed on the PCIe
10 card.
11
12 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
13 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
14 ---
15 arch/arm/boot/dts/bcm47189-tenda-ac9.dts | 10 ++++++++++
16 1 file changed, 10 insertions(+)
17
18 --- a/arch/arm/boot/dts/bcm47189-tenda-ac9.dts
19 +++ b/arch/arm/boot/dts/bcm47189-tenda-ac9.dts
20 @@ -48,6 +48,16 @@
21 };
22 };
23
24 + pcie0_leds {
25 + compatible = "gpio-leds";
26 +
27 + 2ghz {
28 + label = "bcm53xx:blue:2ghz";
29 + gpios = <&pcie0_chipcommon 3 GPIO_ACTIVE_HIGH>;
30 + linux,default-trigger = "default-off";
31 + };
32 + };
33 +
34 gpio-keys {
35 compatible = "gpio-keys";
36 #address-cells = <1>;