119fef6c4SGuo Ren==================
219fef6c4SGuo RenC-SKY CPU Bindings
319fef6c4SGuo Ren==================
419fef6c4SGuo Ren
519fef6c4SGuo RenThe device tree allows to describe the layout of CPUs in a system through
619fef6c4SGuo Renthe "cpus" node, which in turn contains a number of subnodes (ie "cpu")
719fef6c4SGuo Rendefining properties for every cpu.
819fef6c4SGuo Ren
919fef6c4SGuo RenOnly SMP system need to care about the cpus node and single processor
1019fef6c4SGuo Renneedn't define cpus node at all.
1119fef6c4SGuo Ren
1219fef6c4SGuo Ren=====================================
1319fef6c4SGuo Rencpus and cpu node bindings definition
1419fef6c4SGuo Ren=====================================
1519fef6c4SGuo Ren
1619fef6c4SGuo Ren- cpus node
1719fef6c4SGuo Ren
1819fef6c4SGuo Ren	Description: Container of cpu nodes
1919fef6c4SGuo Ren
2019fef6c4SGuo Ren	The node name must be "cpus".
2119fef6c4SGuo Ren
2219fef6c4SGuo Ren	A cpus node must define the following properties:
2319fef6c4SGuo Ren
2419fef6c4SGuo Ren	- #address-cells
2519fef6c4SGuo Ren		Usage: required
2619fef6c4SGuo Ren		Value type: <u32>
2719fef6c4SGuo Ren		Definition: must be set to 1
2819fef6c4SGuo Ren	- #size-cells
2919fef6c4SGuo Ren		Usage: required
3019fef6c4SGuo Ren		Value type: <u32>
3119fef6c4SGuo Ren		Definition: must be set to 0
3219fef6c4SGuo Ren
3319fef6c4SGuo Ren- cpu node
3419fef6c4SGuo Ren
3519fef6c4SGuo Ren	Description: Describes one of SMP cores
3619fef6c4SGuo Ren
3719fef6c4SGuo Ren	PROPERTIES
3819fef6c4SGuo Ren
3919fef6c4SGuo Ren	- device_type
4019fef6c4SGuo Ren		Usage: required
4119fef6c4SGuo Ren		Value type: <string>
4219fef6c4SGuo Ren		Definition: must be "cpu"
4319fef6c4SGuo Ren	- reg
4419fef6c4SGuo Ren		Usage: required
4519fef6c4SGuo Ren		Value type: <u32>
4619fef6c4SGuo Ren		Definition: CPU index
4719fef6c4SGuo Ren	- compatible:
4819fef6c4SGuo Ren		Usage: required
4919fef6c4SGuo Ren		Value type: <string>
5019fef6c4SGuo Ren		Definition: must contain "csky", eg:
5119fef6c4SGuo Ren			"csky,610"
5219fef6c4SGuo Ren			"csky,807"
5319fef6c4SGuo Ren			"csky,810"
5419fef6c4SGuo Ren			"csky,860"
5519fef6c4SGuo Ren
5619fef6c4SGuo RenExample:
5719fef6c4SGuo Ren--------
5819fef6c4SGuo Ren
5919fef6c4SGuo Ren	cpus {
6019fef6c4SGuo Ren		#address-cells = <1>;
6119fef6c4SGuo Ren		#size-cells = <0>;
6219fef6c4SGuo Ren		cpu@0 {
6319fef6c4SGuo Ren			device_type = "cpu";
6419fef6c4SGuo Ren			reg = <0>;
6519fef6c4SGuo Ren			status = "ok";
6619fef6c4SGuo Ren		};
6719fef6c4SGuo Ren
6819fef6c4SGuo Ren		cpu@1 {
6919fef6c4SGuo Ren			device_type = "cpu";
7019fef6c4SGuo Ren			reg = <1>;
7119fef6c4SGuo Ren			status = "ok";
7219fef6c4SGuo Ren		};
7319fef6c4SGuo Ren	};
74