Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 /*
0003  * at91sam9x5dm.dtsi - Device Tree file for SAM9x5 display module
0004  *
0005  *  Copyright (C) 2014 Atmel,
0006  *                2014 Free Electrons
0007  *
0008  *  Author: Boris Brezillon <boris.brezillon@free-electrons.com>
0009  */
0010 
0011 / {
0012         backlight: backlight {
0013                 compatible = "pwm-backlight";
0014                 pwms = <&hlcdc_pwm 0 50000 0>;
0015                 brightness-levels = <0 4 8 16 32 64 128 255>;
0016                 default-brightness-level = <6>;
0017                 power-supply = <&bl_reg>;
0018                 status = "disabled";
0019         };
0020 
0021         bl_reg: backlight_regulator {
0022                 compatible = "regulator-fixed";
0023                 regulator-name = "backlight-power-supply";
0024                 regulator-min-microvolt = <5000000>;
0025                 regulator-max-microvolt = <5000000>;
0026                 status = "disabled";
0027         };
0028 
0029         panel: panel {
0030                 compatible = "foxlink,fl500wvr00-a0t";
0031                 backlight = <&backlight>;
0032                 power-supply = <&panel_reg>;
0033                 #address-cells = <1>;
0034                 #size-cells = <0>;
0035                 status = "disabled";
0036 
0037                 port@0 {
0038                         #address-cells = <1>;
0039                         #size-cells = <0>;
0040 
0041                         panel_input: endpoint@0 {
0042                                 reg = <0>;
0043                                 remote-endpoint = <&hlcdc_panel_output>;
0044                         };
0045                 };
0046         };
0047 
0048         panel_reg: panel_regulator {
0049                 compatible = "regulator-fixed";
0050                 regulator-name = "panel-power-supply";
0051                 regulator-min-microvolt = <3300000>;
0052                 regulator-max-microvolt = <3300000>;
0053                 status = "disabled";
0054         };
0055 };
0056 
0057 &adc0 {
0058         atmel,adc-ts-wires = <4>;
0059         atmel,adc-ts-pressure-threshold = <10000>;
0060         status = "okay";
0061 };
0062 
0063 &i2c0 {
0064         keyboard@1b {
0065                 compatible = "qt1070";
0066                 reg = <0x1b>;
0067                 interrupt-parent = <&pioA>;
0068                 interrupts = <7 0x0>;
0069                 pinctrl-names = "default";
0070                 pinctrl-0 = <&pinctrl_qt1070_irq>;
0071                 wakeup-source;
0072         };
0073 };
0074 
0075 &hlcdc {
0076         hlcdc-display-controller {
0077                 pinctrl-names = "default";
0078                 pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_rgb888>;
0079 
0080                 port@0 {
0081                         hlcdc_panel_output: endpoint@0 {
0082                                 reg = <0>;
0083                                 remote-endpoint = <&panel_input>;
0084                         };
0085                 };
0086         };
0087 };
0088 
0089 &pinctrl {
0090         board {
0091                 pinctrl_qt1070_irq: qt1070_irq {
0092                         atmel,pins =
0093                                 <AT91_PIOA 7 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
0094                 };
0095         };
0096 };