r8a7779-marzen-reference.dts 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. /*
  2. * Reference 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. / {
  15. model = "marzen";
  16. compatible = "renesas,marzen-reference", "renesas,r8a7779";
  17. chosen {
  18. bootargs = "console=ttySC2,115200 earlyprintk=sh-sci.2,115200 ignore_loglevel root=/dev/nfs ip=on rw";
  19. };
  20. memory {
  21. device_type = "memory";
  22. reg = <0x60000000 0x40000000>;
  23. };
  24. fixedregulator3v3: fixedregulator@0 {
  25. compatible = "regulator-fixed";
  26. regulator-name = "fixed-3.3V";
  27. regulator-min-microvolt = <3300000>;
  28. regulator-max-microvolt = <3300000>;
  29. regulator-boot-on;
  30. regulator-always-on;
  31. };
  32. lan0@18000000 {
  33. compatible = "smsc,lan9220", "smsc,lan9115";
  34. reg = <0x18000000 0x100>;
  35. pinctrl-0 = <&lan0_pins>;
  36. pinctrl-names = "default";
  37. phy-mode = "mii";
  38. interrupt-parent = <&gic>;
  39. interrupts = <0 28 0x4>;
  40. reg-io-width = <4>;
  41. vddvario-supply = <&fixedregulator3v3>;
  42. vdd33a-supply = <&fixedregulator3v3>;
  43. };
  44. leds {
  45. compatible = "gpio-leds";
  46. led2 {
  47. gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>;
  48. };
  49. led3 {
  50. gpios = <&gpio4 30 GPIO_ACTIVE_HIGH>;
  51. };
  52. led4 {
  53. gpios = <&gpio4 31 GPIO_ACTIVE_HIGH>;
  54. };
  55. };
  56. };
  57. &pfc {
  58. pinctrl-0 = <&scif2_pins &scif4_pins &sdhi0_pins>;
  59. pinctrl-names = "default";
  60. lan0_pins: lan0 {
  61. intc {
  62. renesas,groups = "intc_irq1_b";
  63. renesas,function = "intc";
  64. };
  65. lbsc {
  66. renesas,groups = "lbsc_ex_cs0";
  67. renesas,function = "lbsc";
  68. };
  69. };
  70. scif2_pins: scif2 {
  71. renesas,groups = "scif2_data_c";
  72. renesas,function = "scif2";
  73. };
  74. scif4_pins: scif4 {
  75. renesas,groups = "scif4_data";
  76. renesas,function = "scif4";
  77. };
  78. sdhi0_pins: sdhi0 {
  79. renesas,groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_cd",
  80. "sdhi0_wp";
  81. renesas,function = "sdhi0";
  82. };
  83. };