ARM: dts: iwg20d-q7-common: Add LCD support
The iwg20d comes with a 7" capacitive touch screen, therefore add support for it. Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Link: https://lore.kernel.org/r/1573660292-10629-11-git-send-email-fabrizio.castro@bp.renesas.com Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
This commit is contained in:
parent
e42617b825
commit
6f89dd9e93
2 changed files with 85 additions and 1 deletions
|
@ -46,6 +46,49 @@
|
||||||
clock-frequency = <26000000>;
|
clock-frequency = <26000000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
lcd_backlight: backlight {
|
||||||
|
compatible = "pwm-backlight";
|
||||||
|
|
||||||
|
pwms = <&pwm3 0 5000000 0>;
|
||||||
|
brightness-levels = <0 4 8 16 32 64 128 255>;
|
||||||
|
default-brightness-level = <7>;
|
||||||
|
enable-gpios = <&gpio5 14 GPIO_ACTIVE_HIGH>;
|
||||||
|
};
|
||||||
|
|
||||||
|
lvds-receiver {
|
||||||
|
compatible = "ti,ds90cf384a", "lvds-decoder";
|
||||||
|
powerdown-gpios = <&gpio7 25 GPIO_ACTIVE_LOW>;
|
||||||
|
|
||||||
|
ports {
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
|
||||||
|
port@0 {
|
||||||
|
reg = <0>;
|
||||||
|
lvds_receiver_in: endpoint {
|
||||||
|
remote-endpoint = <&lvds0_out>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
port@1 {
|
||||||
|
reg = <1>;
|
||||||
|
lvds_receiver_out: endpoint {
|
||||||
|
remote-endpoint = <&panel_in>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
panel {
|
||||||
|
compatible = "edt,etm0700g0dh6";
|
||||||
|
backlight = <&lcd_backlight>;
|
||||||
|
|
||||||
|
port {
|
||||||
|
panel_in: endpoint {
|
||||||
|
remote-endpoint = <&lvds_receiver_out>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
reg_1p5v: 1p5v {
|
reg_1p5v: 1p5v {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
regulator-name = "1P5V";
|
regulator-name = "1P5V";
|
||||||
|
@ -120,6 +163,18 @@
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&du {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&gpio2 {
|
||||||
|
touch-interrupt {
|
||||||
|
gpio-hog;
|
||||||
|
gpios = <12 GPIO_ACTIVE_LOW>;
|
||||||
|
input;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
&hsusb {
|
&hsusb {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
pinctrl-0 = <&usb0_pins>;
|
pinctrl-0 = <&usb0_pins>;
|
||||||
|
@ -147,6 +202,25 @@
|
||||||
VDDIO-supply = <®_3p3v>;
|
VDDIO-supply = <®_3p3v>;
|
||||||
VDDD-supply = <®_1p5v>;
|
VDDD-supply = <®_1p5v>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
touch: touchpanel@38 {
|
||||||
|
compatible = "edt,edt-ft5406";
|
||||||
|
reg = <0x38>;
|
||||||
|
interrupt-parent = <&gpio2>;
|
||||||
|
interrupts = <12 IRQ_TYPE_EDGE_FALLING>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&lvds0 {
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
ports {
|
||||||
|
port@1 {
|
||||||
|
lvds0_out: endpoint {
|
||||||
|
remote-endpoint = <&lvds_receiver_in>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&pci0 {
|
&pci0 {
|
||||||
|
@ -180,6 +254,11 @@
|
||||||
function = "i2c2";
|
function = "i2c2";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pwm3_pins: pwm3 {
|
||||||
|
groups = "pwm3";
|
||||||
|
function = "pwm3";
|
||||||
|
};
|
||||||
|
|
||||||
scif0_pins: scif0 {
|
scif0_pins: scif0 {
|
||||||
groups = "scif0_data_d";
|
groups = "scif0_data_d";
|
||||||
function = "scif0";
|
function = "scif0";
|
||||||
|
@ -218,6 +297,12 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&pwm3 {
|
||||||
|
pinctrl-0 = <&pwm3_pins>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&rcar_sound {
|
&rcar_sound {
|
||||||
pinctrl-0 = <&sound_pins>;
|
pinctrl-0 = <&sound_pins>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
|
|
|
@ -39,7 +39,6 @@
|
||||||
&du {
|
&du {
|
||||||
pinctrl-0 = <&du_pins>;
|
pinctrl-0 = <&du_pins>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
status = "okay";
|
|
||||||
|
|
||||||
ports {
|
ports {
|
||||||
port@0 {
|
port@0 {
|
||||||
|
|
Loading…
Add table
Reference in a new issue