Path: blob/master/Documentation/devicetree/bindings/csky/cpus.txt
26308 views
==================1C-SKY CPU Bindings2==================34The device tree allows to describe the layout of CPUs in a system through5the "cpus" node, which in turn contains a number of subnodes (ie "cpu")6defining properties for every cpu.78Only SMP system need to care about the cpus node and single processor9needn't define cpus node at all.1011=====================================12cpus and cpu node bindings definition13=====================================1415- cpus node1617Description: Container of cpu nodes1819The node name must be "cpus".2021A cpus node must define the following properties:2223- #address-cells24Usage: required25Value type: <u32>26Definition: must be set to 127- #size-cells28Usage: required29Value type: <u32>30Definition: must be set to 03132- cpu node3334Description: Describes one of SMP cores3536PROPERTIES3738- device_type39Usage: required40Value type: <string>41Definition: must be "cpu"42- reg43Usage: required44Value type: <u32>45Definition: CPU index46- compatible:47Usage: required48Value type: <string>49Definition: must contain "csky", eg:50"csky,610"51"csky,807"52"csky,810"53"csky,860"5455Example:56--------5758cpus {59#address-cells = <1>;60#size-cells = <0>;61cpu@0 {62device_type = "cpu";63reg = <0>;64status = "ok";65};6667cpu@1 {68device_type = "cpu";69reg = <1>;70status = "ok";71};72};737475