emev2-kzm9d.dts 2.4 KB

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