81 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-mod0-clk.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Allwinner A10 Module 0 Clock8 9maintainers:10 - Chen-Yu Tsai <wens@csie.org>11 - Maxime Ripard <mripard@kernel.org>12 13deprecated: true14 15select:16 properties:17 compatible:18 contains:19 enum:20 - allwinner,sun4i-a10-mod0-clk21 - allwinner,sun9i-a80-mod0-clk22 23 # The PRCM on the A31 and A23 will have the reg property missing,24 # since it's set at the upper level node, and will be validated by25 # PRCM's schema. Make sure we only validate standalone nodes.26 required:27 - compatible28 - reg29 30properties:31 "#clock-cells":32 const: 033 34 compatible:35 enum:36 - allwinner,sun4i-a10-mod0-clk37 - allwinner,sun9i-a80-mod0-clk38 39 reg:40 maxItems: 141 42 clocks:43 # On the A80, the PRCM mod0 clocks have 2 parents.44 minItems: 245 maxItems: 346 description: >47 The parent order must match the hardware programming order.48 49 clock-output-names:50 maxItems: 151 52required:53 - "#clock-cells"54 - compatible55 - reg56 - clocks57 - clock-output-names58 59additionalProperties: false60 61examples:62 - |63 clk@1c20080 {64 #clock-cells = <0>;65 compatible = "allwinner,sun4i-a10-mod0-clk";66 reg = <0x01c20080 0x4>;67 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;68 clock-output-names = "nand";69 };70 71 - |72 clk@8001454 {73 #clock-cells = <0>;74 compatible = "allwinner,sun4i-a10-mod0-clk";75 reg = <0x08001454 0x4>;76 clocks = <&osc32k>, <&osc24M>;77 clock-output-names = "r_ir";78 };79 80...81