···11+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)22+%YAML 1.233+---44+$id: http://devicetree.org/schemas/clock/rockchip,rk3528-cru.yaml#55+$schema: http://devicetree.org/meta-schemas/core.yaml#66+77+title: Rockchip RK3528 Clock and Reset Controller88+99+maintainers:1010+ - Yao Zi <ziyao@disroot.org>1111+1212+description: |1313+ The RK3528 clock controller generates the clock and also implements a reset1414+ controller for SoC peripherals. For example, it provides SCLK_UART0 and1515+ PCLK_UART0 as well as SRST_P_UART0 and SRST_S_UART0 for the first UART1616+ module.1717+ Each clock is assigned an identifier, consumer nodes can use it to specify1818+ the clock. All available clock and reset IDs are defined in dt-binding1919+ headers.2020+2121+properties:2222+ compatible:2323+ const: rockchip,rk3528-cru2424+2525+ reg:2626+ maxItems: 12727+2828+ clocks:2929+ items:3030+ - description: External 24MHz oscillator clock3131+ - description: >3232+ 50MHz clock generated by PHY module, for generating GMAC0 clocks only.3333+3434+ clock-names:3535+ items:3636+ - const: xin24m3737+ - const: gmac03838+3939+ "#clock-cells":4040+ const: 14141+4242+ "#reset-cells":4343+ const: 14444+4545+required:4646+ - compatible4747+ - reg4848+ - clocks4949+ - clock-names5050+ - "#clock-cells"5151+ - "#reset-cells"5252+5353+additionalProperties: false5454+5555+examples:5656+ - |5757+ clock-controller@ff4a0000 {5858+ compatible = "rockchip,rk3528-cru";5959+ reg = <0xff4a0000 0x30000>;6060+ clocks = <&xin24m>, <&gmac0_clk>;6161+ clock-names = "xin24m", "gmac0";6262+ #clock-cells = <1>;6363+ #reset-cells = <1>;6464+ };