Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 02c2455e authored by Baolin Wang's avatar Baolin Wang Committed by Olof Johansson
Browse files

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: default avatarBaolin Wang <baolin.wang@linaro.org>
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parent 021c9179
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
@@ -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>;