| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/display/elgin,jg10309-01.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Elgin JG10309-01 SPI-controlled display |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Fabio Estevam <[email protected]> |
| 11 |
|
| 12 |
description: | |
| 13 |
The Elgin JG10309-01 SPI-controlled display is used on the RV1108-Elgin-r1 |
| 14 |
board and is a custom display. |
| 15 |
|
| 16 |
allOf: |
| 17 |
- $ref: /schemas/spi/spi-peripheral-props.yaml# |
| 18 |
|
| 19 |
properties: |
| 20 |
compatible: |
| 21 |
const: elgin,jg10309-01 |
| 22 |
|
| 23 |
reg: |
| 24 |
maxItems: 1 |
| 25 |
|
| 26 |
spi-max-frequency: |
| 27 |
maximum: 24000000 |
| 28 |
|
| 29 |
spi-cpha: true |
| 30 |
|
| 31 |
spi-cpol: true |
| 32 |
|
| 33 |
required: |
| 34 |
- compatible |
| 35 |
- reg |
| 36 |
- spi-cpha |
| 37 |
- spi-cpol |
| 38 |
|
| 39 |
additionalProperties: false |
| 40 |
|
| 41 |
examples: |
| 42 |
- | |
| 43 |
spi { |
| 44 |
#address-cells = <1>; |
| 45 |
#size-cells = <0>; |
| 46 |
|
| 47 |
display@0 { |
| 48 |
compatible = "elgin,jg10309-01"; |
| 49 |
reg = <0>; |
| 50 |
spi-max-frequency = <24000000>; |
| 51 |
spi-cpha; |
| 52 |
spi-cpol; |
| 53 |
}; |
| 54 |
}; |