1c9ccf3a3SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2c9ccf3a3SEmmanuel Vadot%YAML 1.2 3c9ccf3a3SEmmanuel Vadot--- 4c9ccf3a3SEmmanuel Vadot$id: http://devicetree.org/schemas/clock/ti/ti,clksel.yaml# 5c9ccf3a3SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c9ccf3a3SEmmanuel Vadot 7*8bab661aSEmmanuel Vadottitle: TI clksel clock 8c9ccf3a3SEmmanuel Vadot 9c9ccf3a3SEmmanuel Vadotmaintainers: 10c9ccf3a3SEmmanuel Vadot - Tony Lindgren <tony@atomide.com> 11c9ccf3a3SEmmanuel Vadot 12c9ccf3a3SEmmanuel Vadotdescription: | 13c9ccf3a3SEmmanuel Vadot The TI CLKSEL clocks consist of consist of input clock mux bits, and in some 14c9ccf3a3SEmmanuel Vadot cases also has divider, multiplier and gate bits. 15c9ccf3a3SEmmanuel Vadot 16c9ccf3a3SEmmanuel Vadotproperties: 17c9ccf3a3SEmmanuel Vadot compatible: 18c9ccf3a3SEmmanuel Vadot const: ti,clksel 19c9ccf3a3SEmmanuel Vadot 20c9ccf3a3SEmmanuel Vadot reg: 21c9ccf3a3SEmmanuel Vadot maxItems: 1 22c9ccf3a3SEmmanuel Vadot description: The CLKSEL register range 23c9ccf3a3SEmmanuel Vadot 24c9ccf3a3SEmmanuel Vadot '#address-cells': 25c9ccf3a3SEmmanuel Vadot enum: [ 0, 1, 2 ] 26c9ccf3a3SEmmanuel Vadot 27c9ccf3a3SEmmanuel Vadot '#size-cells': 28c9ccf3a3SEmmanuel Vadot enum: [ 0, 1, 2 ] 29c9ccf3a3SEmmanuel Vadot 30c9ccf3a3SEmmanuel Vadot ranges: true 31c9ccf3a3SEmmanuel Vadot 32c9ccf3a3SEmmanuel Vadot "#clock-cells": 33c9ccf3a3SEmmanuel Vadot const: 2 34c9ccf3a3SEmmanuel Vadot description: The CLKSEL register and bit offset 35c9ccf3a3SEmmanuel Vadot 36c9ccf3a3SEmmanuel Vadotrequired: 37c9ccf3a3SEmmanuel Vadot - compatible 38c9ccf3a3SEmmanuel Vadot - reg 39c9ccf3a3SEmmanuel Vadot - "#clock-cells" 40c9ccf3a3SEmmanuel Vadot 41c9ccf3a3SEmmanuel VadotadditionalProperties: 42c9ccf3a3SEmmanuel Vadot type: object 43c9ccf3a3SEmmanuel Vadot 44c9ccf3a3SEmmanuel Vadotexamples: 45c9ccf3a3SEmmanuel Vadot - | 46c9ccf3a3SEmmanuel Vadot clksel_gfx_fclk: clock@52c { 47c9ccf3a3SEmmanuel Vadot compatible = "ti,clksel"; 48c9ccf3a3SEmmanuel Vadot reg = <0x25c 0x4>; 49c9ccf3a3SEmmanuel Vadot #clock-cells = <2>; 50c9ccf3a3SEmmanuel Vadot }; 51c9ccf3a3SEmmanuel Vadot... 52