Path: blob/master/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-ahb-clk.yaml
26308 views
# SPDX-License-Identifier: GPL-2.01%YAML 1.22---3$id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-ahb-clk.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Allwinner A10 AHB Clock78maintainers:9- Chen-Yu Tsai <wens@csie.org>10- Maxime Ripard <mripard@kernel.org>1112deprecated: true1314properties:15"#clock-cells":16const: 01718compatible:19enum:20- allwinner,sun4i-a10-ahb-clk21- allwinner,sun6i-a31-ahb1-clk22- allwinner,sun8i-h3-ahb2-clk2324reg:25maxItems: 12627clocks:28minItems: 129maxItems: 430description: >31The parent order must match the hardware programming order.3233clock-output-names:34maxItems: 13536required:37- "#clock-cells"38- compatible39- reg40- clocks41- clock-output-names4243additionalProperties: false4445allOf:46- if:47properties:48compatible:49contains:50const: allwinner,sun4i-a10-ahb-clk5152then:53properties:54clocks:55maxItems: 15657- if:58properties:59compatible:60contains:61const: allwinner,sun6i-a31-ahb1-clk6263then:64properties:65clocks:66maxItems: 46768- if:69properties:70compatible:71contains:72const: allwinner,sun8i-h3-ahb2-clk7374then:75properties:76clocks:77maxItems: 27879examples:80- |81ahb@1c20054 {82#clock-cells = <0>;83compatible = "allwinner,sun4i-a10-ahb-clk";84reg = <0x01c20054 0x4>;85clocks = <&axi>;86clock-output-names = "ahb";87};8889- |90ahb1@1c20054 {91#clock-cells = <0>;92compatible = "allwinner,sun6i-a31-ahb1-clk";93reg = <0x01c20054 0x4>;94clocks = <&osc32k>, <&osc24M>, <&axi>, <&pll6 0>;95clock-output-names = "ahb1";96};9798- |99ahb2_clk@1c2005c {100#clock-cells = <0>;101compatible = "allwinner,sun8i-h3-ahb2-clk";102reg = <0x01c2005c 0x4>;103clocks = <&ahb1>, <&pll6d2>;104clock-output-names = "ahb2";105};106107...108109110