1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/clock/imx7ulp-pcc-clock.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Clock bindings for Freescale i.MX7ULP Peripheral Clock Control (PCC) modules
10 - A.s. Dong <aisheng.dong@nxp.com>
13 i.MX7ULP Clock functions are under joint control of the System
14 Clock Generation (SCG) modules, Peripheral Clock Control (PCC)
15 modules, and Core Mode Controller (CMC)1 blocks
17 The clocking scheme provides clear separation between M4 domain
18 and A7 domain. Except for a few clock sources shared between two
19 domains, such as the System Oscillator clock, the Slow IRC (SIRC),
20 and and the Fast IRC clock (FIRCLK), clock sources and clock
21 management are separated and contained within each domain.
23 M4 clock management consists of SCG0, PCC0, PCC1, and CMC0 modules.
24 A7 clock management consists of SCG1, PCC2, PCC3, and CMC1 modules.
26 Note: this binding doc is only for A7 clock domain.
28 The Peripheral Clock Control (PCC) is responsible for clock selection,
29 optional division and clock gating mode for peripherals in their
30 respected power domain.
32 The clock consumer should specify the desired clock by having the clock
33 ID in its "clocks" phandle cell.
34 See include/dt-bindings/clock/imx7ulp-clock.h for the full list of
35 i.MX7ULP clock IDs of each module.
51 - description: nic1 bus clock
52 - description: nic1 clock
53 - description: ddr clock
54 - description: apll pfd2
55 - description: apll pfd1
56 - description: apll pfd0
57 - description: usb pll
58 - description: system osc bus clock
59 - description: fast internal reference clock bus
60 - description: rtc osc
61 - description: system pll bus clock
84 additionalProperties: false
88 #include <dt-bindings/clock/imx7ulp-clock.h>
89 #include <dt-bindings/interrupt-controller/arm-gic.h>
91 clock-controller@403f0000 {
92 compatible = "fsl,imx7ulp-pcc2";
93 reg = <0x403f0000 0x10000>;
95 clocks = <&scg1 IMX7ULP_CLK_NIC1_BUS_DIV>,
96 <&scg1 IMX7ULP_CLK_NIC1_DIV>,
97 <&scg1 IMX7ULP_CLK_DDR_DIV>,
98 <&scg1 IMX7ULP_CLK_APLL_PFD2>,
99 <&scg1 IMX7ULP_CLK_APLL_PFD1>,
100 <&scg1 IMX7ULP_CLK_APLL_PFD0>,
101 <&scg1 IMX7ULP_CLK_UPLL>,
102 <&scg1 IMX7ULP_CLK_SOSC_BUS_CLK>,
103 <&scg1 IMX7ULP_CLK_FIRC_BUS_CLK>,
104 <&scg1 IMX7ULP_CLK_ROSC>,
105 <&scg1 IMX7ULP_CLK_SPLL_BUS_CLK>;
106 clock-names = "nic1_bus_clk", "nic1_clk", "ddr_clk",
107 "apll_pfd2", "apll_pfd1", "apll_pfd0",
108 "upll", "sosc_bus_clk", "firc_bus_clk",
109 "rosc", "spll_bus_clk";
113 compatible = "fsl,imx7ulp-usdhc";
114 reg = <0x40380000 0x10000>;
115 interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
116 clocks = <&scg1 IMX7ULP_CLK_NIC1_BUS_DIV>,
117 <&scg1 IMX7ULP_CLK_NIC1_DIV>,
118 <&pcc2 IMX7ULP_CLK_USDHC1>;
119 clock-names ="ipg", "ahb", "per";