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