aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/dts/bcm6368.dtsi
diff options
context:
space:
mode:
authorJonas Gorski <jonas.gorski@gmail.com>2017-05-11 13:50:18 +0200
committerJonas Gorski <jonas.gorski@gmail.com>2017-06-10 12:40:38 +0200
commit9ceeaf4c6cac6e5ff5a5225a5c9d13ba63d9c478 (patch)
tree21133bbfd54fd38bb437b0824ec27ad14649ff38 /target/linux/brcm63xx/dts/bcm6368.dtsi
parent0aa366c6e0f323b161cb61331fd456d3d775dba2 (diff)
downloadupstream-9ceeaf4c6cac6e5ff5a5225a5c9d13ba63d9c478.tar.gz
upstream-9ceeaf4c6cac6e5ff5a5225a5c9d13ba63d9c478.tar.bz2
upstream-9ceeaf4c6cac6e5ff5a5225a5c9d13ba63d9c478.zip
brcm63xx: switch to hardware led controllers
Instead of bit banging SPI to talk to the GPIO chip, use the hardware led controllers intended for controlling the LEDs. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Diffstat (limited to 'target/linux/brcm63xx/dts/bcm6368.dtsi')
-rw-r--r--target/linux/brcm63xx/dts/bcm6368.dtsi8
1 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/dts/bcm6368.dtsi b/target/linux/brcm63xx/dts/bcm6368.dtsi
index a49f24a96c..3efe76c6c7 100644
--- a/target/linux/brcm63xx/dts/bcm6368.dtsi
+++ b/target/linux/brcm63xx/dts/bcm6368.dtsi
@@ -262,6 +262,14 @@
reg = <0x100000b8 0x4>;
};
+ leds: led-controller@100000d0 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ compatible = "brcm,bcm6358-leds";
+ reg = <0x100000d0 0x8>;
+ status = "disabled";
+ };
+
lsspi: spi@10000800 {
#address-cells = <1>;
#size-cells = <0>;