1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0 2c66ec88fSEmmanuel Vadot%YAML 1.2 3c66ec88fSEmmanuel Vadot--- 4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/allwinner,sun9i-a80-mmc-config-clk.yaml# 5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c66ec88fSEmmanuel Vadot 7*7ef62cebSEmmanuel Vadottitle: Allwinner A80 MMC Configuration Clock 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadotmaintainers: 10c66ec88fSEmmanuel Vadot - Chen-Yu Tsai <wens@csie.org> 11c66ec88fSEmmanuel Vadot - Maxime Ripard <mripard@kernel.org> 12c66ec88fSEmmanuel Vadot 13c66ec88fSEmmanuel Vadotdeprecated: true 14c66ec88fSEmmanuel Vadot 15c66ec88fSEmmanuel Vadotdescription: > 16c66ec88fSEmmanuel Vadot There is one clock/reset output per mmc controller. The number of 17c66ec88fSEmmanuel Vadot outputs is determined by the size of the address block, which is 18c66ec88fSEmmanuel Vadot related to the overall mmc block. 19c66ec88fSEmmanuel Vadot 20c66ec88fSEmmanuel Vadotproperties: 21c66ec88fSEmmanuel Vadot "#clock-cells": 22c66ec88fSEmmanuel Vadot const: 1 23c66ec88fSEmmanuel Vadot description: > 24c66ec88fSEmmanuel Vadot The additional ID argument passed to the clock shall refer to 25c66ec88fSEmmanuel Vadot the index of the output. 26c66ec88fSEmmanuel Vadot 27c66ec88fSEmmanuel Vadot "#reset-cells": 28c66ec88fSEmmanuel Vadot const: 1 29c66ec88fSEmmanuel Vadot 30c66ec88fSEmmanuel Vadot compatible: 31c66ec88fSEmmanuel Vadot const: allwinner,sun9i-a80-mmc-config-clk 32c66ec88fSEmmanuel Vadot 33c66ec88fSEmmanuel Vadot reg: 34c66ec88fSEmmanuel Vadot maxItems: 1 35c66ec88fSEmmanuel Vadot 36c66ec88fSEmmanuel Vadot clocks: 37c66ec88fSEmmanuel Vadot maxItems: 1 38c66ec88fSEmmanuel Vadot 39c66ec88fSEmmanuel Vadot resets: 40c66ec88fSEmmanuel Vadot maxItems: 1 41c66ec88fSEmmanuel Vadot 42c66ec88fSEmmanuel Vadot clock-output-names: 43c66ec88fSEmmanuel Vadot maxItems: 4 44c66ec88fSEmmanuel Vadot 45c66ec88fSEmmanuel Vadotrequired: 46c66ec88fSEmmanuel Vadot - "#clock-cells" 47c66ec88fSEmmanuel Vadot - "#reset-cells" 48c66ec88fSEmmanuel Vadot - compatible 49c66ec88fSEmmanuel Vadot - reg 50c66ec88fSEmmanuel Vadot - clocks 51c66ec88fSEmmanuel Vadot - clock-output-names 52c66ec88fSEmmanuel Vadot 53c66ec88fSEmmanuel VadotadditionalProperties: false 54c66ec88fSEmmanuel Vadot 55c66ec88fSEmmanuel Vadotexamples: 56c66ec88fSEmmanuel Vadot - | 57c66ec88fSEmmanuel Vadot clk@1c13000 { 58c66ec88fSEmmanuel Vadot #clock-cells = <1>; 59c66ec88fSEmmanuel Vadot #reset-cells = <1>; 60c66ec88fSEmmanuel Vadot compatible = "allwinner,sun9i-a80-mmc-config-clk"; 61c66ec88fSEmmanuel Vadot reg = <0x01c13000 0x10>; 62c66ec88fSEmmanuel Vadot clocks = <&ahb0_gates 8>; 63c66ec88fSEmmanuel Vadot resets = <&ahb0_resets 8>; 64c66ec88fSEmmanuel Vadot clock-output-names = "mmc0_config", "mmc1_config", 65c66ec88fSEmmanuel Vadot "mmc2_config", "mmc3_config"; 66c66ec88fSEmmanuel Vadot }; 67c66ec88fSEmmanuel Vadot 68c66ec88fSEmmanuel Vadot... 69