From: Yoshihiro Shimoda Date: Wed, 4 Oct 2017 10:27:31 +0000 (+0900) Subject: arm64: dts: renesas: r8a77995: draak: enable PWM channel 0 and 1 X-Git-Tag: v4.19~2159^2~18^2~24 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b35334447513c14a4dd55a67c269a743d4a4824b;p=platform%2Fkernel%2Flinux-rpi.git arm64: dts: renesas: r8a77995: draak: enable PWM channel 0 and 1 This patch enables PWM channel 0 and 1 on the draak. Each channel connects to LTC2644 for brightness control. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- diff --git a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts b/arch/arm64/boot/dts/renesas/r8a77995-draak.dts index fac58be83383..09de73b11db8 100644 --- a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts +++ b/arch/arm64/boot/dts/renesas/r8a77995-draak.dts @@ -46,6 +46,16 @@ }; }; + pwm0_pins: pwm0 { + groups = "pwm0_c"; + function = "pwm0"; + }; + + pwm1_pins: pwm1 { + groups = "pwm1_c"; + function = "pwm1"; + }; + scif2_pins: scif2 { groups = "scif2_data"; function = "scif2"; @@ -94,6 +104,20 @@ status = "okay"; }; +&pwm0 { + pinctrl-0 = <&pwm0_pins>; + pinctrl-names = "default"; + + status = "okay"; +}; + +&pwm1 { + pinctrl-0 = <&pwm1_pins>; + pinctrl-names = "default"; + + status = "okay"; +}; + &rwdt { timeout-sec = <60>; status = "okay";