r8a7779-marzen.dts 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. /*
  2. * Device Tree Source for the Marzen board
  3. *
  4. * Copyright (C) 2013 Renesas Solutions Corp.
  5. * Copyright (C) 2013 Simon Horman
  6. *
  7. * This file is licensed under the terms of the GNU General Public License
  8. * version 2. This program is licensed "as is" without any warranty of any
  9. * kind, whether express or implied.
  10. */
  11. /dts-v1/;
  12. #include "r8a7779.dtsi"
  13. #include <dt-bindings/gpio/gpio.h>
  14. #include <dt-bindings/interrupt-controller/irq.h>
  15. / {
  16. model = "marzen";
  17. compatible = "renesas,marzen", "renesas,r8a7779";
  18. aliases {
  19. serial2 = &scif2;
  20. serial4 = &scif4;
  21. };
  22. chosen {
  23. bootargs = "console=ttySC2,115200 ignore_loglevel root=/dev/nfs ip=on";
  24. };
  25. memory {
  26. device_type = "memory";
  27. reg = <0x60000000 0x40000000>;
  28. };
  29. fixedregulator3v3: fixedregulator@0 {
  30. compatible = "regulator-fixed";
  31. regulator-name = "fixed-3.3V";
  32. regulator-min-microvolt = <3300000>;
  33. regulator-max-microvolt = <3300000>;
  34. regulator-boot-on;
  35. regulator-always-on;
  36. };
  37. lan0@18000000 {
  38. compatible = "smsc,lan9220", "smsc,lan9115";
  39. reg = <0x18000000 0x100>;
  40. pinctrl-0 = <&lan0_pins>;
  41. pinctrl-names = "default";
  42. phy-mode = "mii";
  43. interrupt-parent = <&irqpin0>;
  44. interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
  45. smsc,irq-push-pull;
  46. reg-io-width = <4>;
  47. vddvario-supply = <&fixedregulator3v3>;
  48. vdd33a-supply = <&fixedregulator3v3>;
  49. };
  50. leds {
  51. compatible = "gpio-leds";
  52. led2 {
  53. gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>;
  54. };
  55. led3 {
  56. gpios = <&gpio4 30 GPIO_ACTIVE_HIGH>;
  57. };
  58. led4 {
  59. gpios = <&gpio4 31 GPIO_ACTIVE_HIGH>;
  60. };
  61. };
  62. };
  63. &irqpin0 {
  64. status = "okay";
  65. };
  66. &extal_clk {
  67. clock-frequency = <31250000>;
  68. };
  69. &tmu0 {
  70. status = "okay";
  71. };
  72. &pfc {
  73. lan0_pins: lan0 {
  74. intc {
  75. renesas,groups = "intc_irq1_b";
  76. renesas,function = "intc";
  77. };
  78. lbsc {
  79. renesas,groups = "lbsc_ex_cs0";
  80. renesas,function = "lbsc";
  81. };
  82. };
  83. scif2_pins: serial2 {
  84. renesas,groups = "scif2_data_c";
  85. renesas,function = "scif2";
  86. };
  87. scif4_pins: serial4 {
  88. renesas,groups = "scif4_data";
  89. renesas,function = "scif4";
  90. };
  91. sdhi0_pins: sd0 {
  92. renesas,groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_cd";
  93. renesas,function = "sdhi0";
  94. };
  95. hspi0_pins: hspi0 {
  96. renesas,groups = "hspi0";
  97. renesas,function = "hspi0";
  98. };
  99. };
  100. &scif2 {
  101. pinctrl-0 = <&scif2_pins>;
  102. pinctrl-names = "default";
  103. status = "okay";
  104. };
  105. &scif4 {
  106. pinctrl-0 = <&scif4_pins>;
  107. pinctrl-names = "default";
  108. status = "okay";
  109. };
  110. &sdhi0 {
  111. pinctrl-0 = <&sdhi0_pins>;
  112. pinctrl-names = "default";
  113. vmmc-supply = <&fixedregulator3v3>;
  114. bus-width = <4>;
  115. status = "okay";
  116. };
  117. &hspi0 {
  118. pinctrl-0 = <&hspi0_pins>;
  119. pinctrl-names = "default";
  120. status = "okay";
  121. };