sh73a0-kzm9g-reference.dts 4.5 KB

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