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