Commit 31222abb authored by Biju Das's avatar Biju Das Committed by Geert Uytterhoeven
Browse files

arm64: dts: renesas: hihope-rzg2-ex: Enable backlight

parent 68f62751
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
@@ -13,6 +13,14 @@
	chosen {
		bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
	};

	backlight {
		compatible = "pwm-backlight";
		pwms = <&pwm0 0 50000>;

		brightness-levels = <0 2 8 16 32 64 128 255>;
		default-brightness-level = <6>;
	};
};

&avb {
@@ -82,4 +90,16 @@
		groups = "can1_data";
		function = "can1";
	};

	pwm0_pins: pwm0 {
		groups = "pwm0";
		function = "pwm0";
	};
};

&pwm0 {
	pinctrl-0 = <&pwm0_pins>;
	pinctrl-names = "default";

	status = "okay";
};