153 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-gates-clk.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Allwinner A10 Bus Gates Clock8 9maintainers:10 - Chen-Yu Tsai <wens@csie.org>11 - Maxime Ripard <mripard@kernel.org>12 13deprecated: true14 15properties:16 "#clock-cells":17 const: 118 description: >19 This additional argument passed to that clock is the offset of20 the bit controlling this particular gate in the register.21 22 compatible:23 oneOf:24 - const: allwinner,sun4i-a10-gates-clk25 - const: allwinner,sun4i-a10-axi-gates-clk26 - const: allwinner,sun4i-a10-ahb-gates-clk27 - const: allwinner,sun5i-a10s-ahb-gates-clk28 - const: allwinner,sun5i-a13-ahb-gates-clk29 - const: allwinner,sun7i-a20-ahb-gates-clk30 - const: allwinner,sun6i-a31-ahb1-gates-clk31 - const: allwinner,sun8i-a23-ahb1-gates-clk32 - const: allwinner,sun9i-a80-ahb0-gates-clk33 - const: allwinner,sun9i-a80-ahb1-gates-clk34 - const: allwinner,sun9i-a80-ahb2-gates-clk35 - const: allwinner,sun4i-a10-apb0-gates-clk36 - const: allwinner,sun5i-a10s-apb0-gates-clk37 - const: allwinner,sun5i-a13-apb0-gates-clk38 - const: allwinner,sun7i-a20-apb0-gates-clk39 - const: allwinner,sun9i-a80-apb0-gates-clk40 - const: allwinner,sun8i-a83t-apb0-gates-clk41 - const: allwinner,sun4i-a10-apb1-gates-clk42 - const: allwinner,sun5i-a13-apb1-gates-clk43 - const: allwinner,sun5i-a10s-apb1-gates-clk44 - const: allwinner,sun6i-a31-apb1-gates-clk45 - const: allwinner,sun7i-a20-apb1-gates-clk46 - const: allwinner,sun8i-a23-apb1-gates-clk47 - const: allwinner,sun9i-a80-apb1-gates-clk48 - const: allwinner,sun6i-a31-apb2-gates-clk49 - const: allwinner,sun8i-a23-apb2-gates-clk50 - const: allwinner,sun8i-a83t-bus-gates-clk51 - const: allwinner,sun9i-a80-apbs-gates-clk52 - const: allwinner,sun4i-a10-dram-gates-clk53 54 - items:55 - const: allwinner,sun5i-a13-dram-gates-clk56 - const: allwinner,sun4i-a10-gates-clk57 58 - items:59 - const: allwinner,sun8i-h3-apb0-gates-clk60 - const: allwinner,sun4i-a10-gates-clk61 62 reg:63 maxItems: 164 65 clocks:66 maxItems: 167 68 clock-indices:69 minItems: 170 maxItems: 6471 72 clock-output-names:73 minItems: 174 maxItems: 6475 76required:77 - "#clock-cells"78 - compatible79 - reg80 - clocks81 - clock-indices82 - clock-output-names83 84additionalProperties: false85 86examples:87 - |88 clk@1c2005c {89 #clock-cells = <1>;90 compatible = "allwinner,sun4i-a10-axi-gates-clk";91 reg = <0x01c2005c 0x4>;92 clocks = <&axi>;93 clock-indices = <0>;94 clock-output-names = "axi_dram";95 };96 97 - |98 clk@1c20060 {99 #clock-cells = <1>;100 compatible = "allwinner,sun4i-a10-ahb-gates-clk";101 reg = <0x01c20060 0x8>;102 clocks = <&ahb>;103 clock-indices = <0>, <1>,104 <2>, <3>,105 <4>, <5>, <6>,106 <7>, <8>, <9>,107 <10>, <11>, <12>,108 <13>, <14>, <16>,109 <17>, <18>, <20>,110 <21>, <22>, <23>,111 <24>, <25>, <26>,112 <32>, <33>, <34>,113 <35>, <36>, <37>,114 <40>, <41>, <43>,115 <44>, <45>,116 <46>, <47>,117 <50>, <52>;118 clock-output-names = "ahb_usb0", "ahb_ehci0",119 "ahb_ohci0", "ahb_ehci1",120 "ahb_ohci1", "ahb_ss", "ahb_dma",121 "ahb_bist", "ahb_mmc0", "ahb_mmc1",122 "ahb_mmc2", "ahb_mmc3", "ahb_ms",123 "ahb_nand", "ahb_sdram", "ahb_ace",124 "ahb_emac", "ahb_ts", "ahb_spi0",125 "ahb_spi1", "ahb_spi2", "ahb_spi3",126 "ahb_pata", "ahb_sata", "ahb_gps",127 "ahb_ve", "ahb_tvd", "ahb_tve0",128 "ahb_tve1", "ahb_lcd0", "ahb_lcd1",129 "ahb_csi0", "ahb_csi1", "ahb_hdmi",130 "ahb_de_be0", "ahb_de_be1",131 "ahb_de_fe0", "ahb_de_fe1",132 "ahb_mp", "ahb_mali400";133 };134 135 136 - |137 clk@1c20068 {138 #clock-cells = <1>;139 compatible = "allwinner,sun4i-a10-apb0-gates-clk";140 reg = <0x01c20068 0x4>;141 clocks = <&apb0>;142 clock-indices = <0>, <1>,143 <2>, <3>,144 <5>, <6>,145 <7>, <10>;146 clock-output-names = "apb0_codec", "apb0_spdif",147 "apb0_ac97", "apb0_iis",148 "apb0_pio", "apb0_ir0",149 "apb0_ir1", "apb0_keypad";150 };151 152...153