xref: /freebsd/sys/contrib/device-tree/Bindings/clock/nxp,lpc3220-clk.txt (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
1NXP LPC32xx Clock Controller
2
3Required properties:
4- compatible: should be "nxp,lpc3220-clk"
5- reg:  should contain clock controller registers location and length
6- #clock-cells: must be 1, the cell holds id of a clock provided by the
7  clock controller
8- clocks: phandles of external oscillators, the list must contain one
9  32768 Hz oscillator and may have one optional high frequency oscillator
10- clock-names: list of external oscillator clock names, must contain
11  "xtal_32k" and may have optional "xtal"
12
13Examples:
14
15	/* System Control Block */
16	scb {
17		compatible = "simple-bus";
18		ranges = <0x0 0x040004000 0x00001000>;
19		#address-cells = <1>;
20		#size-cells = <1>;
21
22		clk: clock-controller@0 {
23			compatible = "nxp,lpc3220-clk";
24			reg = <0x00 0x114>;
25			#clock-cells = <1>;
26
27			clocks = <&xtal_32k>, <&xtal>;
28			clock-names = "xtal_32k", "xtal";
29		};
30	};
31