74 lines · plain
1==================2C-SKY CPU Bindings3==================4 5The device tree allows to describe the layout of CPUs in a system through6the "cpus" node, which in turn contains a number of subnodes (ie "cpu")7defining properties for every cpu.8 9Only SMP system need to care about the cpus node and single processor10needn't define cpus node at all.11 12=====================================13cpus and cpu node bindings definition14=====================================15 16- cpus node17 18 Description: Container of cpu nodes19 20 The node name must be "cpus".21 22 A cpus node must define the following properties:23 24 - #address-cells25 Usage: required26 Value type: <u32>27 Definition: must be set to 128 - #size-cells29 Usage: required30 Value type: <u32>31 Definition: must be set to 032 33- cpu node34 35 Description: Describes one of SMP cores36 37 PROPERTIES38 39 - device_type40 Usage: required41 Value type: <string>42 Definition: must be "cpu"43 - reg44 Usage: required45 Value type: <u32>46 Definition: CPU index47 - compatible:48 Usage: required49 Value type: <string>50 Definition: must contain "csky", eg:51 "csky,610"52 "csky,807"53 "csky,810"54 "csky,860"55 56Example:57--------58 59 cpus {60 #address-cells = <1>;61 #size-cells = <0>;62 cpu@0 {63 device_type = "cpu";64 reg = <0>;65 status = "ok";66 };67 68 cpu@1 {69 device_type = "cpu";70 reg = <1>;71 status = "ok";72 };73 };74