diff options
author | Jason Chen <jason.chen@linaro.org> | 2011-12-05 18:12:27 +0800 |
---|---|---|
committer | Eric Miao <eric.miao@linaro.org> | 2012-01-11 21:39:12 +0800 |
commit | 17157c9ca7d42aaa38b3c6698a6f83cadc845de0 (patch) | |
tree | b5fe8f20e014aa83855c7cb5df85f0dc6969391b /arch/arm/boot/dts | |
parent | ddf51fe00663c6ddeacbf0c2b77bf5aa23425ae3 (diff) |
imx6q-sabrelite: add pwm and pwm-bl dt support
Signed-off-by: Jason Chen <jason.chen@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r-- | arch/arm/boot/dts/imx6q-sabrelite.dts | 14 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx6q.dtsi | 12 |
2 files changed, 22 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/imx6q-sabrelite.dts b/arch/arm/boot/dts/imx6q-sabrelite.dts index b199cd9a7e6..965dfbc802c 100644 --- a/arch/arm/boot/dts/imx6q-sabrelite.dts +++ b/arch/arm/boot/dts/imx6q-sabrelite.dts @@ -72,6 +72,20 @@ }; }; + backlight { + #address-cells = <1>; + #size-cells = <0>; + compatible = "simple-bus"; + + pwm_bl { + compatible = "pwm-bl"; + pwm-parent = <&pwm4>; + max_brightness = <255>; + dft_brightness = <128>; + pwm_period_ns = <50000>; + }; + }; + displays { #address-cells = <1>; #size-cells = <1>; diff --git a/arch/arm/boot/dts/imx6q.dtsi b/arch/arm/boot/dts/imx6q.dtsi index c46e917a799..3b7436008ea 100644 --- a/arch/arm/boot/dts/imx6q.dtsi +++ b/arch/arm/boot/dts/imx6q.dtsi @@ -211,22 +211,26 @@ reg = <0x0207c000 0x4000>; }; - pwm@02080000 { /* PWM1 */ + pwm1: pwm@02080000 { /* PWM1 */ + compatible = "fsl,imx6q-pwm"; reg = <0x02080000 0x4000>; interrupts = <0 83 0x04>; }; - pwm@02084000 { /* PWM2 */ + pwm2: pwm@02084000 { /* PWM2 */ + compatible = "fsl,imx6q-pwm"; reg = <0x02084000 0x4000>; interrupts = <0 84 0x04>; }; - pwm@02088000 { /* PWM3 */ + pwm3: pwm@02088000 { /* PWM3 */ + compatible = "fsl,imx6q-pwm"; reg = <0x02088000 0x4000>; interrupts = <0 85 0x04>; }; - pwm@0208c000 { /* PWM4 */ + pwm4: pwm@0208c000 { /* PWM4 */ + compatible = "fsl,imx6q-pwm"; reg = <0x0208c000 0x4000>; interrupts = <0 86 0x04>; }; |