emev2-kzm9d.dts 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Device Tree Source for the KZM9D board
  4. *
  5. * Copyright (C) 2013 Renesas Solutions Corp.
  6. */
  7. /dts-v1/;
  8. #include "emev2.dtsi"
  9. #include <dt-bindings/gpio/gpio.h>
  10. #include <dt-bindings/input/input.h>
  11. #include <dt-bindings/interrupt-controller/irq.h>
  12. / {
  13. model = "EMEV2 KZM9D Board";
  14. compatible = "renesas,kzm9d", "renesas,emev2";
  15. memory@40000000 {
  16. device_type = "memory";
  17. reg = <0x40000000 0x8000000>;
  18. };
  19. aliases {
  20. serial1 = &uart1;
  21. };
  22. chosen {
  23. bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
  24. stdout-path = "serial1:115200n8";
  25. };
  26. gpio_keys {
  27. compatible = "gpio-keys";
  28. one {
  29. debounce-interval = <50>;
  30. wakeup-source;
  31. label = "DSW2-1";
  32. linux,code = <KEY_1>;
  33. gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
  34. };
  35. two {
  36. debounce-interval = <50>;
  37. wakeup-source;
  38. label = "DSW2-2";
  39. linux,code = <KEY_2>;
  40. gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
  41. };
  42. three {
  43. debounce-interval = <50>;
  44. wakeup-source;
  45. label = "DSW2-3";
  46. linux,code = <KEY_3>;
  47. gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
  48. };
  49. four {
  50. debounce-interval = <50>;
  51. wakeup-source;
  52. label = "DSW2-4";
  53. linux,code = <KEY_4>;
  54. gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
  55. };
  56. };
  57. reg_1p8v: regulator-1p8v {
  58. compatible = "regulator-fixed";
  59. regulator-name = "fixed-1.8V";
  60. regulator-min-microvolt = <1800000>;
  61. regulator-max-microvolt = <1800000>;
  62. regulator-always-on;
  63. regulator-boot-on;
  64. };
  65. reg_3p3v: regulator-3p3v {
  66. compatible = "regulator-fixed";
  67. regulator-name = "fixed-3.3V";
  68. regulator-min-microvolt = <3300000>;
  69. regulator-max-microvolt = <3300000>;
  70. regulator-always-on;
  71. regulator-boot-on;
  72. };
  73. ethernet@20000000 {
  74. compatible = "smsc,lan9221", "smsc,lan9115";
  75. reg = <0x20000000 0x10000>;
  76. phy-mode = "mii";
  77. interrupt-parent = <&gpio0>;
  78. interrupts = <1 IRQ_TYPE_EDGE_RISING>;
  79. reg-io-width = <4>;
  80. smsc,irq-active-high;
  81. smsc,irq-push-pull;
  82. vddvario-supply = <&reg_1p8v>;
  83. vdd33a-supply = <&reg_3p3v>;
  84. };
  85. };
  86. &iic0 {
  87. status = "okay";
  88. };
  89. &iic1 {
  90. status = "okay";
  91. };
  92. &pfc {
  93. uart1_pins: uart1 {
  94. groups = "uart1_ctrl", "uart1_data";
  95. function = "uart1";
  96. };
  97. };
  98. &uart1 {
  99. pinctrl-0 = <&uart1_pins>;
  100. pinctrl-names = "default";
  101. status = "okay";
  102. };