brcm,brcmstb.txt 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. ARM Broadcom STB platforms Device Tree Bindings
  2. -----------------------------------------------
  3. Boards with Broadcom Brahma15 ARM-based BCMxxxx (generally BCM7xxx variants)
  4. SoC shall have the following DT organization:
  5. Required root node properties:
  6. - compatible: "brcm,bcm<chip_id>", "brcm,brcmstb"
  7. example:
  8. / {
  9. #address-cells = <2>;
  10. #size-cells = <2>;
  11. model = "Broadcom STB (bcm7445)";
  12. compatible = "brcm,bcm7445", "brcm,brcmstb";
  13. Further, syscon nodes that map platform-specific registers used for general
  14. system control is required:
  15. - compatible: "brcm,bcm<chip_id>-sun-top-ctrl", "syscon"
  16. - compatible: "brcm,bcm<chip_id>-hif-cpubiuctrl", "syscon"
  17. - compatible: "brcm,bcm<chip_id>-hif-continuation", "syscon"
  18. example:
  19. rdb {
  20. #address-cells = <1>;
  21. #size-cells = <1>;
  22. compatible = "simple-bus";
  23. ranges = <0 0x00 0xf0000000 0x1000000>;
  24. sun_top_ctrl: syscon@404000 {
  25. compatible = "brcm,bcm7445-sun-top-ctrl", "syscon";
  26. reg = <0x404000 0x51c>;
  27. };
  28. hif_cpubiuctrl: syscon@3e2400 {
  29. compatible = "brcm,bcm7445-hif-cpubiuctrl", "syscon";
  30. reg = <0x3e2400 0x5b4>;
  31. };
  32. hif_continuation: syscon@452000 {
  33. compatible = "brcm,bcm7445-hif-continuation", "syscon";
  34. reg = <0x452000 0x100>;
  35. };
  36. };
  37. Lastly, nodes that allow for support of SMP initialization and reboot are
  38. required:
  39. smpboot
  40. -------
  41. Required properties:
  42. - compatible
  43. The string "brcm,brcmstb-smpboot".
  44. - syscon-cpu
  45. A phandle / integer array property which lets the BSP know the location
  46. of certain CPU power-on registers.
  47. The layout of the property is as follows:
  48. o a phandle to the "hif_cpubiuctrl" syscon node
  49. o offset to the base CPU power zone register
  50. o offset to the base CPU reset register
  51. - syscon-cont
  52. A phandle pointing to the syscon node which describes the CPU boot
  53. continuation registers.
  54. o a phandle to the "hif_continuation" syscon node
  55. example:
  56. smpboot {
  57. compatible = "brcm,brcmstb-smpboot";
  58. syscon-cpu = <&hif_cpubiuctrl 0x88 0x178>;
  59. syscon-cont = <&hif_continuation>;
  60. };
  61. reboot
  62. -------
  63. Required properties
  64. - compatible
  65. The string property "brcm,brcmstb-reboot" for 40nm/28nm chips with
  66. the new SYS_CTRL interface, or "brcm,bcm7038-reboot" for 65nm
  67. chips with the old SUN_TOP_CTRL interface.
  68. - syscon
  69. A phandle / integer array that points to the syscon node which describes
  70. the general system reset registers.
  71. o a phandle to "sun_top_ctrl"
  72. o offset to the "reset source enable" register
  73. o offset to the "software master reset" register
  74. example:
  75. reboot {
  76. compatible = "brcm,brcmstb-reboot";
  77. syscon = <&sun_top_ctrl 0x304 0x308>;
  78. };