r8a73a4-ape6evm-reference.dts 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  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. chosen {
  17. bootargs = "console=ttySC0,115200 ignore_loglevel rw";
  18. };
  19. memory@40000000 {
  20. device_type = "memory";
  21. reg = <0 0x40000000 0 0x40000000>;
  22. };
  23. vcc_mmc0: regulator@0 {
  24. compatible = "regulator-fixed";
  25. regulator-name = "MMC0 Vcc";
  26. regulator-min-microvolt = <2800000>;
  27. regulator-max-microvolt = <2800000>;
  28. regulator-always-on;
  29. };
  30. vcc_sdhi0: regulator@1 {
  31. compatible = "regulator-fixed";
  32. regulator-name = "SDHI0 Vcc";
  33. regulator-min-microvolt = <3300000>;
  34. regulator-max-microvolt = <3300000>;
  35. gpio = <&pfc 76 GPIO_ACTIVE_HIGH>;
  36. enable-active-high;
  37. };
  38. /* Common 3.3V rail, used by several devices on APE6EVM */
  39. ape6evm_fixed_3v3: regulator@2 {
  40. compatible = "regulator-fixed";
  41. regulator-name = "3V3";
  42. regulator-min-microvolt = <3300000>;
  43. regulator-max-microvolt = <3300000>;
  44. regulator-always-on;
  45. };
  46. lbsc {
  47. compatible = "simple-bus";
  48. #address-cells = <1>;
  49. #size-cells = <1>;
  50. ranges = <0 0 0 0x80000000>;
  51. };
  52. };
  53. &i2c5 {
  54. status = "okay";
  55. vdd_dvfs: max8973@1b {
  56. compatible = "maxim,max8973";
  57. reg = <0x1b>;
  58. regulator-min-microvolt = <935000>;
  59. regulator-max-microvolt = <1200000>;
  60. regulator-boot-on;
  61. regulator-always-on;
  62. };
  63. };
  64. &cpu0 {
  65. cpu0-supply = <&vdd_dvfs>;
  66. operating-points = <
  67. /* kHz uV */
  68. 1950000 1115000
  69. 1462500 995000
  70. >;
  71. voltage-tolerance = <1>; /* 1% */
  72. };
  73. &pfc {
  74. pinctrl-0 = <&scifa0_pins>;
  75. pinctrl-names = "default";
  76. scifa0_pins: scifa0 {
  77. renesas,groups = "scifa0_data";
  78. renesas,function = "scifa0";
  79. };
  80. mmc0_pins: mmcif {
  81. renesas,groups = "mmc0_data8", "mmc0_ctrl";
  82. renesas,function = "mmc0";
  83. };
  84. sdhi0_pins: sdhi0 {
  85. renesas,groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_cd";
  86. renesas,function = "sdhi0";
  87. };
  88. sdhi1_pins: sdhi1 {
  89. renesas,groups = "sdhi1_data4", "sdhi1_ctrl";
  90. renesas,function = "sdhi1";
  91. };
  92. };
  93. &mmcif0 {
  94. vmmc-supply = <&vcc_mmc0>;
  95. bus-width = <8>;
  96. non-removable;
  97. pinctrl-names = "default";
  98. pinctrl-0 = <&mmc0_pins>;
  99. status = "okay";
  100. };
  101. &sdhi0 {
  102. vmmc-supply = <&vcc_sdhi0>;
  103. bus-width = <4>;
  104. toshiba,mmc-wrprotect-disable;
  105. pinctrl-names = "default";
  106. pinctrl-0 = <&sdhi0_pins>;
  107. status = "okay";
  108. };
  109. &sdhi1 {
  110. vmmc-supply = <&ape6evm_fixed_3v3>;
  111. bus-width = <4>;
  112. broken-cd;
  113. toshiba,mmc-wrprotect-disable;
  114. pinctrl-names = "default";
  115. pinctrl-0 = <&sdhi1_pins>;
  116. status = "okay";
  117. };