Commit c9a0ed13 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven

ARM: dts: renesas: armadillo800eva: Add LCD panel

Describe the 5" WVGA TFT LCD panel on the Armadillo-800-EVA development
board, and enable the LCD controller that drives it.
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Link: https://lore.kernel.org/r/278339322dcaaedc0d68fc67f1f1272d880084d7.1700669207.git.geert+renesas@glider.be
parent 138588e9
...@@ -132,7 +132,7 @@ i2c2: i2c-2 { ...@@ -132,7 +132,7 @@ i2c2: i2c-2 {
i2c-gpio,delay-us = <5>; i2c-gpio,delay-us = <5>;
}; };
backlight { backlight: backlight {
compatible = "pwm-backlight"; compatible = "pwm-backlight";
pwms = <&tpu 2 33333 PWM_POLARITY_INVERTED>; pwms = <&tpu 2 33333 PWM_POLARITY_INVERTED>;
brightness-levels = <0 1 2 4 8 16 32 64 128 255>; brightness-levels = <0 1 2 4 8 16 32 64 128 255>;
...@@ -143,6 +143,18 @@ backlight { ...@@ -143,6 +143,18 @@ backlight {
enable-gpios = <&pfc 61 GPIO_ACTIVE_HIGH>; enable-gpios = <&pfc 61 GPIO_ACTIVE_HIGH>;
}; };
panel {
compatible = "ampire,am-800480l1tmqw-t00h";
backlight = <&backlight>;
power-supply = <&reg_5p0v>;
port {
panel_in: endpoint {
remote-endpoint = <&lcdc0_rgb>;
};
};
};
sound { sound {
compatible = "simple-audio-card"; compatible = "simple-audio-card";
...@@ -228,10 +240,22 @@ rtc@30 { ...@@ -228,10 +240,22 @@ rtc@30 {
}; };
}; };
&pfc { &lcdc0 {
pinctrl-0 = <&lcd0_pins>; pinctrl-0 = <&lcd0_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
status = "okay";
ports {
port@0 {
endpoint {
remote-endpoint = <&panel_in>;
};
};
};
};
&pfc {
ether_pins: ether { ether_pins: ether {
groups = "gether_mii", "gether_int"; groups = "gether_mii", "gether_int";
function = "gether"; function = "gether";
......
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