uniphier-pro5.dtsi 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. /*
  2. * Device Tree Source for UniPhier Pro5 SoC
  3. *
  4. * Copyright (C) 2015-2016 Socionext Inc.
  5. * Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  6. *
  7. * This file is dual-licensed: you can use it either under the terms
  8. * of the GPL or the X11 license, at your option. Note that this dual
  9. * licensing only applies to this file, and not this project as a
  10. * whole.
  11. *
  12. * a) This file is free software; you can redistribute it and/or
  13. * modify it under the terms of the GNU General Public License as
  14. * published by the Free Software Foundation; either version 2 of the
  15. * License, or (at your option) any later version.
  16. *
  17. * This file is distributed in the hope that it will be useful,
  18. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  19. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  20. * GNU General Public License for more details.
  21. *
  22. * Or, alternatively,
  23. *
  24. * b) Permission is hereby granted, free of charge, to any person
  25. * obtaining a copy of this software and associated documentation
  26. * files (the "Software"), to deal in the Software without
  27. * restriction, including without limitation the rights to use,
  28. * copy, modify, merge, publish, distribute, sublicense, and/or
  29. * sell copies of the Software, and to permit persons to whom the
  30. * Software is furnished to do so, subject to the following
  31. * conditions:
  32. *
  33. * The above copyright notice and this permission notice shall be
  34. * included in all copies or substantial portions of the Software.
  35. *
  36. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  37. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
  38. * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  39. * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
  40. * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
  41. * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  42. * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  43. * OTHER DEALINGS IN THE SOFTWARE.
  44. */
  45. /include/ "uniphier-common32.dtsi"
  46. / {
  47. compatible = "socionext,uniphier-pro5";
  48. cpus {
  49. #address-cells = <1>;
  50. #size-cells = <0>;
  51. cpu@0 {
  52. device_type = "cpu";
  53. compatible = "arm,cortex-a9";
  54. reg = <0>;
  55. enable-method = "psci";
  56. next-level-cache = <&l2>;
  57. };
  58. cpu@1 {
  59. device_type = "cpu";
  60. compatible = "arm,cortex-a9";
  61. reg = <1>;
  62. enable-method = "psci";
  63. next-level-cache = <&l2>;
  64. };
  65. };
  66. clocks {
  67. arm_timer_clk: arm_timer_clk {
  68. #clock-cells = <0>;
  69. compatible = "fixed-clock";
  70. clock-frequency = <50000000>;
  71. };
  72. };
  73. };
  74. &soc {
  75. l2: l2-cache@500c0000 {
  76. compatible = "socionext,uniphier-system-cache";
  77. reg = <0x500c0000 0x2000>, <0x503c0100 0x8>, <0x506c0000 0x400>;
  78. interrupts = <0 190 4>, <0 191 4>;
  79. cache-unified;
  80. cache-size = <(2 * 1024 * 1024)>;
  81. cache-sets = <512>;
  82. cache-line-size = <128>;
  83. cache-level = <2>;
  84. next-level-cache = <&l3>;
  85. };
  86. l3: l3-cache@500c8000 {
  87. compatible = "socionext,uniphier-system-cache";
  88. reg = <0x500c8000 0x2000>, <0x503c8100 0x8>, <0x506c8000 0x400>;
  89. interrupts = <0 174 4>, <0 175 4>;
  90. cache-unified;
  91. cache-size = <(2 * 1024 * 1024)>;
  92. cache-sets = <512>;
  93. cache-line-size = <256>;
  94. cache-level = <3>;
  95. };
  96. i2c0: i2c@58780000 {
  97. compatible = "socionext,uniphier-fi2c";
  98. status = "disabled";
  99. reg = <0x58780000 0x80>;
  100. #address-cells = <1>;
  101. #size-cells = <0>;
  102. interrupts = <0 41 4>;
  103. pinctrl-names = "default";
  104. pinctrl-0 = <&pinctrl_i2c0>;
  105. clocks = <&peri_clk 4>;
  106. clock-frequency = <100000>;
  107. };
  108. i2c1: i2c@58781000 {
  109. compatible = "socionext,uniphier-fi2c";
  110. status = "disabled";
  111. reg = <0x58781000 0x80>;
  112. #address-cells = <1>;
  113. #size-cells = <0>;
  114. interrupts = <0 42 4>;
  115. pinctrl-names = "default";
  116. pinctrl-0 = <&pinctrl_i2c1>;
  117. clocks = <&peri_clk 5>;
  118. clock-frequency = <100000>;
  119. };
  120. i2c2: i2c@58782000 {
  121. compatible = "socionext,uniphier-fi2c";
  122. status = "disabled";
  123. reg = <0x58782000 0x80>;
  124. #address-cells = <1>;
  125. #size-cells = <0>;
  126. interrupts = <0 43 4>;
  127. pinctrl-names = "default";
  128. pinctrl-0 = <&pinctrl_i2c2>;
  129. clocks = <&peri_clk 6>;
  130. clock-frequency = <100000>;
  131. };
  132. i2c3: i2c@58783000 {
  133. compatible = "socionext,uniphier-fi2c";
  134. status = "disabled";
  135. reg = <0x58783000 0x80>;
  136. #address-cells = <1>;
  137. #size-cells = <0>;
  138. interrupts = <0 44 4>;
  139. pinctrl-names = "default";
  140. pinctrl-0 = <&pinctrl_i2c3>;
  141. clocks = <&peri_clk 7>;
  142. clock-frequency = <100000>;
  143. };
  144. /* i2c4 does not exist */
  145. /* chip-internal connection for DMD */
  146. i2c5: i2c@58785000 {
  147. compatible = "socionext,uniphier-fi2c";
  148. reg = <0x58785000 0x80>;
  149. #address-cells = <1>;
  150. #size-cells = <0>;
  151. interrupts = <0 25 4>;
  152. clocks = <&peri_clk 9>;
  153. clock-frequency = <400000>;
  154. };
  155. /* chip-internal connection for HDMI */
  156. i2c6: i2c@58786000 {
  157. compatible = "socionext,uniphier-fi2c";
  158. reg = <0x58786000 0x80>;
  159. #address-cells = <1>;
  160. #size-cells = <0>;
  161. interrupts = <0 26 4>;
  162. clocks = <&peri_clk 10>;
  163. clock-frequency = <400000>;
  164. };
  165. };
  166. &refclk {
  167. clock-frequency = <20000000>;
  168. };
  169. &mio_clk {
  170. compatible = "socionext,uniphier-pro5-sd-clock";
  171. };
  172. &mio_rst {
  173. compatible = "socionext,uniphier-pro5-sd-reset";
  174. };
  175. &peri_clk {
  176. compatible = "socionext,uniphier-pro5-peri-clock";
  177. };
  178. &peri_rst {
  179. compatible = "socionext,uniphier-pro5-peri-reset";
  180. };
  181. &pinctrl {
  182. compatible = "socionext,uniphier-pro5-pinctrl";
  183. };
  184. &sys_clk {
  185. compatible = "socionext,uniphier-pro5-clock";
  186. };
  187. &sys_rst {
  188. compatible = "socionext,uniphier-pro5-reset";
  189. };