r8a73a4-ape6evm-reference.dts 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. /*
  2. * Device Tree Source for the APE6EVM board
  3. *
  4. * Copyright (C) 2013 Renesas Solutions Corp.
  5. *
  6. * This file is licensed under the terms of the GNU General Public License
  7. * version 2. This program is licensed "as is" without any warranty of any
  8. * kind, whether express or implied.
  9. */
  10. /dts-v1/;
  11. #include "r8a73a4.dtsi"
  12. #include <dt-bindings/gpio/gpio.h>
  13. / {
  14. model = "APE6EVM";
  15. compatible = "renesas,ape6evm-reference", "renesas,r8a73a4";
  16. aliases {
  17. serial0 = &scifa0;
  18. };
  19. chosen {
  20. bootargs = "console=ttySC0,115200 ignore_loglevel rw";
  21. };
  22. memory@40000000 {
  23. device_type = "memory";
  24. reg = <0 0x40000000 0 0x40000000>;
  25. };
  26. memory@200000000 {
  27. device_type = "memory";
  28. reg = <2 0x00000000 0 0x40000000>;
  29. };
  30. vcc_mmc0: regulator@0 {
  31. compatible = "regulator-fixed";
  32. regulator-name = "MMC0 Vcc";
  33. regulator-min-microvolt = <2800000>;
  34. regulator-max-microvolt = <2800000>;
  35. regulator-always-on;
  36. };
  37. vcc_sdhi0: regulator@1 {
  38. compatible = "regulator-fixed";
  39. regulator-name = "SDHI0 Vcc";
  40. regulator-min-microvolt = <3300000>;
  41. regulator-max-microvolt = <3300000>;
  42. gpio = <&pfc 76 GPIO_ACTIVE_HIGH>;
  43. enable-active-high;
  44. };
  45. /* Common 3.3V rail, used by several devices on APE6EVM */
  46. ape6evm_fixed_3v3: regulator@2 {
  47. compatible = "regulator-fixed";
  48. regulator-name = "3V3";
  49. regulator-min-microvolt = <3300000>;
  50. regulator-max-microvolt = <3300000>;
  51. regulator-always-on;
  52. };
  53. lbsc {
  54. compatible = "simple-bus";
  55. #address-cells = <1>;
  56. #size-cells = <1>;
  57. ranges = <0 0 0 0x80000000>;
  58. };
  59. };
  60. &i2c5 {
  61. status = "okay";
  62. vdd_dvfs: max8973@1b {
  63. compatible = "maxim,max8973";
  64. reg = <0x1b>;
  65. regulator-min-microvolt = <935000>;
  66. regulator-max-microvolt = <1200000>;
  67. regulator-boot-on;
  68. regulator-always-on;
  69. };
  70. };
  71. &cpu0 {
  72. cpu0-supply = <&vdd_dvfs>;
  73. operating-points = <
  74. /* kHz uV */
  75. 1950000 1115000
  76. 1462500 995000
  77. >;
  78. voltage-tolerance = <1>; /* 1% */
  79. };
  80. &pfc {
  81. scifa0_pins: serial0 {
  82. renesas,groups = "scifa0_data";
  83. renesas,function = "scifa0";
  84. };
  85. mmc0_pins: mmc {
  86. renesas,groups = "mmc0_data8", "mmc0_ctrl";
  87. renesas,function = "mmc0";
  88. };
  89. sdhi0_pins: sd0 {
  90. renesas,groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_cd";
  91. renesas,function = "sdhi0";
  92. };
  93. sdhi1_pins: sd1 {
  94. renesas,groups = "sdhi1_data4", "sdhi1_ctrl";
  95. renesas,function = "sdhi1";
  96. };
  97. };
  98. &mmcif0 {
  99. vmmc-supply = <&vcc_mmc0>;
  100. bus-width = <8>;
  101. non-removable;
  102. pinctrl-names = "default";
  103. pinctrl-0 = <&mmc0_pins>;
  104. status = "okay";
  105. };
  106. &scifa0 {
  107. pinctrl-0 = <&scifa0_pins>;
  108. pinctrl-names = "default";
  109. status = "okay";
  110. };
  111. &sdhi0 {
  112. vmmc-supply = <&vcc_sdhi0>;
  113. bus-width = <4>;
  114. toshiba,mmc-wrprotect-disable;
  115. pinctrl-names = "default";
  116. pinctrl-0 = <&sdhi0_pins>;
  117. status = "okay";
  118. };
  119. &sdhi1 {
  120. vmmc-supply = <&ape6evm_fixed_3v3>;
  121. bus-width = <4>;
  122. broken-cd;
  123. toshiba,mmc-wrprotect-disable;
  124. pinctrl-names = "default";
  125. pinctrl-0 = <&sdhi1_pins>;
  126. status = "okay";
  127. };