192e16f0fSVladimir ZapolskiyNXP LPC32xx Clock Controller 292e16f0fSVladimir Zapolskiy 392e16f0fSVladimir ZapolskiyRequired properties: 492e16f0fSVladimir Zapolskiy- compatible: should be "nxp,lpc3220-clk" 592e16f0fSVladimir Zapolskiy- reg: should contain clock controller registers location and length 692e16f0fSVladimir Zapolskiy- #clock-cells: must be 1, the cell holds id of a clock provided by the 792e16f0fSVladimir Zapolskiy clock controller 892e16f0fSVladimir Zapolskiy- clocks: phandles of external oscillators, the list must contain one 992e16f0fSVladimir Zapolskiy 32768 Hz oscillator and may have one optional high frequency oscillator 1092e16f0fSVladimir Zapolskiy- clock-names: list of external oscillator clock names, must contain 1192e16f0fSVladimir Zapolskiy "xtal_32k" and may have optional "xtal" 1292e16f0fSVladimir Zapolskiy 1392e16f0fSVladimir ZapolskiyExamples: 1492e16f0fSVladimir Zapolskiy 1592e16f0fSVladimir Zapolskiy /* System Control Block */ 1692e16f0fSVladimir Zapolskiy scb { 1792e16f0fSVladimir Zapolskiy compatible = "simple-bus"; 1892e16f0fSVladimir Zapolskiy ranges = <0x0 0x040004000 0x00001000>; 1992e16f0fSVladimir Zapolskiy #address-cells = <1>; 2092e16f0fSVladimir Zapolskiy #size-cells = <1>; 2192e16f0fSVladimir Zapolskiy 2292e16f0fSVladimir Zapolskiy clk: clock-controller@0 { 2392e16f0fSVladimir Zapolskiy compatible = "nxp,lpc3220-clk"; 2492e16f0fSVladimir Zapolskiy reg = <0x00 0x114>; 2592e16f0fSVladimir Zapolskiy #clock-cells = <1>; 2692e16f0fSVladimir Zapolskiy 2792e16f0fSVladimir Zapolskiy clocks = <&xtal_32k>, <&xtal>; 2892e16f0fSVladimir Zapolskiy clock-names = "xtal_32k", "xtal"; 2992e16f0fSVladimir Zapolskiy }; 3092e16f0fSVladimir Zapolskiy }; 31