2
0
forked from Ivasoft/openwrt

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>
This commit is contained in:
Jonas Gorski
2017-05-11 13:50:18 +02:00
parent 0aa366c6e0
commit 9ceeaf4c6c
11 changed files with 238 additions and 195 deletions

View File

@@ -155,6 +155,14 @@
reg = <0xfffe0098 0x4>;
};
leds: led-controller@fffe00d0 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "brcm,bcm6358-leds";
reg = <0xfffe00d0 0x8>;
status = "disabled";
};
lsspi: spi@fffe0800 {
#address-cells = <1>;
#size-cells = <0>;