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