xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,ipq9574-nsscc.yaml (revision 8ccc0d235c226d84112561d453c49904398d085c)
1*8ccc0d23SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*8ccc0d23SEmmanuel Vadot%YAML 1.2
3*8ccc0d23SEmmanuel Vadot---
4*8ccc0d23SEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,ipq9574-nsscc.yaml#
5*8ccc0d23SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*8ccc0d23SEmmanuel Vadot
7*8ccc0d23SEmmanuel Vadottitle: Qualcomm Networking Sub System Clock & Reset Controller on IPQ9574
8*8ccc0d23SEmmanuel Vadot
9*8ccc0d23SEmmanuel Vadotmaintainers:
10*8ccc0d23SEmmanuel Vadot  - Bjorn Andersson <andersson@kernel.org>
11*8ccc0d23SEmmanuel Vadot  - Anusha Rao <quic_anusha@quicinc.com>
12*8ccc0d23SEmmanuel Vadot
13*8ccc0d23SEmmanuel Vadotdescription: |
14*8ccc0d23SEmmanuel Vadot  Qualcomm networking sub system clock control module provides the clocks,
15*8ccc0d23SEmmanuel Vadot  resets on IPQ9574
16*8ccc0d23SEmmanuel Vadot
17*8ccc0d23SEmmanuel Vadot  See also::
18*8ccc0d23SEmmanuel Vadot    include/dt-bindings/clock/qcom,ipq9574-nsscc.h
19*8ccc0d23SEmmanuel Vadot    include/dt-bindings/reset/qcom,ipq9574-nsscc.h
20*8ccc0d23SEmmanuel Vadot
21*8ccc0d23SEmmanuel Vadotproperties:
22*8ccc0d23SEmmanuel Vadot  compatible:
23*8ccc0d23SEmmanuel Vadot    const: qcom,ipq9574-nsscc
24*8ccc0d23SEmmanuel Vadot
25*8ccc0d23SEmmanuel Vadot  clocks:
26*8ccc0d23SEmmanuel Vadot    items:
27*8ccc0d23SEmmanuel Vadot      - description: Board XO source
28*8ccc0d23SEmmanuel Vadot      - description: CMN_PLL NSS 1200MHz (Bias PLL cc) clock source
29*8ccc0d23SEmmanuel Vadot      - description: CMN_PLL PPE 353MHz (Bias PLL ubi nc) clock source
30*8ccc0d23SEmmanuel Vadot      - description: GCC GPLL0 OUT AUX clock source
31*8ccc0d23SEmmanuel Vadot      - description: Uniphy0 NSS Rx clock source
32*8ccc0d23SEmmanuel Vadot      - description: Uniphy0 NSS Tx clock source
33*8ccc0d23SEmmanuel Vadot      - description: Uniphy1 NSS Rx clock source
34*8ccc0d23SEmmanuel Vadot      - description: Uniphy1 NSS Tx clock source
35*8ccc0d23SEmmanuel Vadot      - description: Uniphy2 NSS Rx clock source
36*8ccc0d23SEmmanuel Vadot      - description: Uniphy2 NSS Tx clock source
37*8ccc0d23SEmmanuel Vadot      - description: GCC NSSCC clock source
38*8ccc0d23SEmmanuel Vadot
39*8ccc0d23SEmmanuel Vadot  '#interconnect-cells':
40*8ccc0d23SEmmanuel Vadot    const: 1
41*8ccc0d23SEmmanuel Vadot
42*8ccc0d23SEmmanuel Vadot  clock-names:
43*8ccc0d23SEmmanuel Vadot    items:
44*8ccc0d23SEmmanuel Vadot      - const: xo
45*8ccc0d23SEmmanuel Vadot      - const: nss_1200
46*8ccc0d23SEmmanuel Vadot      - const: ppe_353
47*8ccc0d23SEmmanuel Vadot      - const: gpll0_out
48*8ccc0d23SEmmanuel Vadot      - const: uniphy0_rx
49*8ccc0d23SEmmanuel Vadot      - const: uniphy0_tx
50*8ccc0d23SEmmanuel Vadot      - const: uniphy1_rx
51*8ccc0d23SEmmanuel Vadot      - const: uniphy1_tx
52*8ccc0d23SEmmanuel Vadot      - const: uniphy2_rx
53*8ccc0d23SEmmanuel Vadot      - const: uniphy2_tx
54*8ccc0d23SEmmanuel Vadot      - const: bus
55*8ccc0d23SEmmanuel Vadot
56*8ccc0d23SEmmanuel Vadotrequired:
57*8ccc0d23SEmmanuel Vadot  - compatible
58*8ccc0d23SEmmanuel Vadot  - clocks
59*8ccc0d23SEmmanuel Vadot  - clock-names
60*8ccc0d23SEmmanuel Vadot
61*8ccc0d23SEmmanuel VadotallOf:
62*8ccc0d23SEmmanuel Vadot  - $ref: qcom,gcc.yaml#
63*8ccc0d23SEmmanuel Vadot
64*8ccc0d23SEmmanuel VadotunevaluatedProperties: false
65*8ccc0d23SEmmanuel Vadot
66*8ccc0d23SEmmanuel Vadotexamples:
67*8ccc0d23SEmmanuel Vadot  - |
68*8ccc0d23SEmmanuel Vadot    #include <dt-bindings/clock/qcom,ipq9574-gcc.h>
69*8ccc0d23SEmmanuel Vadot    #include <dt-bindings/clock/qcom,ipq-cmn-pll.h>
70*8ccc0d23SEmmanuel Vadot    clock-controller@39b00000 {
71*8ccc0d23SEmmanuel Vadot      compatible = "qcom,ipq9574-nsscc";
72*8ccc0d23SEmmanuel Vadot      reg = <0x39b00000 0x80000>;
73*8ccc0d23SEmmanuel Vadot      clocks = <&xo_board_clk>,
74*8ccc0d23SEmmanuel Vadot               <&cmn_pll NSS_1200MHZ_CLK>,
75*8ccc0d23SEmmanuel Vadot               <&cmn_pll PPE_353MHZ_CLK>,
76*8ccc0d23SEmmanuel Vadot               <&gcc GPLL0_OUT_AUX>,
77*8ccc0d23SEmmanuel Vadot               <&uniphy 0>,
78*8ccc0d23SEmmanuel Vadot               <&uniphy 1>,
79*8ccc0d23SEmmanuel Vadot               <&uniphy 2>,
80*8ccc0d23SEmmanuel Vadot               <&uniphy 3>,
81*8ccc0d23SEmmanuel Vadot               <&uniphy 4>,
82*8ccc0d23SEmmanuel Vadot               <&uniphy 5>,
83*8ccc0d23SEmmanuel Vadot               <&gcc GCC_NSSCC_CLK>;
84*8ccc0d23SEmmanuel Vadot      clock-names = "xo",
85*8ccc0d23SEmmanuel Vadot                    "nss_1200",
86*8ccc0d23SEmmanuel Vadot                    "ppe_353",
87*8ccc0d23SEmmanuel Vadot                    "gpll0_out",
88*8ccc0d23SEmmanuel Vadot                    "uniphy0_rx",
89*8ccc0d23SEmmanuel Vadot                    "uniphy0_tx",
90*8ccc0d23SEmmanuel Vadot                    "uniphy1_rx",
91*8ccc0d23SEmmanuel Vadot                    "uniphy1_tx",
92*8ccc0d23SEmmanuel Vadot                    "uniphy2_rx",
93*8ccc0d23SEmmanuel Vadot                    "uniphy2_tx",
94*8ccc0d23SEmmanuel Vadot                    "bus";
95*8ccc0d23SEmmanuel Vadot      #clock-cells = <1>;
96*8ccc0d23SEmmanuel Vadot      #reset-cells = <1>;
97*8ccc0d23SEmmanuel Vadot    };
98*8ccc0d23SEmmanuel Vadot...
99