1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0 2c66ec88fSEmmanuel Vadot%YAML 1.2 3c66ec88fSEmmanuel Vadot--- 4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-mmc-clk.yaml# 5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c66ec88fSEmmanuel Vadot 7*7ef62cebSEmmanuel Vadottitle: Allwinner A10 Module 1 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 Vadotproperties: 16c66ec88fSEmmanuel Vadot "#clock-cells": 17c66ec88fSEmmanuel Vadot const: 1 18c66ec88fSEmmanuel Vadot description: > 19c66ec88fSEmmanuel Vadot There is three different outputs: the main clock, with the ID 0, 20c66ec88fSEmmanuel Vadot and the output and sample clocks, with the IDs 1 and 2, 21c66ec88fSEmmanuel Vadot respectively. 22c66ec88fSEmmanuel Vadot 23c66ec88fSEmmanuel Vadot compatible: 24c66ec88fSEmmanuel Vadot enum: 25c66ec88fSEmmanuel Vadot - allwinner,sun4i-a10-mmc-clk 26c66ec88fSEmmanuel Vadot - allwinner,sun9i-a80-mmc-clk 27c66ec88fSEmmanuel Vadot 28c66ec88fSEmmanuel Vadot reg: 29c66ec88fSEmmanuel Vadot maxItems: 1 30c66ec88fSEmmanuel Vadot 31c66ec88fSEmmanuel Vadot clocks: 32c66ec88fSEmmanuel Vadot minItems: 2 33c66ec88fSEmmanuel Vadot maxItems: 3 34c66ec88fSEmmanuel Vadot description: > 35c66ec88fSEmmanuel Vadot The parent order must match the hardware programming order. 36c66ec88fSEmmanuel Vadot 37c66ec88fSEmmanuel Vadot clock-output-names: 38c66ec88fSEmmanuel Vadot maxItems: 3 39c66ec88fSEmmanuel Vadot 40c66ec88fSEmmanuel Vadotrequired: 41c66ec88fSEmmanuel Vadot - "#clock-cells" 42c66ec88fSEmmanuel Vadot - compatible 43c66ec88fSEmmanuel Vadot - reg 44c66ec88fSEmmanuel Vadot - clocks 45c66ec88fSEmmanuel Vadot - clock-output-names 46c66ec88fSEmmanuel Vadot 47c66ec88fSEmmanuel VadotadditionalProperties: false 48c66ec88fSEmmanuel Vadot 49c66ec88fSEmmanuel Vadotif: 50c66ec88fSEmmanuel Vadot properties: 51c66ec88fSEmmanuel Vadot compatible: 52c66ec88fSEmmanuel Vadot contains: 53c66ec88fSEmmanuel Vadot const: allwinner,sun4i-a10-mmc-clk 54c66ec88fSEmmanuel Vadot 55c66ec88fSEmmanuel Vadotthen: 56c66ec88fSEmmanuel Vadot properties: 57c66ec88fSEmmanuel Vadot clocks: 58c66ec88fSEmmanuel Vadot maxItems: 3 59c66ec88fSEmmanuel Vadot 60c66ec88fSEmmanuel Vadotelse: 61c66ec88fSEmmanuel Vadot properties: 62c66ec88fSEmmanuel Vadot clocks: 63c66ec88fSEmmanuel Vadot maxItems: 2 64c66ec88fSEmmanuel Vadot 65c66ec88fSEmmanuel Vadotexamples: 66c66ec88fSEmmanuel Vadot - | 67c66ec88fSEmmanuel Vadot clk@1c20088 { 68c66ec88fSEmmanuel Vadot #clock-cells = <1>; 69c66ec88fSEmmanuel Vadot compatible = "allwinner,sun4i-a10-mmc-clk"; 70c66ec88fSEmmanuel Vadot reg = <0x01c20088 0x4>; 71c66ec88fSEmmanuel Vadot clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; 72c66ec88fSEmmanuel Vadot clock-output-names = "mmc0", 73c66ec88fSEmmanuel Vadot "mmc0_output", 74c66ec88fSEmmanuel Vadot "mmc0_sample"; 75c66ec88fSEmmanuel Vadot }; 76c66ec88fSEmmanuel Vadot 77c66ec88fSEmmanuel Vadot - | 78c66ec88fSEmmanuel Vadot clk@6000410 { 79c66ec88fSEmmanuel Vadot #clock-cells = <1>; 80c66ec88fSEmmanuel Vadot compatible = "allwinner,sun9i-a80-mmc-clk"; 81c66ec88fSEmmanuel Vadot reg = <0x06000410 0x4>; 82c66ec88fSEmmanuel Vadot clocks = <&osc24M>, <&pll4>; 83c66ec88fSEmmanuel Vadot clock-output-names = "mmc0", "mmc0_output", 84c66ec88fSEmmanuel Vadot "mmc0_sample"; 85c66ec88fSEmmanuel Vadot }; 86c66ec88fSEmmanuel Vadot 87c66ec88fSEmmanuel Vadot... 88