| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/spi/nxp,sc18is.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: NXP SC18IS602/SC18IS603 I2C to SPI bridge |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Frank Li <[email protected]> |
| 11 |
|
| 12 |
properties: |
| 13 |
compatible: |
| 14 |
enum: |
| 15 |
- nxp,sc18is602 |
| 16 |
- nxp,sc18is602b |
| 17 |
- nxp,sc18is603 |
| 18 |
|
| 19 |
reg: |
| 20 |
maxItems: 1 |
| 21 |
|
| 22 |
clock-frequency: |
| 23 |
$ref: /schemas/types.yaml#/definitions/uint32 |
| 24 |
default: 7372000 |
| 25 |
description: |
| 26 |
external oscillator clock frequency. The clock-frequency property is |
| 27 |
relevant and needed only if the chip has an external oscillator |
| 28 |
(SC18IS603). |
| 29 |
|
| 30 |
allOf: |
| 31 |
- $ref: spi-controller.yaml# |
| 32 |
|
| 33 |
unevaluatedProperties: false |
| 34 |
|
| 35 |
required: |
| 36 |
- compatible |
| 37 |
- reg |
| 38 |
|
| 39 |
examples: |
| 40 |
- | |
| 41 |
i2c { |
| 42 |
#address-cells = <1>; |
| 43 |
#size-cells = <0>; |
| 44 |
|
| 45 |
spi@28 { |
| 46 |
compatible = "nxp,sc18is603"; |
| 47 |
reg = <0x28>; |
| 48 |
clock-frequency = <14744000>; |
| 49 |
}; |
| 50 |
}; |
| 51 |
|