sh73a0-kzm9g-reference.dts 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  1. /*
  2. * Device Tree Source for the KZM-A9-GT board
  3. *
  4. * Copyright (C) 2012 Horms Solutions Ltd.
  5. *
  6. * Based on sh73a0-kzm9g.dts
  7. * Copyright (C) 2012 Renesas Solutions Corp.
  8. *
  9. * This file is licensed under the terms of the GNU General Public License
  10. * version 2. This program is licensed "as is" without any warranty of any
  11. * kind, whether express or implied.
  12. */
  13. /dts-v1/;
  14. /include/ "sh73a0.dtsi"
  15. #include <dt-bindings/gpio/gpio.h>
  16. / {
  17. model = "KZM-A9-GT";
  18. compatible = "renesas,kzm9g-reference", "renesas,sh73a0";
  19. cpus {
  20. cpu@0 {
  21. cpu0-supply = <&vdd_dvfs>;
  22. operating-points = <
  23. /* kHz uV */
  24. 1196000 1315000
  25. 598000 1175000
  26. 398667 1065000
  27. >;
  28. voltage-tolerance = <1>; /* 1% */
  29. };
  30. };
  31. chosen {
  32. bootargs = "console=tty0 console=ttySC4,115200 root=/dev/nfs ip=dhcp ignore_loglevel earlyprintk=sh-sci.4,115200";
  33. };
  34. memory {
  35. device_type = "memory";
  36. reg = <0x41000000 0x1e800000>;
  37. };
  38. reg_1p8v: regulator@0 {
  39. compatible = "regulator-fixed";
  40. regulator-name = "fixed-1.8V";
  41. regulator-min-microvolt = <1800000>;
  42. regulator-max-microvolt = <1800000>;
  43. regulator-always-on;
  44. regulator-boot-on;
  45. };
  46. reg_3p3v: regulator@1 {
  47. compatible = "regulator-fixed";
  48. regulator-name = "fixed-3.3V";
  49. regulator-min-microvolt = <3300000>;
  50. regulator-max-microvolt = <3300000>;
  51. regulator-always-on;
  52. regulator-boot-on;
  53. };
  54. vmmc_sdhi0: regulator@2 {
  55. compatible = "regulator-fixed";
  56. regulator-name = "SDHI0 Vcc";
  57. regulator-min-microvolt = <3300000>;
  58. regulator-max-microvolt = <3300000>;
  59. gpio = <&pfc 15 GPIO_ACTIVE_HIGH>;
  60. enable-active-high;
  61. };
  62. vmmc_sdhi2: regulator@3 {
  63. compatible = "regulator-fixed";
  64. regulator-name = "SDHI2 Vcc";
  65. regulator-min-microvolt = <3300000>;
  66. regulator-max-microvolt = <3300000>;
  67. gpio = <&pfc 14 GPIO_ACTIVE_HIGH>;
  68. enable-active-high;
  69. };
  70. lan9220@10000000 {
  71. compatible = "smsc,lan9220", "smsc,lan9115";
  72. reg = <0x10000000 0x100>;
  73. phy-mode = "mii";
  74. interrupt-parent = <&irqpin0>;
  75. interrupts = <3 0>; /* active low */
  76. reg-io-width = <4>;
  77. smsc,irq-push-pull;
  78. smsc,save-mac-address;
  79. vddvario-supply = <&reg_1p8v>;
  80. vdd33a-supply = <&reg_3p3v>;
  81. };
  82. };
  83. &i2c0 {
  84. as3711@40 {
  85. compatible = "ams,as3711";
  86. reg = <0x40>;
  87. regulators {
  88. vdd_dvfs: sd1 {
  89. regulator-name = "1.315V CPU";
  90. regulator-min-microvolt = <1050000>;
  91. regulator-max-microvolt = <1350000>;
  92. regulator-always-on;
  93. regulator-boot-on;
  94. };
  95. sd2 {
  96. regulator-name = "1.8V";
  97. regulator-min-microvolt = <1800000>;
  98. regulator-max-microvolt = <1800000>;
  99. regulator-always-on;
  100. regulator-boot-on;
  101. };
  102. sd4 {
  103. regulator-name = "1.215V";
  104. regulator-min-microvolt = <1215000>;
  105. regulator-max-microvolt = <1235000>;
  106. regulator-always-on;
  107. regulator-boot-on;
  108. };
  109. ldo2 {
  110. regulator-name = "2.8V CPU";
  111. regulator-min-microvolt = <2800000>;
  112. regulator-max-microvolt = <2800000>;
  113. regulator-always-on;
  114. regulator-boot-on;
  115. };
  116. ldo3 {
  117. regulator-name = "3.0V CPU";
  118. regulator-min-microvolt = <3000000>;
  119. regulator-max-microvolt = <3000000>;
  120. regulator-always-on;
  121. regulator-boot-on;
  122. };
  123. ldo4 {
  124. regulator-name = "2.8V";
  125. regulator-min-microvolt = <2800000>;
  126. regulator-max-microvolt = <2800000>;
  127. regulator-always-on;
  128. regulator-boot-on;
  129. };
  130. ldo5 {
  131. regulator-name = "2.8V #2";
  132. regulator-min-microvolt = <2800000>;
  133. regulator-max-microvolt = <2800000>;
  134. regulator-always-on;
  135. regulator-boot-on;
  136. };
  137. ldo7 {
  138. regulator-name = "1.15V CPU";
  139. regulator-min-microvolt = <1150000>;
  140. regulator-max-microvolt = <1150000>;
  141. regulator-always-on;
  142. regulator-boot-on;
  143. };
  144. ldo8 {
  145. regulator-name = "1.15V CPU #2";
  146. regulator-min-microvolt = <1150000>;
  147. regulator-max-microvolt = <1150000>;
  148. regulator-always-on;
  149. regulator-boot-on;
  150. };
  151. };
  152. };
  153. };
  154. &i2c3 {
  155. pinctrl-0 = <&i2c3_pins>;
  156. pinctrl-names = "default";
  157. };
  158. &mmcif {
  159. pinctrl-0 = <&mmcif_pins>;
  160. pinctrl-names = "default";
  161. bus-width = <8>;
  162. vmmc-supply = <&reg_1p8v>;
  163. status = "okay";
  164. };
  165. &pfc {
  166. pinctrl-0 = <&scifa4_pins>;
  167. pinctrl-names = "default";
  168. i2c3_pins: i2c3 {
  169. renesas,groups = "i2c3_1";
  170. renesas,function = "i2c3";
  171. };
  172. mmcif_pins: mmcif {
  173. mux {
  174. renesas,groups = "mmc0_data8_0", "mmc0_ctrl_0";
  175. renesas,function = "mmc0";
  176. };
  177. cfg {
  178. renesas,groups = "mmc0_data8_0";
  179. renesas,pins = "PORT279";
  180. bias-pull-up;
  181. };
  182. };
  183. scifa4_pins: scifa4 {
  184. renesas,groups = "scifa4_data", "scifa4_ctrl";
  185. renesas,function = "scifa4";
  186. };
  187. sdhi0_pins: sdhi0 {
  188. renesas,groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_cd", "sdhi0_wp";
  189. renesas,function = "sdhi0";
  190. };
  191. sdhi2_pins: sdhi2 {
  192. renesas,groups = "sdhi2_data4", "sdhi2_ctrl";
  193. renesas,function = "sdhi2";
  194. };
  195. };
  196. &sdhi0 {
  197. pinctrl-0 = <&sdhi0_pins>;
  198. pinctrl-names = "default";
  199. vmmc-supply = <&vmmc_sdhi0>;
  200. bus-width = <4>;
  201. status = "okay";
  202. };
  203. &sdhi2 {
  204. pinctrl-0 = <&sdhi2_pins>;
  205. pinctrl-names = "default";
  206. vmmc-supply = <&vmmc_sdhi2>;
  207. bus-width = <4>;
  208. broken-cd;
  209. status = "okay";
  210. };