sh73a0-kzm9g-reference.dts 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  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. &mmcif {
  138. bus-width = <8>;
  139. vmmc-supply = <&reg_1p8v>;
  140. status = "okay";
  141. };
  142. &sdhi0 {
  143. vmmc-supply = <&reg_3p3v>;
  144. bus-width = <4>;
  145. status = "okay";
  146. };
  147. &sdhi2 {
  148. vmmc-supply = <&reg_3p3v>;
  149. bus-width = <4>;
  150. broken-cd;
  151. status = "okay";
  152. };