diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2017-02-28 22:34:13 +0100 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2017-02-28 22:52:46 +0100 |
commit | 2677b66f9ba31dccbf3c815776fb6125fd9bfed3 (patch) | |
tree | 8e2e68f775a400a71a8bd2e480a509e83573bc25 /target/linux/bcm53xx/patches-4.9/033-0008-ARM-dts-BCM53573-Add-Tenda-AC9-2-GHz-LED.patch | |
parent | f9da6238e49e90f5e687b9f205583af264c029a1 (diff) | |
download | upstream-2677b66f9ba31dccbf3c815776fb6125fd9bfed3.tar.gz upstream-2677b66f9ba31dccbf3c815776fb6125fd9bfed3.tar.bz2 upstream-2677b66f9ba31dccbf3c815776fb6125fd9bfed3.zip |
bcm53xx: backport accepted BCM5301X and BCM53573 patches
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'target/linux/bcm53xx/patches-4.9/033-0008-ARM-dts-BCM53573-Add-Tenda-AC9-2-GHz-LED.patch')
-rw-r--r-- | target/linux/bcm53xx/patches-4.9/033-0008-ARM-dts-BCM53573-Add-Tenda-AC9-2-GHz-LED.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/target/linux/bcm53xx/patches-4.9/033-0008-ARM-dts-BCM53573-Add-Tenda-AC9-2-GHz-LED.patch b/target/linux/bcm53xx/patches-4.9/033-0008-ARM-dts-BCM53573-Add-Tenda-AC9-2-GHz-LED.patch new file mode 100644 index 0000000000..9de64021d1 --- /dev/null +++ b/target/linux/bcm53xx/patches-4.9/033-0008-ARM-dts-BCM53573-Add-Tenda-AC9-2-GHz-LED.patch @@ -0,0 +1,36 @@ +From 86cd47e761c773f2384ac2041730d7ccfeb40095 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl> +Date: Tue, 14 Feb 2017 17:49:06 +0100 +Subject: [PATCH] ARM: dts: BCM53573: Add Tenda AC9 2 GHz LED +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +It's connected to a GPIO pin of an extra controller placed on the PCIe +card. + +Signed-off-by: Rafał Miłecki <rafal@milecki.pl> +Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> +--- + arch/arm/boot/dts/bcm47189-tenda-ac9.dts | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +--- a/arch/arm/boot/dts/bcm47189-tenda-ac9.dts ++++ b/arch/arm/boot/dts/bcm47189-tenda-ac9.dts +@@ -48,6 +48,16 @@ + }; + }; + ++ pcie0_leds { ++ compatible = "gpio-leds"; ++ ++ 2ghz { ++ label = "bcm53xx:blue:2ghz"; ++ gpios = <&pcie0_chipcommon 3 GPIO_ACTIVE_HIGH>; ++ linux,default-trigger = "default-off"; ++ }; ++ }; ++ + gpio-keys { + compatible = "gpio-keys"; + #address-cells = <1>; |