aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorLiu Ying <Ying.Liu@freescale.com>2014-03-25 02:48:00 -0400
committerNitin Garg <nitin.garg@freescale.com>2014-04-16 09:58:07 -0400
commit96f016ea2aca5bad7d021438fa1409d98386fcd1 (patch)
tree124106c42daa0f6ce7a7bdcc36b7aeb98714deaa /arch/arm/boot
parentafc650bef96bf09a080900da8073656395c6c093 (diff)
ENGR00305067-9 ARM: dts: imx6sx-sdb: Add pwm4 backlight support
This patch adds pwm4 backlight support for the imx6sx-sdb platform. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/imx6sx-sdb.dts14
-rw-r--r--arch/arm/boot/dts/imx6sx.dtsi8
2 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6sx-sdb.dts b/arch/arm/boot/dts/imx6sx-sdb.dts
index 84b32f0f29d8..6f67e1236e95 100644
--- a/arch/arm/boot/dts/imx6sx-sdb.dts
+++ b/arch/arm/boot/dts/imx6sx-sdb.dts
@@ -22,6 +22,14 @@
22 fb-names = "mxs-lcdif0"; 22 fb-names = "mxs-lcdif0";
23 }; 23 };
24 24
25 backlight2 {
26 compatible = "pwm-backlight";
27 pwms = <&pwm4 0 5000000>;
28 brightness-levels = <0 4 8 16 32 64 128 255>;
29 default-brightness-level = <6>;
30 fb-names = "mxs-lcdif1";
31 };
32
25 memory { 33 memory {
26 reg = <0x80000000 0x40000000>; 34 reg = <0x80000000 0x40000000>;
27 }; 35 };
@@ -476,6 +484,12 @@
476 status = "okay"; 484 status = "okay";
477}; 485};
478 486
487&pwm4 {
488 pinctrl-names = "default";
489 pinctrl-0 = <&pinctrl_pwm4_0>;
490 status = "okay";
491};
492
479&pxp { 493&pxp {
480 status = "okay"; 494 status = "okay";
481}; 495};
diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi
index 6ace795d9742..02fb687de31c 100644
--- a/arch/arm/boot/dts/imx6sx.dtsi
+++ b/arch/arm/boot/dts/imx6sx.dtsi
@@ -1241,6 +1241,14 @@
1241 }; 1241 };
1242 }; 1242 };
1243 1243
1244 pwm4 {
1245 pinctrl_pwm4_0: pwm4grp-0 {
1246 fsl,pins = <
1247 MX6SX_PAD_SD1_DATA1__PWM4_OUT 0x110b0
1248 >;
1249 };
1250 };
1251
1244 qspi2 { 1252 qspi2 {
1245 pinctrl_qspi2_1: qspi2grp_1 { 1253 pinctrl_qspi2_1: qspi2grp_1 {
1246 fsl,pins = < 1254 fsl,pins = <