Qualcomm Networking Sub System Clock & Reset Controller on IPQ9574 and IPQ5424

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,ipq9574-nsscc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>", "Anusha Rao <quic_anusha@quicinc.com>"

Qualcomm networking sub system clock control module provides the clocks, resets on IPQ9574 and IPQ5424

See also:
  include/dt-bindings/clock/qcom,ipq5424-nsscc.h
  include/dt-bindings/clock/qcom,ipq9574-nsscc.h
  include/dt-bindings/reset/qcom,ipq5424-nsscc.h
  include/dt-bindings/reset/qcom,ipq9574-nsscc.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,ipq5424-nsscc", "qcom,ipq9574-nsscc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

CMN_PLL NSS (Bias PLL cc) clock source. This clock rate can vary for different IPQ SoCs. For example, it is 1200 MHz on the IPQ9574 and 300 MHz on the IPQ5424.

Item 3

CMN_PLL PPE (Bias PLL ubi nc) clock source. The clock rate can vary for different IPQ SoCs. For example, it is 353 MHz on the IPQ9574 and 375 MHz on the IPQ5424.

Item 4

GCC GPLL0 OUT AUX clock source

Item 5

Uniphy0 NSS Rx clock source

Item 6

Uniphy0 NSS Tx clock source

Item 7

Uniphy1 NSS Rx clock source

Item 8

Uniphy1 NSS Tx clock source

Item 9

Uniphy2 NSS Rx clock source

Item 10

Uniphy2 NSS Tx clock source

Item 11

GCC NSSCC clock source

#interconnect-cells — not listed as required here #

Exact value (const): 1

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "xo"

Item 2

Allowed values (enum): "nss_1200", "nss"

Item 3

Allowed values (enum): "ppe_353", "ppe"

Item 4

Exact value (const): "gpll0_out"

Item 5

Exact value (const): "uniphy0_rx"

Item 6

Exact value (const): "uniphy0_tx"

Item 7

Exact value (const): "uniphy1_rx"

Item 8

Exact value (const): "uniphy1_tx"

Item 9

Exact value (const): "uniphy2_rx"

Item 10

Exact value (const): "uniphy2_tx"

Item 11

Exact value (const): "bus"

Required in this object (required): "compatible", "clocks", "clock-names"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Exact value (const): "qcom,ipq9574-nsscc"

When the condition matches (then) #

Properties and child nodes (properties)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "xo"

Item 2

Exact value (const): "nss_1200"

Item 3

Exact value (const): "ppe_353"

Item 4

Exact value (const): "gpll0_out"

Item 5

Exact value (const): "uniphy0_rx"

Item 6

Exact value (const): "uniphy0_tx"

Item 7

Exact value (const): "uniphy1_rx"

Item 8

Exact value (const): "uniphy1_tx"

Item 9

Exact value (const): "uniphy2_rx"

Item 10

Exact value (const): "uniphy2_tx"

Item 11

Exact value (const): "bus"

When the condition does not match (else) #

Properties and child nodes (properties)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "xo"

Item 2

Exact value (const): "nss"

Item 3

Exact value (const): "ppe"

Item 4

Exact value (const): "gpll0_out"

Item 5

Exact value (const): "uniphy0_rx"

Item 6

Exact value (const): "uniphy0_tx"

Item 7

Exact value (const): "uniphy1_rx"

Item 8

Exact value (const): "uniphy1_tx"

Item 9

Exact value (const): "uniphy2_rx"

Item 10

Exact value (const): "uniphy2_tx"

Item 11

Exact value (const): "bus"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,ipq9574-gcc.h>
#include <dt-bindings/clock/qcom,ipq-cmn-pll.h>
clock-controller@39b00000 {
  compatible = "qcom,ipq9574-nsscc";
  reg = <0x39b00000 0x80000>;
  clocks = <&xo_board_clk>,
           <&cmn_pll NSS_1200MHZ_CLK>,
           <&cmn_pll PPE_353MHZ_CLK>,
           <&gcc GPLL0_OUT_AUX>,
           <&uniphy 0>,
           <&uniphy 1>,
           <&uniphy 2>,
           <&uniphy 3>,
           <&uniphy 4>,
           <&uniphy 5>,
           <&gcc GCC_NSSCC_CLK>;
  clock-names = "xo",
                "nss_1200",
                "ppe_353",
                "gpll0_out",
                "uniphy0_rx",
                "uniphy0_tx",
                "uniphy1_rx",
                "uniphy1_tx",
                "uniphy2_rx",
                "uniphy2_tx",
                "bus";
  #clock-cells = <1>;
  #reset-cells = <1>;
  #interconnect-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page