From: Ajay Kumar Date: Mon, 19 May 2014 13:38:18 +0000 (+0900) Subject: ARM: dts: enable pwm backlight for exynos5250-snow X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=62ffa706d89925427096f419b70d0416aca255c8;p=openwrt%2Fstaging%2Fblogic.git ARM: dts: enable pwm backlight for exynos5250-snow Add PWM backlight node for exynos5250 based snow board. Signed-off-by: Olof Johansson Signed-off-by: Ajay Kumar Signed-off-by: Kukjin Kim --- diff --git a/arch/arm/boot/dts/exynos5250-snow.dts b/arch/arm/boot/dts/exynos5250-snow.dts index 2f054bec0bd9..7542df2e6e9f 100644 --- a/arch/arm/boot/dts/exynos5250-snow.dts +++ b/arch/arm/boot/dts/exynos5250-snow.dts @@ -387,4 +387,14 @@ vdd_osc-supply = <&ldo10_reg>; vdd_pll-supply = <&ldo8_reg>; }; + + backlight { + compatible = "pwm-backlight"; + pwms = <&pwm 0 1000000 0>; + brightness-levels = <0 100 500 1000 1500 2000 2500 2800>; + default-brightness-level = <7>; + pinctrl-0 = <&pwm0_out>; + pinctrl-names = "default"; + }; + };