r8a779f0-spider-cpu.dtsi 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. // SPDX-License-Identifier: (GPL-2.0 or MIT)
  2. /*
  3. * Device Tree Source for the Spider CPU board
  4. *
  5. * Copyright (C) 2021 Renesas Electronics Corp.
  6. */
  7. #include "r8a779f0.dtsi"
  8. / {
  9. model = "Renesas Spider CPU board";
  10. compatible = "renesas,spider-cpu", "renesas,r8a779f0";
  11. aliases {
  12. serial0 = &scif3;
  13. serial1 = &scif0;
  14. };
  15. chosen {
  16. bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
  17. stdout-path = "serial0:115200n8";
  18. };
  19. memory@48000000 {
  20. device_type = "memory";
  21. /* first 128MB is reserved for secure area. */
  22. reg = <0x0 0x48000000 0x0 0x78000000>;
  23. };
  24. memory@480000000 {
  25. device_type = "memory";
  26. reg = <0x4 0x80000000 0x0 0x80000000>;
  27. };
  28. reg_1p8v: regulator-1p8v {
  29. compatible = "regulator-fixed";
  30. regulator-name = "fixed-1.8V";
  31. regulator-min-microvolt = <1800000>;
  32. regulator-max-microvolt = <1800000>;
  33. regulator-boot-on;
  34. regulator-always-on;
  35. };
  36. reg_3p3v: regulator-3p3v {
  37. compatible = "regulator-fixed";
  38. regulator-name = "fixed-3.3V";
  39. regulator-min-microvolt = <3300000>;
  40. regulator-max-microvolt = <3300000>;
  41. regulator-boot-on;
  42. regulator-always-on;
  43. };
  44. };
  45. &extal_clk {
  46. clock-frequency = <20000000>;
  47. };
  48. &extalr_clk {
  49. clock-frequency = <32768>;
  50. };
  51. &i2c4 {
  52. pinctrl-0 = <&i2c4_pins>;
  53. pinctrl-names = "default";
  54. status = "okay";
  55. clock-frequency = <400000>;
  56. eeprom@50 {
  57. compatible = "rohm,br24g01", "atmel,24c01";
  58. label = "cpu-board";
  59. reg = <0x50>;
  60. pagesize = <8>;
  61. };
  62. };
  63. /*
  64. * This board also has a microSD slot which we will not support upstream
  65. * because we cannot directly switch voltages in software.
  66. */
  67. &mmc0 {
  68. pinctrl-0 = <&mmc_pins>;
  69. pinctrl-1 = <&mmc_pins>;
  70. pinctrl-names = "default", "state_uhs";
  71. vmmc-supply = <&reg_3p3v>;
  72. vqmmc-supply = <&reg_1p8v>;
  73. mmc-hs200-1_8v;
  74. mmc-hs400-1_8v;
  75. bus-width = <8>;
  76. no-sd;
  77. no-sdio;
  78. non-removable;
  79. full-pwr-cycle-in-suspend;
  80. status = "okay";
  81. };
  82. &pfc {
  83. pinctrl-0 = <&scif_clk_pins>;
  84. pinctrl-names = "default";
  85. i2c4_pins: i2c4 {
  86. groups = "i2c4";
  87. function = "i2c4";
  88. };
  89. mmc_pins: mmc {
  90. groups = "mmc_data8", "mmc_ctrl", "mmc_ds";
  91. function = "mmc";
  92. power-source = <1800>;
  93. };
  94. scif0_pins: scif0 {
  95. groups = "scif0_data", "scif0_ctrl";
  96. function = "scif0";
  97. };
  98. scif3_pins: scif3 {
  99. groups = "scif3_data", "scif3_ctrl";
  100. function = "scif3";
  101. };
  102. scif_clk_pins: scif_clk {
  103. groups = "scif_clk";
  104. function = "scif_clk";
  105. };
  106. };
  107. &rwdt {
  108. timeout-sec = <60>;
  109. status = "okay";
  110. };
  111. &scif0 {
  112. pinctrl-0 = <&scif0_pins>;
  113. pinctrl-names = "default";
  114. uart-has-rtscts;
  115. status = "okay";
  116. };
  117. &scif3 {
  118. pinctrl-0 = <&scif3_pins>;
  119. pinctrl-names = "default";
  120. uart-has-rtscts;
  121. status = "okay";
  122. };
  123. &scif_clk {
  124. clock-frequency = <24000000>;
  125. };