1f126890aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2f126890aSEmmanuel Vadot%YAML 1.2 3f126890aSEmmanuel Vadot--- 4f126890aSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/atmel,at91sam9x5-sckc.yaml# 5f126890aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6f126890aSEmmanuel Vadot 7f126890aSEmmanuel Vadottitle: Atmel Slow Clock Controller (SCKC) 8f126890aSEmmanuel Vadot 9f126890aSEmmanuel Vadotmaintainers: 10f126890aSEmmanuel Vadot - Claudiu Beznea <claudiu.beznea@microchip.com> 11f126890aSEmmanuel Vadot 12f126890aSEmmanuel Vadotproperties: 13f126890aSEmmanuel Vadot compatible: 14f126890aSEmmanuel Vadot oneOf: 15f126890aSEmmanuel Vadot - enum: 16f126890aSEmmanuel Vadot - atmel,at91sam9x5-sckc 17f126890aSEmmanuel Vadot - atmel,sama5d3-sckc 18f126890aSEmmanuel Vadot - atmel,sama5d4-sckc 19f126890aSEmmanuel Vadot - microchip,sam9x60-sckc 20f126890aSEmmanuel Vadot - items: 21*b2d2a78aSEmmanuel Vadot - enum: 22*b2d2a78aSEmmanuel Vadot - microchip,sam9x7-sckc 23*b2d2a78aSEmmanuel Vadot - microchip,sama7g5-sckc 24f126890aSEmmanuel Vadot - const: microchip,sam9x60-sckc 25f126890aSEmmanuel Vadot 26f126890aSEmmanuel Vadot reg: 27f126890aSEmmanuel Vadot maxItems: 1 28f126890aSEmmanuel Vadot 29f126890aSEmmanuel Vadot clocks: 30f126890aSEmmanuel Vadot maxItems: 1 31f126890aSEmmanuel Vadot 32f126890aSEmmanuel Vadot "#clock-cells": 33f126890aSEmmanuel Vadot enum: [0, 1] 34f126890aSEmmanuel Vadot 35f126890aSEmmanuel Vadot atmel,osc-bypass: 36f126890aSEmmanuel Vadot type: boolean 37f126890aSEmmanuel Vadot description: set when a clock signal is directly provided on XIN 38f126890aSEmmanuel Vadot 39f126890aSEmmanuel Vadotrequired: 40f126890aSEmmanuel Vadot - compatible 41f126890aSEmmanuel Vadot - reg 42f126890aSEmmanuel Vadot - clocks 43f126890aSEmmanuel Vadot - "#clock-cells" 44f126890aSEmmanuel Vadot 45f126890aSEmmanuel VadotallOf: 46f126890aSEmmanuel Vadot - if: 47f126890aSEmmanuel Vadot properties: 48f126890aSEmmanuel Vadot compatible: 49f126890aSEmmanuel Vadot contains: 50f126890aSEmmanuel Vadot enum: 51f126890aSEmmanuel Vadot - microchip,sam9x60-sckc 52f126890aSEmmanuel Vadot then: 53f126890aSEmmanuel Vadot properties: 54f126890aSEmmanuel Vadot "#clock-cells": 55f126890aSEmmanuel Vadot const: 1 56f126890aSEmmanuel Vadot else: 57f126890aSEmmanuel Vadot properties: 58f126890aSEmmanuel Vadot "#clock-cells": 59f126890aSEmmanuel Vadot const: 0 60f126890aSEmmanuel Vadot 61f126890aSEmmanuel VadotadditionalProperties: false 62f126890aSEmmanuel Vadot 63f126890aSEmmanuel Vadotexamples: 64f126890aSEmmanuel Vadot - | 65f126890aSEmmanuel Vadot clk32k: clock-controller@fffffe50 { 66f126890aSEmmanuel Vadot compatible = "microchip,sam9x60-sckc"; 67f126890aSEmmanuel Vadot reg = <0xfffffe50 0x4>; 68f126890aSEmmanuel Vadot clocks = <&slow_xtal>; 69f126890aSEmmanuel Vadot #clock-cells = <1>; 70f126890aSEmmanuel Vadot }; 71f126890aSEmmanuel Vadot 72f126890aSEmmanuel Vadot... 73