r8a7778-bockw-reference.dts 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. /*
  2. * Reference Device Tree Source for the Bock-W board
  3. *
  4. * Copyright (C) 2013 Renesas Solutions Corp.
  5. * Copyright (C) 2013 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
  6. *
  7. * based on r8a7779
  8. *
  9. * Copyright (C) 2013 Renesas Solutions Corp.
  10. * Copyright (C) 2013 Simon Horman
  11. *
  12. * This file is licensed under the terms of the GNU General Public License
  13. * version 2. This program is licensed "as is" without any warranty of any
  14. * kind, whether express or implied.
  15. */
  16. /dts-v1/;
  17. #include "r8a7778.dtsi"
  18. #include <dt-bindings/interrupt-controller/irq.h>
  19. #include <dt-bindings/gpio/gpio.h>
  20. / {
  21. model = "bockw";
  22. compatible = "renesas,bockw-reference", "renesas,r8a7778";
  23. aliases {
  24. serial0 = &scif0;
  25. };
  26. chosen {
  27. bootargs = "console=ttySC0,115200 ignore_loglevel root=/dev/nfs ip=dhcp rw";
  28. };
  29. memory {
  30. device_type = "memory";
  31. reg = <0x60000000 0x10000000>;
  32. };
  33. fixedregulator3v3: fixedregulator@0 {
  34. compatible = "regulator-fixed";
  35. regulator-name = "fixed-3.3V";
  36. regulator-min-microvolt = <3300000>;
  37. regulator-max-microvolt = <3300000>;
  38. regulator-boot-on;
  39. regulator-always-on;
  40. };
  41. ethernet@18300000 {
  42. compatible = "smsc,lan9220", "smsc,lan9115";
  43. reg = <0x18300000 0x1000>;
  44. phy-mode = "mii";
  45. interrupt-parent = <&irqpin>;
  46. interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
  47. reg-io-width = <4>;
  48. vddvario-supply = <&fixedregulator3v3>;
  49. vdd33a-supply = <&fixedregulator3v3>;
  50. };
  51. };
  52. &mmcif {
  53. pinctrl-0 = <&mmc_pins>;
  54. pinctrl-names = "default";
  55. vmmc-supply = <&fixedregulator3v3>;
  56. bus-width = <8>;
  57. broken-cd;
  58. status = "okay";
  59. };
  60. &irqpin {
  61. status = "okay";
  62. };
  63. &pfc {
  64. scif0_pins: serial0 {
  65. renesas,groups = "scif0_data_a", "scif0_ctrl";
  66. renesas,function = "scif0";
  67. };
  68. mmc_pins: mmc {
  69. renesas,groups = "mmc_data8", "mmc_ctrl";
  70. renesas,function = "mmc";
  71. };
  72. sdhi0_pins: sd0 {
  73. renesas,groups = "sdhi0_data4", "sdhi0_ctrl",
  74. "sdhi0_cd";
  75. renesas,function = "sdhi0";
  76. };
  77. hspi0_pins: hspi0 {
  78. renesas,groups = "hspi0_a";
  79. renesas,function = "hspi0";
  80. };
  81. };
  82. &sdhi0 {
  83. pinctrl-0 = <&sdhi0_pins>;
  84. pinctrl-names = "default";
  85. vmmc-supply = <&fixedregulator3v3>;
  86. bus-width = <4>;
  87. status = "okay";
  88. wp-gpios = <&gpio3 18 GPIO_ACTIVE_HIGH>;
  89. };
  90. &hspi0 {
  91. pinctrl-0 = <&hspi0_pins>;
  92. pinctrl-names = "default";
  93. status = "okay";
  94. flash: flash@0 {
  95. #address-cells = <1>;
  96. #size-cells = <1>;
  97. compatible = "spansion,s25fl008k";
  98. reg = <0>;
  99. spi-max-frequency = <104000000>;
  100. m25p,fast-read;
  101. partition@0 {
  102. label = "data(spi)";
  103. reg = <0x00000000 0x00100000>;
  104. };
  105. };
  106. };
  107. &scif0 {
  108. pinctrl-0 = <&scif0_pins>;
  109. pinctrl-names = "default";
  110. status = "okay";
  111. };