18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0 28c2ecf20Sopenharmony_ci%YAML 1.2 38c2ecf20Sopenharmony_ci--- 48c2ecf20Sopenharmony_ci$id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-gates-clk.yaml# 58c2ecf20Sopenharmony_ci$schema: http://devicetree.org/meta-schemas/core.yaml# 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_cititle: Allwinner A10 Bus Gates Clock Device Tree Bindings 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_cimaintainers: 108c2ecf20Sopenharmony_ci - Chen-Yu Tsai <wens@csie.org> 118c2ecf20Sopenharmony_ci - Maxime Ripard <mripard@kernel.org> 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_cideprecated: true 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ciproperties: 168c2ecf20Sopenharmony_ci "#clock-cells": 178c2ecf20Sopenharmony_ci const: 1 188c2ecf20Sopenharmony_ci description: > 198c2ecf20Sopenharmony_ci This additional argument passed to that clock is the offset of 208c2ecf20Sopenharmony_ci the bit controlling this particular gate in the register. 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ci compatible: 238c2ecf20Sopenharmony_ci oneOf: 248c2ecf20Sopenharmony_ci - const: allwinner,sun4i-a10-gates-clk 258c2ecf20Sopenharmony_ci - const: allwinner,sun4i-a10-axi-gates-clk 268c2ecf20Sopenharmony_ci - const: allwinner,sun4i-a10-ahb-gates-clk 278c2ecf20Sopenharmony_ci - const: allwinner,sun5i-a10s-ahb-gates-clk 288c2ecf20Sopenharmony_ci - const: allwinner,sun5i-a13-ahb-gates-clk 298c2ecf20Sopenharmony_ci - const: allwinner,sun7i-a20-ahb-gates-clk 308c2ecf20Sopenharmony_ci - const: allwinner,sun6i-a31-ahb1-gates-clk 318c2ecf20Sopenharmony_ci - const: allwinner,sun8i-a23-ahb1-gates-clk 328c2ecf20Sopenharmony_ci - const: allwinner,sun9i-a80-ahb0-gates-clk 338c2ecf20Sopenharmony_ci - const: allwinner,sun9i-a80-ahb1-gates-clk 348c2ecf20Sopenharmony_ci - const: allwinner,sun9i-a80-ahb2-gates-clk 358c2ecf20Sopenharmony_ci - const: allwinner,sun4i-a10-apb0-gates-clk 368c2ecf20Sopenharmony_ci - const: allwinner,sun5i-a10s-apb0-gates-clk 378c2ecf20Sopenharmony_ci - const: allwinner,sun5i-a13-apb0-gates-clk 388c2ecf20Sopenharmony_ci - const: allwinner,sun7i-a20-apb0-gates-clk 398c2ecf20Sopenharmony_ci - const: allwinner,sun9i-a80-apb0-gates-clk 408c2ecf20Sopenharmony_ci - const: allwinner,sun8i-a83t-apb0-gates-clk 418c2ecf20Sopenharmony_ci - const: allwinner,sun4i-a10-apb1-gates-clk 428c2ecf20Sopenharmony_ci - const: allwinner,sun5i-a13-apb1-gates-clk 438c2ecf20Sopenharmony_ci - const: allwinner,sun5i-a10s-apb1-gates-clk 448c2ecf20Sopenharmony_ci - const: allwinner,sun6i-a31-apb1-gates-clk 458c2ecf20Sopenharmony_ci - const: allwinner,sun7i-a20-apb1-gates-clk 468c2ecf20Sopenharmony_ci - const: allwinner,sun8i-a23-apb1-gates-clk 478c2ecf20Sopenharmony_ci - const: allwinner,sun9i-a80-apb1-gates-clk 488c2ecf20Sopenharmony_ci - const: allwinner,sun6i-a31-apb2-gates-clk 498c2ecf20Sopenharmony_ci - const: allwinner,sun8i-a23-apb2-gates-clk 508c2ecf20Sopenharmony_ci - const: allwinner,sun8i-a83t-bus-gates-clk 518c2ecf20Sopenharmony_ci - const: allwinner,sun9i-a80-apbs-gates-clk 528c2ecf20Sopenharmony_ci - const: allwinner,sun4i-a10-dram-gates-clk 538c2ecf20Sopenharmony_ci 548c2ecf20Sopenharmony_ci - items: 558c2ecf20Sopenharmony_ci - const: allwinner,sun5i-a13-dram-gates-clk 568c2ecf20Sopenharmony_ci - const: allwinner,sun4i-a10-gates-clk 578c2ecf20Sopenharmony_ci 588c2ecf20Sopenharmony_ci - items: 598c2ecf20Sopenharmony_ci - const: allwinner,sun8i-h3-apb0-gates-clk 608c2ecf20Sopenharmony_ci - const: allwinner,sun4i-a10-gates-clk 618c2ecf20Sopenharmony_ci 628c2ecf20Sopenharmony_ci reg: 638c2ecf20Sopenharmony_ci maxItems: 1 648c2ecf20Sopenharmony_ci 658c2ecf20Sopenharmony_ci clocks: 668c2ecf20Sopenharmony_ci maxItems: 1 678c2ecf20Sopenharmony_ci 688c2ecf20Sopenharmony_ci clock-indices: 698c2ecf20Sopenharmony_ci minItems: 1 708c2ecf20Sopenharmony_ci maxItems: 64 718c2ecf20Sopenharmony_ci 728c2ecf20Sopenharmony_ci clock-output-names: 738c2ecf20Sopenharmony_ci minItems: 1 748c2ecf20Sopenharmony_ci maxItems: 64 758c2ecf20Sopenharmony_ci 768c2ecf20Sopenharmony_cirequired: 778c2ecf20Sopenharmony_ci - "#clock-cells" 788c2ecf20Sopenharmony_ci - compatible 798c2ecf20Sopenharmony_ci - reg 808c2ecf20Sopenharmony_ci - clocks 818c2ecf20Sopenharmony_ci - clock-indices 828c2ecf20Sopenharmony_ci - clock-output-names 838c2ecf20Sopenharmony_ci 848c2ecf20Sopenharmony_ciadditionalProperties: false 858c2ecf20Sopenharmony_ci 868c2ecf20Sopenharmony_ciexamples: 878c2ecf20Sopenharmony_ci - | 888c2ecf20Sopenharmony_ci clk@1c2005c { 898c2ecf20Sopenharmony_ci #clock-cells = <1>; 908c2ecf20Sopenharmony_ci compatible = "allwinner,sun4i-a10-axi-gates-clk"; 918c2ecf20Sopenharmony_ci reg = <0x01c2005c 0x4>; 928c2ecf20Sopenharmony_ci clocks = <&axi>; 938c2ecf20Sopenharmony_ci clock-indices = <0>; 948c2ecf20Sopenharmony_ci clock-output-names = "axi_dram"; 958c2ecf20Sopenharmony_ci }; 968c2ecf20Sopenharmony_ci 978c2ecf20Sopenharmony_ci - | 988c2ecf20Sopenharmony_ci clk@1c20060 { 998c2ecf20Sopenharmony_ci #clock-cells = <1>; 1008c2ecf20Sopenharmony_ci compatible = "allwinner,sun4i-a10-ahb-gates-clk"; 1018c2ecf20Sopenharmony_ci reg = <0x01c20060 0x8>; 1028c2ecf20Sopenharmony_ci clocks = <&ahb>; 1038c2ecf20Sopenharmony_ci clock-indices = <0>, <1>, 1048c2ecf20Sopenharmony_ci <2>, <3>, 1058c2ecf20Sopenharmony_ci <4>, <5>, <6>, 1068c2ecf20Sopenharmony_ci <7>, <8>, <9>, 1078c2ecf20Sopenharmony_ci <10>, <11>, <12>, 1088c2ecf20Sopenharmony_ci <13>, <14>, <16>, 1098c2ecf20Sopenharmony_ci <17>, <18>, <20>, 1108c2ecf20Sopenharmony_ci <21>, <22>, <23>, 1118c2ecf20Sopenharmony_ci <24>, <25>, <26>, 1128c2ecf20Sopenharmony_ci <32>, <33>, <34>, 1138c2ecf20Sopenharmony_ci <35>, <36>, <37>, 1148c2ecf20Sopenharmony_ci <40>, <41>, <43>, 1158c2ecf20Sopenharmony_ci <44>, <45>, 1168c2ecf20Sopenharmony_ci <46>, <47>, 1178c2ecf20Sopenharmony_ci <50>, <52>; 1188c2ecf20Sopenharmony_ci clock-output-names = "ahb_usb0", "ahb_ehci0", 1198c2ecf20Sopenharmony_ci "ahb_ohci0", "ahb_ehci1", 1208c2ecf20Sopenharmony_ci "ahb_ohci1", "ahb_ss", "ahb_dma", 1218c2ecf20Sopenharmony_ci "ahb_bist", "ahb_mmc0", "ahb_mmc1", 1228c2ecf20Sopenharmony_ci "ahb_mmc2", "ahb_mmc3", "ahb_ms", 1238c2ecf20Sopenharmony_ci "ahb_nand", "ahb_sdram", "ahb_ace", 1248c2ecf20Sopenharmony_ci "ahb_emac", "ahb_ts", "ahb_spi0", 1258c2ecf20Sopenharmony_ci "ahb_spi1", "ahb_spi2", "ahb_spi3", 1268c2ecf20Sopenharmony_ci "ahb_pata", "ahb_sata", "ahb_gps", 1278c2ecf20Sopenharmony_ci "ahb_ve", "ahb_tvd", "ahb_tve0", 1288c2ecf20Sopenharmony_ci "ahb_tve1", "ahb_lcd0", "ahb_lcd1", 1298c2ecf20Sopenharmony_ci "ahb_csi0", "ahb_csi1", "ahb_hdmi", 1308c2ecf20Sopenharmony_ci "ahb_de_be0", "ahb_de_be1", 1318c2ecf20Sopenharmony_ci "ahb_de_fe0", "ahb_de_fe1", 1328c2ecf20Sopenharmony_ci "ahb_mp", "ahb_mali400"; 1338c2ecf20Sopenharmony_ci }; 1348c2ecf20Sopenharmony_ci 1358c2ecf20Sopenharmony_ci 1368c2ecf20Sopenharmony_ci - | 1378c2ecf20Sopenharmony_ci clk@1c20068 { 1388c2ecf20Sopenharmony_ci #clock-cells = <1>; 1398c2ecf20Sopenharmony_ci compatible = "allwinner,sun4i-a10-apb0-gates-clk"; 1408c2ecf20Sopenharmony_ci reg = <0x01c20068 0x4>; 1418c2ecf20Sopenharmony_ci clocks = <&apb0>; 1428c2ecf20Sopenharmony_ci clock-indices = <0>, <1>, 1438c2ecf20Sopenharmony_ci <2>, <3>, 1448c2ecf20Sopenharmony_ci <5>, <6>, 1458c2ecf20Sopenharmony_ci <7>, <10>; 1468c2ecf20Sopenharmony_ci clock-output-names = "apb0_codec", "apb0_spdif", 1478c2ecf20Sopenharmony_ci "apb0_ac97", "apb0_iis", 1488c2ecf20Sopenharmony_ci "apb0_pio", "apb0_ir0", 1498c2ecf20Sopenharmony_ci "apb0_ir1", "apb0_keypad"; 1508c2ecf20Sopenharmony_ci }; 1518c2ecf20Sopenharmony_ci 1528c2ecf20Sopenharmony_ci... 153