Commit 28a1b403 authored by Marek Belisko's avatar Marek Belisko Committed by Tony Lindgren

ARM: dts: omap3-gta04: Add backlight support

Define pwm backlight node which is using dmtimer pwm.
Signed-off-by: default avatarMarek Belisko <marek@goldelico.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent e7c86821
......@@ -100,6 +100,22 @@ lcd_in: endpoint {
};
};
backlight {
compatible = "pwm-backlight";
pwms = <&pwm11 0 2000000 0>;
pwm-names = "backlight";
brightness-levels = <0 11 20 30 40 50 60 70 80 90 100>;
default-brightness-level = <9>; /* => 90 */
pinctrl-names = "default";
pinctrl-0 = <&backlight_pins>;
};
pwm11: dmtimer-pwm@11 {
compatible = "ti,omap-dmtimer-pwm";
ti,timers = <&timer11>;
#pwm-cells = <3>;
};
hsusb2_phy: hsusb2_phy {
compatible = "usb-nop-xceiv";
reset-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
......@@ -190,6 +206,12 @@ OMAP3_CORE1_IOPAD(0x214e, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat3.sdmmc1_d
>;
};
backlight_pins: backlight_pins_pimnux {
pinctrl-single,pins = <
OMAP3_CORE1_IOPAD(0x20ba, MUX_MODE3) /* gpt11/gpio57 */
>;
};
dss_dpi_pins: pinmux_dss_dpi_pins {
pinctrl-single,pins = <
OMAP3_CORE1_IOPAD(0x20d4, PIN_OUTPUT | MUX_MODE0) /* dss_pclk.dss_pclk */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment