cpus.txt 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. * ARM CPUs binding description
  2. The device tree allows to describe the layout of CPUs in a system through
  3. the "cpus" node, which in turn contains a number of subnodes (ie "cpu")
  4. defining properties for every cpu.
  5. Bindings for CPU nodes follow the ePAPR standard, available from:
  6. http://devicetree.org
  7. For the ARM architecture every CPU node must contain the following properties:
  8. - device_type: must be "cpu"
  9. - reg: property matching the CPU MPIDR[23:0] register bits
  10. reg[31:24] bits must be set to 0
  11. - compatible: should be one of:
  12. "arm,arm1020"
  13. "arm,arm1020e"
  14. "arm,arm1022"
  15. "arm,arm1026"
  16. "arm,arm720"
  17. "arm,arm740"
  18. "arm,arm7tdmi"
  19. "arm,arm920"
  20. "arm,arm922"
  21. "arm,arm925"
  22. "arm,arm926"
  23. "arm,arm940"
  24. "arm,arm946"
  25. "arm,arm9tdmi"
  26. "arm,cortex-a5"
  27. "arm,cortex-a7"
  28. "arm,cortex-a8"
  29. "arm,cortex-a9"
  30. "arm,cortex-a15"
  31. "arm,arm1136"
  32. "arm,arm1156"
  33. "arm,arm1176"
  34. "arm,arm11mpcore"
  35. "faraday,fa526"
  36. "intel,sa110"
  37. "intel,sa1100"
  38. "marvell,feroceon"
  39. "marvell,mohawk"
  40. "marvell,xsc3"
  41. "marvell,xscale"
  42. Example:
  43. cpus {
  44. #size-cells = <0>;
  45. #address-cells = <1>;
  46. CPU0: cpu@0 {
  47. device_type = "cpu";
  48. compatible = "arm,cortex-a15";
  49. reg = <0x0>;
  50. };
  51. CPU1: cpu@1 {
  52. device_type = "cpu";
  53. compatible = "arm,cortex-a15";
  54. reg = <0x1>;
  55. };
  56. CPU2: cpu@100 {
  57. device_type = "cpu";
  58. compatible = "arm,cortex-a7";
  59. reg = <0x100>;
  60. };
  61. CPU3: cpu@101 {
  62. device_type = "cpu";
  63. compatible = "arm,cortex-a7";
  64. reg = <0x101>;
  65. };
  66. };