1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later 2*f126890aSEmmanuel Vadot/* 3*f126890aSEmmanuel Vadot * at91sam9x5dm.dtsi - Device Tree file for SAM9x5 display module 4*f126890aSEmmanuel Vadot * 5*f126890aSEmmanuel Vadot * Copyright (C) 2014 Atmel, 6*f126890aSEmmanuel Vadot * 2014 Free Electrons 7*f126890aSEmmanuel Vadot * 8*f126890aSEmmanuel Vadot * Author: Boris Brezillon <boris.brezillon@free-electrons.com> 9*f126890aSEmmanuel Vadot */ 10*f126890aSEmmanuel Vadot 11*f126890aSEmmanuel Vadot/ { 12*f126890aSEmmanuel Vadot backlight: backlight { 13*f126890aSEmmanuel Vadot compatible = "pwm-backlight"; 14*f126890aSEmmanuel Vadot pwms = <&hlcdc_pwm 0 50000 0>; 15*f126890aSEmmanuel Vadot brightness-levels = <0 4 8 16 32 64 128 255>; 16*f126890aSEmmanuel Vadot default-brightness-level = <6>; 17*f126890aSEmmanuel Vadot power-supply = <&bl_reg>; 18*f126890aSEmmanuel Vadot status = "disabled"; 19*f126890aSEmmanuel Vadot }; 20*f126890aSEmmanuel Vadot 21*f126890aSEmmanuel Vadot bl_reg: backlight_regulator { 22*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 23*f126890aSEmmanuel Vadot regulator-name = "backlight-power-supply"; 24*f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 25*f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 26*f126890aSEmmanuel Vadot status = "disabled"; 27*f126890aSEmmanuel Vadot }; 28*f126890aSEmmanuel Vadot 29*f126890aSEmmanuel Vadot panel: panel { 30*f126890aSEmmanuel Vadot compatible = "foxlink,fl500wvr00-a0t"; 31*f126890aSEmmanuel Vadot backlight = <&backlight>; 32*f126890aSEmmanuel Vadot power-supply = <&panel_reg>; 33*f126890aSEmmanuel Vadot #address-cells = <1>; 34*f126890aSEmmanuel Vadot #size-cells = <0>; 35*f126890aSEmmanuel Vadot status = "disabled"; 36*f126890aSEmmanuel Vadot 37*f126890aSEmmanuel Vadot port@0 { 38*f126890aSEmmanuel Vadot #address-cells = <1>; 39*f126890aSEmmanuel Vadot #size-cells = <0>; 40*f126890aSEmmanuel Vadot 41*f126890aSEmmanuel Vadot panel_input: endpoint@0 { 42*f126890aSEmmanuel Vadot reg = <0>; 43*f126890aSEmmanuel Vadot remote-endpoint = <&hlcdc_panel_output>; 44*f126890aSEmmanuel Vadot }; 45*f126890aSEmmanuel Vadot }; 46*f126890aSEmmanuel Vadot }; 47*f126890aSEmmanuel Vadot 48*f126890aSEmmanuel Vadot panel_reg: panel_regulator { 49*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 50*f126890aSEmmanuel Vadot regulator-name = "panel-power-supply"; 51*f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 52*f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 53*f126890aSEmmanuel Vadot status = "disabled"; 54*f126890aSEmmanuel Vadot }; 55*f126890aSEmmanuel Vadot}; 56*f126890aSEmmanuel Vadot 57*f126890aSEmmanuel Vadot&adc0 { 58*f126890aSEmmanuel Vadot atmel,adc-ts-wires = <4>; 59*f126890aSEmmanuel Vadot atmel,adc-ts-pressure-threshold = <10000>; 60*f126890aSEmmanuel Vadot status = "okay"; 61*f126890aSEmmanuel Vadot}; 62*f126890aSEmmanuel Vadot 63*f126890aSEmmanuel Vadot&i2c0 { 64*f126890aSEmmanuel Vadot keyboard@1b { 65*f126890aSEmmanuel Vadot compatible = "qt1070"; 66*f126890aSEmmanuel Vadot reg = <0x1b>; 67*f126890aSEmmanuel Vadot interrupt-parent = <&pioA>; 68*f126890aSEmmanuel Vadot interrupts = <7 0x0>; 69*f126890aSEmmanuel Vadot pinctrl-names = "default"; 70*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_qt1070_irq>; 71*f126890aSEmmanuel Vadot wakeup-source; 72*f126890aSEmmanuel Vadot }; 73*f126890aSEmmanuel Vadot}; 74*f126890aSEmmanuel Vadot 75*f126890aSEmmanuel Vadot&hlcdc { 76*f126890aSEmmanuel Vadot hlcdc-display-controller { 77*f126890aSEmmanuel Vadot pinctrl-names = "default"; 78*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_rgb888>; 79*f126890aSEmmanuel Vadot 80*f126890aSEmmanuel Vadot port@0 { 81*f126890aSEmmanuel Vadot hlcdc_panel_output: endpoint@0 { 82*f126890aSEmmanuel Vadot reg = <0>; 83*f126890aSEmmanuel Vadot remote-endpoint = <&panel_input>; 84*f126890aSEmmanuel Vadot }; 85*f126890aSEmmanuel Vadot }; 86*f126890aSEmmanuel Vadot }; 87*f126890aSEmmanuel Vadot}; 88*f126890aSEmmanuel Vadot 89*f126890aSEmmanuel Vadot&pinctrl { 90*f126890aSEmmanuel Vadot board { 91*f126890aSEmmanuel Vadot pinctrl_qt1070_irq: qt1070_irq { 92*f126890aSEmmanuel Vadot atmel,pins = 93*f126890aSEmmanuel Vadot <AT91_PIOA 7 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; 94*f126890aSEmmanuel Vadot }; 95*f126890aSEmmanuel Vadot }; 96*f126890aSEmmanuel Vadot}; 97