| 1 |
# SPDX-License-Identifier: GPL-2.0 |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/display/panel/olimex,lcd-olinuxino.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Olimex Ltd. LCD-OLinuXino bridge panel. |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Stefan Mavrodiev <[email protected]> |
| 11 |
|
| 12 |
description: | |
| 13 |
This device can be used as bridge between a host controller and LCD panels. |
| 14 |
Currently supported LCDs are: |
| 15 |
- LCD-OLinuXino-4.3TS |
| 16 |
- LCD-OLinuXino-5 |
| 17 |
- LCD-OLinuXino-7 |
| 18 |
- LCD-OLinuXino-10 |
| 19 |
|
| 20 |
The panel itself contains: |
| 21 |
- AT24C16C EEPROM holding panel identification and timing requirements |
| 22 |
- AR1021 resistive touch screen controller (optional) |
| 23 |
- FT5x6 capacitive touch screen controller (optional) |
| 24 |
- GT911/GT928 capacitive touch screen controller (optional) |
| 25 |
|
| 26 |
The above chips share same I2C bus. The EEPROM is factory preprogrammed with |
| 27 |
device information (id, serial, etc.) and timing requirements. |
| 28 |
|
| 29 |
Touchscreen bingings can be found in these files: |
| 30 |
- input/touchscreen/goodix.yaml |
| 31 |
- input/touchscreen/edt-ft5x06.txt |
| 32 |
- input/touchscreen/ar1021.txt |
| 33 |
|
| 34 |
allOf: |
| 35 |
- $ref: panel-common.yaml# |
| 36 |
|
| 37 |
properties: |
| 38 |
compatible: |
| 39 |
const: olimex,lcd-olinuxino |
| 40 |
|
| 41 |
reg: |
| 42 |
maxItems: 1 |
| 43 |
|
| 44 |
backlight: true |
| 45 |
enable-gpios: true |
| 46 |
power-supply: true |
| 47 |
|
| 48 |
required: |
| 49 |
- compatible |
| 50 |
- reg |
| 51 |
- power-supply |
| 52 |
|
| 53 |
additionalProperties: false |
| 54 |
|
| 55 |
examples: |
| 56 |
- | |
| 57 |
#include <dt-bindings/gpio/gpio.h> |
| 58 |
|
| 59 |
i2c { |
| 60 |
#address-cells = <1>; |
| 61 |
#size-cells = <0>; |
| 62 |
|
| 63 |
panel@50 { |
| 64 |
compatible = "olimex,lcd-olinuxino"; |
| 65 |
reg = <0x50>; |
| 66 |
power-supply = <®_vcc5v0>; |
| 67 |
enable-gpios = <&pio 7 8 GPIO_ACTIVE_HIGH>; |
| 68 |
backlight = <&backlight>; |
| 69 |
}; |
| 70 |
}; |
| 71 |
|
| 72 |
... |