18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0 28c2ecf20Sopenharmony_ci%YAML 1.2 38c2ecf20Sopenharmony_ci--- 48c2ecf20Sopenharmony_ci$id: http://devicetree.org/schemas/clock/allwinner,sun8i-h3-bus-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 const: allwinner,sun8i-h3-bus-gates-clk 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_ci reg: 268c2ecf20Sopenharmony_ci maxItems: 1 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ci clocks: 298c2ecf20Sopenharmony_ci maxItems: 4 308c2ecf20Sopenharmony_ci 318c2ecf20Sopenharmony_ci clock-names: 328c2ecf20Sopenharmony_ci maxItems: 4 338c2ecf20Sopenharmony_ci description: > 348c2ecf20Sopenharmony_ci The parent order must match the hardware programming order. 358c2ecf20Sopenharmony_ci 368c2ecf20Sopenharmony_ci clock-indices: 378c2ecf20Sopenharmony_ci minItems: 1 388c2ecf20Sopenharmony_ci maxItems: 64 398c2ecf20Sopenharmony_ci 408c2ecf20Sopenharmony_ci clock-output-names: 418c2ecf20Sopenharmony_ci minItems: 1 428c2ecf20Sopenharmony_ci maxItems: 64 438c2ecf20Sopenharmony_ci 448c2ecf20Sopenharmony_cirequired: 458c2ecf20Sopenharmony_ci - "#clock-cells" 468c2ecf20Sopenharmony_ci - compatible 478c2ecf20Sopenharmony_ci - reg 488c2ecf20Sopenharmony_ci - clocks 498c2ecf20Sopenharmony_ci - clock-indices 508c2ecf20Sopenharmony_ci - clock-names 518c2ecf20Sopenharmony_ci - clock-output-names 528c2ecf20Sopenharmony_ci 538c2ecf20Sopenharmony_ciadditionalProperties: false 548c2ecf20Sopenharmony_ci 558c2ecf20Sopenharmony_ciexamples: 568c2ecf20Sopenharmony_ci - | 578c2ecf20Sopenharmony_ci clk@1c20060 { 588c2ecf20Sopenharmony_ci #clock-cells = <1>; 598c2ecf20Sopenharmony_ci compatible = "allwinner,sun8i-h3-bus-gates-clk"; 608c2ecf20Sopenharmony_ci reg = <0x01c20060 0x14>; 618c2ecf20Sopenharmony_ci clocks = <&ahb1>, <&ahb2>, <&apb1>, <&apb2>; 628c2ecf20Sopenharmony_ci clock-names = "ahb1", "ahb2", "apb1", "apb2"; 638c2ecf20Sopenharmony_ci clock-indices = <5>, <6>, <8>, 648c2ecf20Sopenharmony_ci <9>, <10>, <13>, 658c2ecf20Sopenharmony_ci <14>, <17>, <18>, 668c2ecf20Sopenharmony_ci <19>, <20>, 678c2ecf20Sopenharmony_ci <21>, <23>, 688c2ecf20Sopenharmony_ci <24>, <25>, 698c2ecf20Sopenharmony_ci <26>, <27>, 708c2ecf20Sopenharmony_ci <28>, <29>, 718c2ecf20Sopenharmony_ci <30>, <31>, <32>, 728c2ecf20Sopenharmony_ci <35>, <36>, <37>, 738c2ecf20Sopenharmony_ci <40>, <41>, <43>, 748c2ecf20Sopenharmony_ci <44>, <52>, <53>, 758c2ecf20Sopenharmony_ci <54>, <64>, 768c2ecf20Sopenharmony_ci <65>, <69>, <72>, 778c2ecf20Sopenharmony_ci <76>, <77>, <78>, 788c2ecf20Sopenharmony_ci <96>, <97>, <98>, 798c2ecf20Sopenharmony_ci <112>, <113>, 808c2ecf20Sopenharmony_ci <114>, <115>, 818c2ecf20Sopenharmony_ci <116>, <128>, <135>; 828c2ecf20Sopenharmony_ci clock-output-names = "bus_ce", "bus_dma", "bus_mmc0", 838c2ecf20Sopenharmony_ci "bus_mmc1", "bus_mmc2", "bus_nand", 848c2ecf20Sopenharmony_ci "bus_sdram", "bus_gmac", "bus_ts", 858c2ecf20Sopenharmony_ci "bus_hstimer", "bus_spi0", 868c2ecf20Sopenharmony_ci "bus_spi1", "bus_otg", 878c2ecf20Sopenharmony_ci "bus_otg_ehci0", "bus_ehci1", 888c2ecf20Sopenharmony_ci "bus_ehci2", "bus_ehci3", 898c2ecf20Sopenharmony_ci "bus_otg_ohci0", "bus_ohci1", 908c2ecf20Sopenharmony_ci "bus_ohci2", "bus_ohci3", "bus_ve", 918c2ecf20Sopenharmony_ci "bus_lcd0", "bus_lcd1", "bus_deint", 928c2ecf20Sopenharmony_ci "bus_csi", "bus_tve", "bus_hdmi", 938c2ecf20Sopenharmony_ci "bus_de", "bus_gpu", "bus_msgbox", 948c2ecf20Sopenharmony_ci "bus_spinlock", "bus_codec", 958c2ecf20Sopenharmony_ci "bus_spdif", "bus_pio", "bus_ths", 968c2ecf20Sopenharmony_ci "bus_i2s0", "bus_i2s1", "bus_i2s2", 978c2ecf20Sopenharmony_ci "bus_i2c0", "bus_i2c1", "bus_i2c2", 988c2ecf20Sopenharmony_ci "bus_uart0", "bus_uart1", 998c2ecf20Sopenharmony_ci "bus_uart2", "bus_uart3", 1008c2ecf20Sopenharmony_ci "bus_scr", "bus_ephy", "bus_dbg"; 1018c2ecf20Sopenharmony_ci }; 1028c2ecf20Sopenharmony_ci 1038c2ecf20Sopenharmony_ci... 104