hisilicon.txt 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. Hisilicon Platforms Device Tree Bindings
  2. ----------------------------------------------------
  3. Hi4511 Board
  4. Required root node properties:
  5. - compatible = "hisilicon,hi3620-hi4511";
  6. HiP04 D01 Board
  7. Required root node properties:
  8. - compatible = "hisilicon,hip04-d01";
  9. Hisilicon system controller
  10. Required properties:
  11. - compatible : "hisilicon,sysctrl"
  12. - reg : Register address and size
  13. Optional properties:
  14. - smp-offset : offset in sysctrl for notifying slave cpu booting
  15. cpu 1, reg;
  16. cpu 2, reg + 0x4;
  17. cpu 3, reg + 0x8;
  18. If reg value is not zero, cpun exit wfi and go
  19. - resume-offset : offset in sysctrl for notifying cpu0 when resume
  20. - reboot-offset : offset in sysctrl for system reboot
  21. Example:
  22. /* for Hi3620 */
  23. sysctrl: system-controller@fc802000 {
  24. compatible = "hisilicon,sysctrl";
  25. reg = <0xfc802000 0x1000>;
  26. smp-offset = <0x31c>;
  27. resume-offset = <0x308>;
  28. reboot-offset = <0x4>;
  29. };
  30. -----------------------------------------------------------------------
  31. Hisilicon CPU controller
  32. Required properties:
  33. - compatible : "hisilicon,cpuctrl"
  34. - reg : Register address and size
  35. The clock registers and power registers of secondary cores are defined
  36. in CPU controller, especially in HIX5HD2 SoC.
  37. -----------------------------------------------------------------------
  38. PCTRL: Peripheral misc control register
  39. Required Properties:
  40. - compatible: "hisilicon,pctrl"
  41. - reg: Address and size of pctrl.
  42. Example:
  43. /* for Hi3620 */
  44. pctrl: pctrl@fca09000 {
  45. compatible = "hisilicon,pctrl";
  46. reg = <0xfca09000 0x1000>;
  47. };
  48. -----------------------------------------------------------------------
  49. Fabric:
  50. Required Properties:
  51. - compatible: "hisilicon,hip04-fabric";
  52. - reg: Address and size of Fabric
  53. -----------------------------------------------------------------------
  54. Bootwrapper boot method (software protocol on SMP):
  55. Required Properties:
  56. - compatible: "hisilicon,hip04-bootwrapper";
  57. - boot-method: Address and size of boot method.
  58. [0]: bootwrapper physical address
  59. [1]: bootwrapper size
  60. [2]: relocation physical address
  61. [3]: relocation size