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