1*c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0+ 2*c66ec88fSEmmanuel Vadot%YAML 1.2 3*c66ec88fSEmmanuel Vadot--- 4*c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/allwinner,sun9i-a80-usb-clocks.yaml# 5*c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*c66ec88fSEmmanuel Vadot 7*c66ec88fSEmmanuel Vadottitle: Allwinner A80 USB Clock Controller Device Tree Bindings 8*c66ec88fSEmmanuel Vadot 9*c66ec88fSEmmanuel Vadotmaintainers: 10*c66ec88fSEmmanuel Vadot - Chen-Yu Tsai <wens@csie.org> 11*c66ec88fSEmmanuel Vadot - Maxime Ripard <mripard@kernel.org> 12*c66ec88fSEmmanuel Vadot 13*c66ec88fSEmmanuel Vadotproperties: 14*c66ec88fSEmmanuel Vadot "#clock-cells": 15*c66ec88fSEmmanuel Vadot const: 1 16*c66ec88fSEmmanuel Vadot 17*c66ec88fSEmmanuel Vadot "#reset-cells": 18*c66ec88fSEmmanuel Vadot const: 1 19*c66ec88fSEmmanuel Vadot 20*c66ec88fSEmmanuel Vadot compatible: 21*c66ec88fSEmmanuel Vadot const: allwinner,sun9i-a80-usb-clocks 22*c66ec88fSEmmanuel Vadot 23*c66ec88fSEmmanuel Vadot reg: 24*c66ec88fSEmmanuel Vadot maxItems: 1 25*c66ec88fSEmmanuel Vadot 26*c66ec88fSEmmanuel Vadot clocks: 27*c66ec88fSEmmanuel Vadot items: 28*c66ec88fSEmmanuel Vadot - description: Bus Clock 29*c66ec88fSEmmanuel Vadot - description: High Frequency Oscillator 30*c66ec88fSEmmanuel Vadot 31*c66ec88fSEmmanuel Vadot clock-names: 32*c66ec88fSEmmanuel Vadot items: 33*c66ec88fSEmmanuel Vadot - const: bus 34*c66ec88fSEmmanuel Vadot - const: hosc 35*c66ec88fSEmmanuel Vadot 36*c66ec88fSEmmanuel Vadotrequired: 37*c66ec88fSEmmanuel Vadot - "#clock-cells" 38*c66ec88fSEmmanuel Vadot - "#reset-cells" 39*c66ec88fSEmmanuel Vadot - compatible 40*c66ec88fSEmmanuel Vadot - reg 41*c66ec88fSEmmanuel Vadot - clocks 42*c66ec88fSEmmanuel Vadot - clock-names 43*c66ec88fSEmmanuel Vadot 44*c66ec88fSEmmanuel VadotadditionalProperties: false 45*c66ec88fSEmmanuel Vadot 46*c66ec88fSEmmanuel Vadotexamples: 47*c66ec88fSEmmanuel Vadot - | 48*c66ec88fSEmmanuel Vadot #include <dt-bindings/clock/sun9i-a80-ccu.h> 49*c66ec88fSEmmanuel Vadot 50*c66ec88fSEmmanuel Vadot usb_clocks: clock@a08000 { 51*c66ec88fSEmmanuel Vadot compatible = "allwinner,sun9i-a80-usb-clks"; 52*c66ec88fSEmmanuel Vadot reg = <0x00a08000 0x8>; 53*c66ec88fSEmmanuel Vadot clocks = <&ccu CLK_BUS_USB>, <&osc24M>; 54*c66ec88fSEmmanuel Vadot clock-names = "bus", "hosc"; 55*c66ec88fSEmmanuel Vadot #clock-cells = <1>; 56*c66ec88fSEmmanuel Vadot #reset-cells = <1>; 57*c66ec88fSEmmanuel Vadot }; 58*c66ec88fSEmmanuel Vadot 59*c66ec88fSEmmanuel Vadot... 60