uniphier-reset.txt 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. UniPhier reset controller
  2. System reset
  3. ------------
  4. Required properties:
  5. - compatible: should be one of the following:
  6. "socionext,uniphier-ld4-reset" - for LD4 SoC
  7. "socionext,uniphier-pro4-reset" - for Pro4 SoC
  8. "socionext,uniphier-sld8-reset" - for sLD8 SoC
  9. "socionext,uniphier-pro5-reset" - for Pro5 SoC
  10. "socionext,uniphier-pxs2-reset" - for PXs2/LD6b SoC
  11. "socionext,uniphier-ld11-reset" - for LD11 SoC
  12. "socionext,uniphier-ld20-reset" - for LD20 SoC
  13. "socionext,uniphier-pxs3-reset" - for PXs3 SoC
  14. - #reset-cells: should be 1.
  15. Example:
  16. sysctrl@61840000 {
  17. compatible = "socionext,uniphier-ld11-sysctrl",
  18. "simple-mfd", "syscon";
  19. reg = <0x61840000 0x4000>;
  20. reset {
  21. compatible = "socionext,uniphier-ld11-reset";
  22. #reset-cells = <1>;
  23. };
  24. other nodes ...
  25. };
  26. Media I/O (MIO) reset, SD reset
  27. -------------------------------
  28. Required properties:
  29. - compatible: should be one of the following:
  30. "socionext,uniphier-ld4-mio-reset" - for LD4 SoC
  31. "socionext,uniphier-pro4-mio-reset" - for Pro4 SoC
  32. "socionext,uniphier-sld8-mio-reset" - for sLD8 SoC
  33. "socionext,uniphier-pro5-sd-reset" - for Pro5 SoC
  34. "socionext,uniphier-pxs2-sd-reset" - for PXs2/LD6b SoC
  35. "socionext,uniphier-ld11-mio-reset" - for LD11 SoC (MIO)
  36. "socionext,uniphier-ld11-sd-reset" - for LD11 SoC (SD)
  37. "socionext,uniphier-ld20-sd-reset" - for LD20 SoC
  38. "socionext,uniphier-pxs3-sd-reset" - for PXs3 SoC
  39. - #reset-cells: should be 1.
  40. Example:
  41. mioctrl@59810000 {
  42. compatible = "socionext,uniphier-ld11-mioctrl",
  43. "simple-mfd", "syscon";
  44. reg = <0x59810000 0x800>;
  45. reset {
  46. compatible = "socionext,uniphier-ld11-mio-reset";
  47. #reset-cells = <1>;
  48. };
  49. other nodes ...
  50. };
  51. Peripheral reset
  52. ----------------
  53. Required properties:
  54. - compatible: should be one of the following:
  55. "socionext,uniphier-ld4-peri-reset" - for LD4 SoC
  56. "socionext,uniphier-pro4-peri-reset" - for Pro4 SoC
  57. "socionext,uniphier-sld8-peri-reset" - for sLD8 SoC
  58. "socionext,uniphier-pro5-peri-reset" - for Pro5 SoC
  59. "socionext,uniphier-pxs2-peri-reset" - for PXs2/LD6b SoC
  60. "socionext,uniphier-ld11-peri-reset" - for LD11 SoC
  61. "socionext,uniphier-ld20-peri-reset" - for LD20 SoC
  62. "socionext,uniphier-pxs3-peri-reset" - for PXs3 SoC
  63. - #reset-cells: should be 1.
  64. Example:
  65. perictrl@59820000 {
  66. compatible = "socionext,uniphier-ld11-perictrl",
  67. "simple-mfd", "syscon";
  68. reg = <0x59820000 0x200>;
  69. reset {
  70. compatible = "socionext,uniphier-ld11-peri-reset";
  71. #reset-cells = <1>;
  72. };
  73. other nodes ...
  74. };
  75. Analog signal amplifier reset
  76. -----------------------------
  77. Required properties:
  78. - compatible: should be one of the following:
  79. "socionext,uniphier-ld11-adamv-reset" - for LD11 SoC
  80. "socionext,uniphier-ld20-adamv-reset" - for LD20 SoC
  81. - #reset-cells: should be 1.
  82. Example:
  83. adamv@57920000 {
  84. compatible = "socionext,uniphier-ld11-adamv",
  85. "simple-mfd", "syscon";
  86. reg = <0x57920000 0x1000>;
  87. adamv_rst: reset {
  88. compatible = "socionext,uniphier-ld11-adamv-reset";
  89. #reset-cells = <1>;
  90. };
  91. other nodes ...
  92. };
  93. USB3 core reset
  94. ---------------
  95. USB3 core reset belongs to USB3 glue layer. Before using the core reset,
  96. it is necessary to control the clocks and resets to enable this layer.
  97. These clocks and resets should be described in each property.
  98. Required properties:
  99. - compatible: Should be
  100. "socionext,uniphier-pro4-usb3-reset" - for Pro4 SoC
  101. "socionext,uniphier-pxs2-usb3-reset" - for PXs2 SoC
  102. "socionext,uniphier-ld20-usb3-reset" - for LD20 SoC
  103. "socionext,uniphier-pxs3-usb3-reset" - for PXs3 SoC
  104. - #reset-cells: Should be 1.
  105. - reg: Specifies offset and length of the register set for the device.
  106. - clocks: A list of phandles to the clock gate for USB3 glue layer.
  107. According to the clock-names, appropriate clocks are required.
  108. - clock-names: Should contain
  109. "gio", "link" - for Pro4 SoC
  110. "link" - for others
  111. - resets: A list of phandles to the reset control for USB3 glue layer.
  112. According to the reset-names, appropriate resets are required.
  113. - reset-names: Should contain
  114. "gio", "link" - for Pro4 SoC
  115. "link" - for others
  116. Example:
  117. usb-glue@65b00000 {
  118. compatible = "socionext,uniphier-ld20-dwc3-glue",
  119. "simple-mfd";
  120. #address-cells = <1>;
  121. #size-cells = <1>;
  122. ranges = <0 0x65b00000 0x400>;
  123. usb_rst: reset@0 {
  124. compatible = "socionext,uniphier-ld20-usb3-reset";
  125. reg = <0x0 0x4>;
  126. #reset-cells = <1>;
  127. clock-names = "link";
  128. clocks = <&sys_clk 14>;
  129. reset-names = "link";
  130. resets = <&sys_rst 14>;
  131. };
  132. regulator {
  133. ...
  134. };
  135. phy {
  136. ...
  137. };
  138. ...
  139. };