ARM: dts: rv1126-bat-ipc-v10: enable pwm-leds for state-aware

Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Change-Id: Ibcbeeba727085c91f85b189bfb8cbdbe15982e8a
This commit is contained in:
Ziyuan Xu
2020-10-09 19:45:40 +08:00
committed by Tao Huang
parent 919304ff8e
commit b0c94bdffb

View File

@@ -57,6 +57,22 @@
};
};
leds {
compatible = "pwm-leds";
blue {
label = "blue";
pwms = <&pwm3 0 50000 0>;
max-brightness = <255>;
};
red {
label = "red";
pwms = <&pwm2 0 50000 0>;
max-brightness = <255>;
linux,default-trigger = "heartbeat";
};
};
vcc1v2_dvdd: vcc1v8_dovdd: vcc2v8_avdd: vcc-camera {
compatible = "regulator-fixed";
regulator-name = "vcc_camera";
@@ -310,6 +326,18 @@
pinctrl-0 = <&pwm1m0_pins_pull_down>;
};
&pwm2 {
status = "okay";
pinctrl-names = "active";
pinctrl-0 = <&pwm2m1_pins_pull_down>;
};
&pwm3 {
status = "okay";
pinctrl-names = "active";
pinctrl-0 = <&pwm3m1_pins_pull_down>;
};
&rkisp_thunderboot {
reg = <0x10000000 (72 * 0x00100000)>;
};