Path: blob/master/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-usb-clk.yaml
26308 views
# SPDX-License-Identifier: GPL-2.01%YAML 1.22---3$id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-usb-clk.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Allwinner A10 USB Clock78maintainers:9- Chen-Yu Tsai <wens@csie.org>10- Maxime Ripard <mripard@kernel.org>1112deprecated: true1314properties:15"#clock-cells":16const: 117description: >18The additional ID argument passed to the clock shall refer to19the index of the output.2021"#reset-cells":22const: 12324compatible:25enum:26- allwinner,sun4i-a10-usb-clk27- allwinner,sun5i-a13-usb-clk28- allwinner,sun6i-a31-usb-clk29- allwinner,sun8i-a23-usb-clk30- allwinner,sun8i-h3-usb-clk3132reg:33maxItems: 13435clocks:36maxItems: 13738clock-output-names:39minItems: 240maxItems: 84142required:43- "#clock-cells"44- "#reset-cells"45- compatible46- reg47- clocks48- clock-output-names4950additionalProperties: false5152allOf:53- if:54properties:55compatible:56contains:57const: allwinner,sun4i-a10-usb-clk5859then:60properties:61clock-output-names:62maxItems: 36364- if:65properties:66compatible:67contains:68const: allwinner,sun5i-a13-usb-clk6970then:71properties:72clock-output-names:73maxItems: 27475- if:76properties:77compatible:78contains:79const: allwinner,sun6i-a31-usb-clk8081then:82properties:83clock-output-names:84maxItems: 68586- if:87properties:88compatible:89contains:90const: allwinner,sun8i-a23-usb-clk9192then:93properties:94clock-output-names:95maxItems: 59697- if:98properties:99compatible:100contains:101const: allwinner,sun8i-h3-usb-clk102103then:104properties:105clock-output-names:106maxItems: 8107108examples:109- |110clk@1c200cc {111#clock-cells = <1>;112#reset-cells = <1>;113compatible = "allwinner,sun4i-a10-usb-clk";114reg = <0x01c200cc 0x4>;115clocks = <&pll6 1>;116clock-output-names = "usb_ohci0", "usb_ohci1", "usb_phy";117};118119- |120clk@1c200cc {121#clock-cells = <1>;122#reset-cells = <1>;123compatible = "allwinner,sun5i-a13-usb-clk";124reg = <0x01c200cc 0x4>;125clocks = <&pll6 1>;126clock-output-names = "usb_ohci0", "usb_phy";127};128129- |130clk@1c200cc {131#clock-cells = <1>;132#reset-cells = <1>;133compatible = "allwinner,sun6i-a31-usb-clk";134reg = <0x01c200cc 0x4>;135clocks = <&osc24M>;136clock-output-names = "usb_phy0", "usb_phy1", "usb_phy2",137"usb_ohci0", "usb_ohci1",138"usb_ohci2";139};140141- |142clk@1c200cc {143#clock-cells = <1>;144#reset-cells = <1>;145compatible = "allwinner,sun8i-a23-usb-clk";146reg = <0x01c200cc 0x4>;147clocks = <&osc24M>;148clock-output-names = "usb_phy0", "usb_phy1", "usb_hsic",149"usb_hsic_12M", "usb_ohci0";150};151152- |153clk@1c200cc {154#clock-cells = <1>;155#reset-cells = <1>;156compatible = "allwinner,sun8i-h3-usb-clk";157reg = <0x01c200cc 0x4>;158clocks = <&osc24M>;159clock-output-names = "usb_phy0", "usb_phy1",160"usb_phy2", "usb_phy3",161"usb_ohci0", "usb_ohci1",162"usb_ohci2", "usb_ohci3";163};164165...166167168