diff options
author | Baolin Wang <baolin.wang@linaro.org> | 2018-07-23 14:10:16 +0800 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2018-07-25 23:51:16 -0700 |
commit | 02c2455e92613864fdc516a1773dfa0f0a06db6e (patch) | |
tree | 8429289274f853cd94096e2872fc88a3951224f1 /arch/arm64/boot | |
parent | 021c91791a5e7e85c567452f1be3e4c2c6cb6063 (diff) | |
download | lwn-02c2455e92613864fdc516a1773dfa0f0a06db6e.tar.gz lwn-02c2455e92613864fdc516a1773dfa0f0a06db6e.zip |
arm64: dts: sprd: Add SC27XX breathing light controller device
The SC27xx breathing light controller can support 3 outputs:
red LED, green LED and blue LED.
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm64/boot')
-rw-r--r-- | arch/arm64/boot/dts/sprd/sc2731.dtsi | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/sprd/sc2731.dtsi b/arch/arm64/boot/dts/sprd/sc2731.dtsi index 98d3b4fdb9ad..7d53ca6b4ecc 100644 --- a/arch/arm64/boot/dts/sprd/sc2731.dtsi +++ b/arch/arm64/boot/dts/sprd/sc2731.dtsi @@ -17,6 +17,28 @@ #address-cells = <1>; #size-cells = <0>; + led-controller@200 { + compatible = "sprd,sc27xx-bltc", "sprd,sc2731-bltc"; + reg = <0x200>; + #address-cells = <1>; + #size-cells = <0>; + + led@0 { + label = "red"; + reg = <0x0>; + }; + + led@1 { + label = "green"; + reg = <0x1>; + }; + + led@2 { + label = "blue"; + reg = <0x2>; + }; + }; + rtc@280 { compatible = "sprd,sc27xx-rtc", "sprd,sc2731-rtc"; reg = <0x280>; |