Path: blob/master/Documentation/devicetree/bindings/clock/allwinner,sun8i-h3-bus-gates-clk.yaml
26308 views
# SPDX-License-Identifier: GPL-2.01%YAML 1.22---3$id: http://devicetree.org/schemas/clock/allwinner,sun8i-h3-bus-gates-clk.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Allwinner A10 Bus Gates Clock78maintainers:9- Chen-Yu Tsai <wens@csie.org>10- Maxime Ripard <mripard@kernel.org>1112deprecated: true1314properties:15"#clock-cells":16const: 117description: >18This additional argument passed to that clock is the offset of19the bit controlling this particular gate in the register.2021compatible:22const: allwinner,sun8i-h3-bus-gates-clk2324reg:25maxItems: 12627clocks:28maxItems: 42930clock-names:31maxItems: 432description: >33The parent order must match the hardware programming order.3435clock-indices:36minItems: 137maxItems: 643839clock-output-names:40minItems: 141maxItems: 644243required:44- "#clock-cells"45- compatible46- reg47- clocks48- clock-indices49- clock-names50- clock-output-names5152additionalProperties: false5354examples:55- |56clk@1c20060 {57#clock-cells = <1>;58compatible = "allwinner,sun8i-h3-bus-gates-clk";59reg = <0x01c20060 0x14>;60clocks = <&ahb1>, <&ahb2>, <&apb1>, <&apb2>;61clock-names = "ahb1", "ahb2", "apb1", "apb2";62clock-indices = <5>, <6>, <8>,63<9>, <10>, <13>,64<14>, <17>, <18>,65<19>, <20>,66<21>, <23>,67<24>, <25>,68<26>, <27>,69<28>, <29>,70<30>, <31>, <32>,71<35>, <36>, <37>,72<40>, <41>, <43>,73<44>, <52>, <53>,74<54>, <64>,75<65>, <69>, <72>,76<76>, <77>, <78>,77<96>, <97>, <98>,78<112>, <113>,79<114>, <115>,80<116>, <128>, <135>;81clock-output-names = "bus_ce", "bus_dma", "bus_mmc0",82"bus_mmc1", "bus_mmc2", "bus_nand",83"bus_sdram", "bus_gmac", "bus_ts",84"bus_hstimer", "bus_spi0",85"bus_spi1", "bus_otg",86"bus_otg_ehci0", "bus_ehci1",87"bus_ehci2", "bus_ehci3",88"bus_otg_ohci0", "bus_ohci1",89"bus_ohci2", "bus_ohci3", "bus_ve",90"bus_lcd0", "bus_lcd1", "bus_deint",91"bus_csi", "bus_tve", "bus_hdmi",92"bus_de", "bus_gpu", "bus_msgbox",93"bus_spinlock", "bus_codec",94"bus_spdif", "bus_pio", "bus_ths",95"bus_i2s0", "bus_i2s1", "bus_i2s2",96"bus_i2c0", "bus_i2c1", "bus_i2c2",97"bus_uart0", "bus_uart1",98"bus_uart2", "bus_uart3",99"bus_scr", "bus_ephy", "bus_dbg";100};101102...103104105