1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 2*f126890aSEmmanuel Vadot/* 3*f126890aSEmmanuel Vadot * at91-dvk_su60_somc_lcm.dtsi - Device Tree file for the DVK SOM60 LCD board 4*f126890aSEmmanuel Vadot * 5*f126890aSEmmanuel Vadot * Copyright (C) 2018 Laird, 6*f126890aSEmmanuel Vadot * 2018 Ben Whitten <ben.whitten@lairdtech.com> 7*f126890aSEmmanuel Vadot * 8*f126890aSEmmanuel Vadot */ 9*f126890aSEmmanuel Vadot 10*f126890aSEmmanuel Vadot/ { 11*f126890aSEmmanuel Vadot backlight: backlight { 12*f126890aSEmmanuel Vadot compatible = "pwm-backlight"; 13*f126890aSEmmanuel Vadot pwms = <&hlcdc_pwm 0 50000 0>; 14*f126890aSEmmanuel Vadot brightness-levels = <0 4 8 16 32 64 128 255>; 15*f126890aSEmmanuel Vadot default-brightness-level = <6>; 16*f126890aSEmmanuel Vadot status = "okay"; 17*f126890aSEmmanuel Vadot }; 18*f126890aSEmmanuel Vadot 19*f126890aSEmmanuel Vadot panel: panel { 20*f126890aSEmmanuel Vadot compatible = "winstar,wf70gtiagdng0", "innolux,at070tn92"; 21*f126890aSEmmanuel Vadot backlight = <&backlight>; 22*f126890aSEmmanuel Vadot power-supply = <&vcc_lcd_reg>; 23*f126890aSEmmanuel Vadot #address-cells = <1>; 24*f126890aSEmmanuel Vadot #size-cells = <0>; 25*f126890aSEmmanuel Vadot status = "okay"; 26*f126890aSEmmanuel Vadot 27*f126890aSEmmanuel Vadot port@0 { 28*f126890aSEmmanuel Vadot #address-cells = <1>; 29*f126890aSEmmanuel Vadot #size-cells = <0>; 30*f126890aSEmmanuel Vadot reg = <0>; 31*f126890aSEmmanuel Vadot 32*f126890aSEmmanuel Vadot panel_input: endpoint@0 { 33*f126890aSEmmanuel Vadot reg = <0>; 34*f126890aSEmmanuel Vadot remote-endpoint = <&hlcdc_panel_output>; 35*f126890aSEmmanuel Vadot }; 36*f126890aSEmmanuel Vadot }; 37*f126890aSEmmanuel Vadot }; 38*f126890aSEmmanuel Vadot 39*f126890aSEmmanuel Vadot vcc_lcd_reg: fixedregulator_lcd { 40*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 41*f126890aSEmmanuel Vadot regulator-name = "VCC LCM"; 42*f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 43*f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 44*f126890aSEmmanuel Vadot regulator-boot-on; 45*f126890aSEmmanuel Vadot regulator-always-on; 46*f126890aSEmmanuel Vadot status = "okay"; 47*f126890aSEmmanuel Vadot }; 48*f126890aSEmmanuel Vadot}; 49*f126890aSEmmanuel Vadot 50*f126890aSEmmanuel Vadot&pinctrl { 51*f126890aSEmmanuel Vadot board { 52*f126890aSEmmanuel Vadot pinctrl_lcd_ctp_int: lcd_ctp_int { 53*f126890aSEmmanuel Vadot atmel,pins = 54*f126890aSEmmanuel Vadot <AT91_PIOC 28 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; 55*f126890aSEmmanuel Vadot }; 56*f126890aSEmmanuel Vadot }; 57*f126890aSEmmanuel Vadot}; 58*f126890aSEmmanuel Vadot 59*f126890aSEmmanuel Vadot&i2c1 { 60*f126890aSEmmanuel Vadot status = "okay"; 61*f126890aSEmmanuel Vadot 62*f126890aSEmmanuel Vadot ft5426@38 { 63*f126890aSEmmanuel Vadot compatible = "focaltech,ft5426", "edt,edt-ft5406"; 64*f126890aSEmmanuel Vadot reg = <0x38>; 65*f126890aSEmmanuel Vadot pinctrl-names = "default"; 66*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_lcd_ctp_int>; 67*f126890aSEmmanuel Vadot 68*f126890aSEmmanuel Vadot interrupt-parent = <&pioC>; 69*f126890aSEmmanuel Vadot interrupts = <28 IRQ_TYPE_EDGE_FALLING>; 70*f126890aSEmmanuel Vadot 71*f126890aSEmmanuel Vadot touchscreen-size-x = <800>; 72*f126890aSEmmanuel Vadot touchscreen-size-y = <480>; 73*f126890aSEmmanuel Vadot }; 74*f126890aSEmmanuel Vadot}; 75*f126890aSEmmanuel Vadot 76*f126890aSEmmanuel Vadot&hlcdc { 77*f126890aSEmmanuel Vadot status = "okay"; 78*f126890aSEmmanuel Vadot 79*f126890aSEmmanuel Vadot hlcdc-display-controller { 80*f126890aSEmmanuel Vadot pinctrl-names = "default"; 81*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_rgb888>; 82*f126890aSEmmanuel Vadot 83*f126890aSEmmanuel Vadot port@0 { 84*f126890aSEmmanuel Vadot hlcdc_panel_output: endpoint@0 { 85*f126890aSEmmanuel Vadot reg = <0>; 86*f126890aSEmmanuel Vadot remote-endpoint = <&panel_input>; 87*f126890aSEmmanuel Vadot }; 88*f126890aSEmmanuel Vadot }; 89*f126890aSEmmanuel Vadot }; 90*f126890aSEmmanuel Vadot}; 91