Back to home page

OSCL-LXR

 
 

    


0001 NXP LPC32xx Clock Controller
0002 
0003 Required properties:
0004 - compatible: should be "nxp,lpc3220-clk"
0005 - reg:  should contain clock controller registers location and length
0006 - #clock-cells: must be 1, the cell holds id of a clock provided by the
0007   clock controller
0008 - clocks: phandles of external oscillators, the list must contain one
0009   32768 Hz oscillator and may have one optional high frequency oscillator
0010 - clock-names: list of external oscillator clock names, must contain
0011   "xtal_32k" and may have optional "xtal"
0012 
0013 Examples:
0014 
0015         /* System Control Block */
0016         scb {
0017                 compatible = "simple-bus";
0018                 ranges = <0x0 0x040004000 0x00001000>;
0019                 #address-cells = <1>;
0020                 #size-cells = <1>;
0021 
0022                 clk: clock-controller@0 {
0023                         compatible = "nxp,lpc3220-clk";
0024                         reg = <0x00 0x114>;
0025                         #clock-cells = <1>;
0026 
0027                         clocks = <&xtal_32k>, <&xtal>;
0028                         clock-names = "xtal_32k", "xtal";
0029                 };
0030         };