xref: /linux/Documentation/devicetree/bindings/spi/nxp,sc18is.yaml (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
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
7title: NXP SC18IS602/SC18IS603 I2C to SPI bridge
8
9maintainers:
10  - Frank Li <Frank.Li@nxp.com>
11
12properties:
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
30allOf:
31  - $ref: spi-controller.yaml#
32
33unevaluatedProperties: false
34
35required:
36  - compatible
37  - reg
38
39examples:
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
52