1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/clock/ingenic,cgu.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Ingenic SoCs CGU
10 The CGU in an Ingenic SoC provides all the clocks generated on-chip. It
11 typically includes a variety of PLLs, multiplexers, dividers & gates in order
12 to provide many different clock signals derived from only 2 external source
16 - Paul Cercueil <paul@crapouillou.net>
37 pattern: "^clock-controller@[0-9a-f]+$"
70 - description: External oscillator clock
71 - description: Internal 32 kHz RTC clock
78 - osc32k # Different name, same clock
84 assigned-clock-parents:
100 "^usb-phy@[a-f0-9]+$":
101 $ref: /schemas/phy/ingenic,phy-usb.yaml#
102 "^mac-phy-ctrl@[a-f0-9]+$":
103 $ref: /schemas/net/ingenic,mac.yaml#
105 additionalProperties: false
109 #include <dt-bindings/clock/ingenic,jz4770-cgu.h>
110 cgu: clock-controller@10000000 {
111 compatible = "ingenic,jz4770-cgu", "simple-mfd";
112 reg = <0x10000000 0x100>;
113 #address-cells = <1>;
115 ranges = <0x0 0x10000000 0x100>;
117 clocks = <&ext>, <&osc32k>;
118 clock-names = "ext", "osc32k";
122 otg_phy: usb-phy@3c {
123 compatible = "ingenic,jz4770-phy";
126 clocks = <&cgu JZ4770_CLK_OTG_PHY>;
128 vcc-supply = <&ldo5>;