diff options
| author | Andre Przywara <andre.przywara@arm.com> | 2018-07-30 13:31:37 +0100 |
|---|---|---|
| committer | Chen-Yu Tsai <wens@csie.org> | 2018-08-27 15:42:56 +0800 |
| commit | 3e9429efb7f22e780b96a8afe82bac4e87f69e50 (patch) | |
| tree | 13aa3c4a6f98bc78f4541232856fa145f393bd7d | |
| parent | ca6aee21ced725c6eb81f88dbf49e666c019abf5 (diff) | |
arm64: dts: allwinner: a64: NanoPi-A64: Add blue status LED
Beside the non-controllable green power LED, the NanoPi-A64 features a
blue "status" LED, connected to PD24.
Add the device tree node to make it usable.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
| -rw-r--r-- | arch/arm64/boot/dts/allwinner/sun50i-a64-nanopi-a64.dts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-nanopi-a64.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-nanopi-a64.dts index 363037e15f77..0ee915d8eb24 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-nanopi-a64.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-nanopi-a64.dts @@ -59,6 +59,15 @@ stdout-path = "serial0:115200n8"; }; + leds { + compatible = "gpio-leds"; + + blue { + label = "nanopi-a64:blue:status"; + gpios = <&pio 3 24 GPIO_ACTIVE_LOW>; /* PD24 */ + }; + }; + wifi_pwrseq: wifi_pwrseq { compatible = "mmc-pwrseq-simple"; clocks = <&rtc 1>; |
