xref: /freebsd/sys/contrib/device-tree/Bindings/dpll/microchip,zl30731.yaml (revision 833e5d42ab135b0238e61c5b3c19b8619677cbfa)
1*833e5d42SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2*833e5d42SEmmanuel Vadot%YAML 1.2
3*833e5d42SEmmanuel Vadot---
4*833e5d42SEmmanuel Vadot$id: http://devicetree.org/schemas/dpll/microchip,zl30731.yaml#
5*833e5d42SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*833e5d42SEmmanuel Vadot
7*833e5d42SEmmanuel Vadottitle: Microchip Azurite DPLL device
8*833e5d42SEmmanuel Vadot
9*833e5d42SEmmanuel Vadotmaintainers:
10*833e5d42SEmmanuel Vadot  - Ivan Vecera <ivecera@redhat.com>
11*833e5d42SEmmanuel Vadot
12*833e5d42SEmmanuel Vadotdescription:
13*833e5d42SEmmanuel Vadot  Microchip Azurite DPLL (ZL3073x) is a family of DPLL devices that
14*833e5d42SEmmanuel Vadot  provides up to 5 independent DPLL channels, up to 10 differential or
15*833e5d42SEmmanuel Vadot  single-ended inputs and 10 differential or 20 single-ended outputs.
16*833e5d42SEmmanuel Vadot  These devices support both I2C and SPI interfaces.
17*833e5d42SEmmanuel Vadot
18*833e5d42SEmmanuel Vadotproperties:
19*833e5d42SEmmanuel Vadot  compatible:
20*833e5d42SEmmanuel Vadot    enum:
21*833e5d42SEmmanuel Vadot      - microchip,zl30731
22*833e5d42SEmmanuel Vadot      - microchip,zl30732
23*833e5d42SEmmanuel Vadot      - microchip,zl30733
24*833e5d42SEmmanuel Vadot      - microchip,zl30734
25*833e5d42SEmmanuel Vadot      - microchip,zl30735
26*833e5d42SEmmanuel Vadot
27*833e5d42SEmmanuel Vadot  reg:
28*833e5d42SEmmanuel Vadot    maxItems: 1
29*833e5d42SEmmanuel Vadot
30*833e5d42SEmmanuel Vadotrequired:
31*833e5d42SEmmanuel Vadot  - compatible
32*833e5d42SEmmanuel Vadot  - reg
33*833e5d42SEmmanuel Vadot
34*833e5d42SEmmanuel VadotallOf:
35*833e5d42SEmmanuel Vadot  - $ref: /schemas/dpll/dpll-device.yaml#
36*833e5d42SEmmanuel Vadot  - $ref: /schemas/spi/spi-peripheral-props.yaml#
37*833e5d42SEmmanuel Vadot
38*833e5d42SEmmanuel VadotunevaluatedProperties: false
39*833e5d42SEmmanuel Vadot
40*833e5d42SEmmanuel Vadotexamples:
41*833e5d42SEmmanuel Vadot  - |
42*833e5d42SEmmanuel Vadot    i2c {
43*833e5d42SEmmanuel Vadot      #address-cells = <1>;
44*833e5d42SEmmanuel Vadot      #size-cells = <0>;
45*833e5d42SEmmanuel Vadot
46*833e5d42SEmmanuel Vadot      dpll@70 {
47*833e5d42SEmmanuel Vadot        compatible = "microchip,zl30732";
48*833e5d42SEmmanuel Vadot        reg = <0x70>;
49*833e5d42SEmmanuel Vadot        dpll-types = "pps", "eec";
50*833e5d42SEmmanuel Vadot
51*833e5d42SEmmanuel Vadot        input-pins {
52*833e5d42SEmmanuel Vadot          #address-cells = <1>;
53*833e5d42SEmmanuel Vadot          #size-cells = <0>;
54*833e5d42SEmmanuel Vadot
55*833e5d42SEmmanuel Vadot          pin@0 { /* REF0P */
56*833e5d42SEmmanuel Vadot            reg = <0>;
57*833e5d42SEmmanuel Vadot            connection-type = "ext";
58*833e5d42SEmmanuel Vadot            label = "Input 0";
59*833e5d42SEmmanuel Vadot            supported-frequencies-hz = /bits/ 64 <1 1000>;
60*833e5d42SEmmanuel Vadot          };
61*833e5d42SEmmanuel Vadot        };
62*833e5d42SEmmanuel Vadot
63*833e5d42SEmmanuel Vadot        output-pins {
64*833e5d42SEmmanuel Vadot          #address-cells = <1>;
65*833e5d42SEmmanuel Vadot          #size-cells = <0>;
66*833e5d42SEmmanuel Vadot
67*833e5d42SEmmanuel Vadot          pin@3 { /* OUT1N */
68*833e5d42SEmmanuel Vadot            reg = <3>;
69*833e5d42SEmmanuel Vadot            connection-type = "gnss";
70*833e5d42SEmmanuel Vadot            esync-control;
71*833e5d42SEmmanuel Vadot            label = "Output 1";
72*833e5d42SEmmanuel Vadot            supported-frequencies-hz = /bits/ 64 <1 10000>;
73*833e5d42SEmmanuel Vadot          };
74*833e5d42SEmmanuel Vadot        };
75*833e5d42SEmmanuel Vadot      };
76*833e5d42SEmmanuel Vadot    };
77*833e5d42SEmmanuel Vadot  - |
78*833e5d42SEmmanuel Vadot    spi {
79*833e5d42SEmmanuel Vadot      #address-cells = <1>;
80*833e5d42SEmmanuel Vadot      #size-cells = <0>;
81*833e5d42SEmmanuel Vadot
82*833e5d42SEmmanuel Vadot      dpll@70 {
83*833e5d42SEmmanuel Vadot        compatible = "microchip,zl30731";
84*833e5d42SEmmanuel Vadot        reg = <0x70>;
85*833e5d42SEmmanuel Vadot        spi-max-frequency = <12500000>;
86*833e5d42SEmmanuel Vadot
87*833e5d42SEmmanuel Vadot        dpll-types = "pps";
88*833e5d42SEmmanuel Vadot
89*833e5d42SEmmanuel Vadot        input-pins {
90*833e5d42SEmmanuel Vadot          #address-cells = <1>;
91*833e5d42SEmmanuel Vadot          #size-cells = <0>;
92*833e5d42SEmmanuel Vadot
93*833e5d42SEmmanuel Vadot          pin@0 { /* REF0P */
94*833e5d42SEmmanuel Vadot            reg = <0>;
95*833e5d42SEmmanuel Vadot            connection-type = "ext";
96*833e5d42SEmmanuel Vadot            label = "Input 0";
97*833e5d42SEmmanuel Vadot            supported-frequencies-hz = /bits/ 64 <1 1000>;
98*833e5d42SEmmanuel Vadot          };
99*833e5d42SEmmanuel Vadot        };
100*833e5d42SEmmanuel Vadot
101*833e5d42SEmmanuel Vadot        output-pins {
102*833e5d42SEmmanuel Vadot          #address-cells = <1>;
103*833e5d42SEmmanuel Vadot          #size-cells = <0>;
104*833e5d42SEmmanuel Vadot
105*833e5d42SEmmanuel Vadot          pin@3 { /* OUT1N */
106*833e5d42SEmmanuel Vadot            reg = <3>;
107*833e5d42SEmmanuel Vadot            connection-type = "gnss";
108*833e5d42SEmmanuel Vadot            esync-control;
109*833e5d42SEmmanuel Vadot            label = "Output 1";
110*833e5d42SEmmanuel Vadot            supported-frequencies-hz = /bits/ 64 <1 10000>;
111*833e5d42SEmmanuel Vadot          };
112*833e5d42SEmmanuel Vadot        };
113*833e5d42SEmmanuel Vadot      };
114*833e5d42SEmmanuel Vadot    };
115*833e5d42SEmmanuel Vadot...
116