Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-display-clk.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Allwinner A10 Display Clock |
| 8 | |
| 9 | maintainers: |
| 10 | - Chen-Yu Tsai <wens@csie.org> |
| 11 | - Maxime Ripard <mripard@kernel.org> |
| 12 | |
| 13 | deprecated: true |
| 14 | |
| 15 | properties: |
| 16 | "#clock-cells": |
| 17 | const: 0 |
| 18 | |
| 19 | "#reset-cells": |
| 20 | const: 0 |
| 21 | |
| 22 | compatible: |
| 23 | const: allwinner,sun4i-a10-display-clk |
| 24 | |
| 25 | reg: |
| 26 | maxItems: 1 |
| 27 | |
| 28 | clocks: |
| 29 | maxItems: 3 |
| 30 | description: > |
| 31 | The parent order must match the hardware programming order. |
| 32 | |
| 33 | clock-output-names: |
| 34 | maxItems: 1 |
| 35 | |
| 36 | required: |
| 37 | - "#clock-cells" |
| 38 | - "#reset-cells" |
| 39 | - compatible |
| 40 | - reg |
| 41 | - clocks |
| 42 | - clock-output-names |
| 43 | |
| 44 | additionalProperties: false |
| 45 | |
| 46 | examples: |
| 47 | - | |
| 48 | clk@1c20104 { |
| 49 | #clock-cells = <0>; |
| 50 | #reset-cells = <0>; |
| 51 | compatible = "allwinner,sun4i-a10-display-clk"; |
| 52 | reg = <0x01c20104 0x4>; |
| 53 | clocks = <&pll3>, <&pll7>, <&pll5 1>; |
| 54 | clock-output-names = "de-be"; |
| 55 | }; |
| 56 | |
| 57 | ... |