0001 ==================
0002 C-SKY CPU Bindings
0003 ==================
0004
0005 The device tree allows to describe the layout of CPUs in a system through
0006 the "cpus" node, which in turn contains a number of subnodes (ie "cpu")
0007 defining properties for every cpu.
0008
0009 Only SMP system need to care about the cpus node and single processor
0010 needn't define cpus node at all.
0011
0012 =====================================
0013 cpus and cpu node bindings definition
0014 =====================================
0015
0016 - cpus node
0017
0018 Description: Container of cpu nodes
0019
0020 The node name must be "cpus".
0021
0022 A cpus node must define the following properties:
0023
0024 - #address-cells
0025 Usage: required
0026 Value type: <u32>
0027 Definition: must be set to 1
0028 - #size-cells
0029 Usage: required
0030 Value type: <u32>
0031 Definition: must be set to 0
0032
0033 - cpu node
0034
0035 Description: Describes one of SMP cores
0036
0037 PROPERTIES
0038
0039 - device_type
0040 Usage: required
0041 Value type: <string>
0042 Definition: must be "cpu"
0043 - reg
0044 Usage: required
0045 Value type: <u32>
0046 Definition: CPU index
0047 - compatible:
0048 Usage: required
0049 Value type: <string>
0050 Definition: must contain "csky", eg:
0051 "csky,610"
0052 "csky,807"
0053 "csky,810"
0054 "csky,860"
0055
0056 Example:
0057 --------
0058
0059 cpus {
0060 #address-cells = <1>;
0061 #size-cells = <0>;
0062 cpu@0 {
0063 device_type = "cpu";
0064 reg = <0>;
0065 status = "ok";
0066 };
0067
0068 cpu@1 {
0069 device_type = "cpu";
0070 reg = <1>;
0071 status = "ok";
0072 };
0073 };