at91rm9200ek.dts 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * at91rm9200ek.dts - Device Tree file for Atmel AT91RM9200 evaluation kit
  4. *
  5. * Copyright (C) 2012 Joachim Eastwood <[email protected]>
  6. */
  7. /dts-v1/;
  8. #include "at91rm9200.dtsi"
  9. / {
  10. model = "Atmel AT91RM9200 evaluation kit";
  11. compatible = "atmel,at91rm9200ek", "atmel,at91rm9200";
  12. chosen {
  13. stdout-path = "serial0:115200n8";
  14. };
  15. memory@20000000 {
  16. reg = <0x20000000 0x4000000>;
  17. };
  18. clocks {
  19. slow_xtal {
  20. clock-frequency = <32768>;
  21. };
  22. main_xtal {
  23. clock-frequency = <18432000>;
  24. };
  25. };
  26. ahb {
  27. apb {
  28. tcb0: timer@fffa0000 {
  29. timer@0 {
  30. compatible = "atmel,tcb-timer";
  31. reg = <0>, <1>;
  32. };
  33. timer@2 {
  34. compatible = "atmel,tcb-timer";
  35. reg = <2>;
  36. };
  37. };
  38. usb1: gadget@fffb0000 {
  39. atmel,vbus-gpio = <&pioD 4 GPIO_ACTIVE_HIGH>;
  40. atmel,pullup-gpio = <&pioD 5 GPIO_ACTIVE_HIGH>;
  41. status = "okay";
  42. };
  43. macb0: ethernet@fffbc000 {
  44. phy-mode = "rmii";
  45. status = "okay";
  46. phy0: ethernet-phy {
  47. interrupt-parent = <&pioC>;
  48. interrupts = <4 IRQ_TYPE_EDGE_BOTH>;
  49. };
  50. };
  51. usart1: serial@fffc4000 {
  52. pinctrl-0 =
  53. <&pinctrl_uart1
  54. &pinctrl_uart1_rts
  55. &pinctrl_uart1_cts
  56. &pinctrl_uart1_dtr_dsr
  57. &pinctrl_uart1_dcd
  58. &pinctrl_uart1_ri>;
  59. status = "okay";
  60. };
  61. spi0: spi@fffe0000 {
  62. status = "okay";
  63. cs-gpios = <&pioA 3 0>, <0>, <0>, <0>;
  64. flash@0 {
  65. compatible = "atmel,at45", "atmel,dataflash";
  66. spi-max-frequency = <15000000>;
  67. reg = <0>;
  68. };
  69. };
  70. dbgu: serial@fffff200 {
  71. status = "okay";
  72. };
  73. rtc: rtc@fffffe00 {
  74. status = "okay";
  75. };
  76. };
  77. usb0: ohci@300000 {
  78. num-ports = <2>;
  79. status = "okay";
  80. };
  81. flash@10000000 {
  82. compatible = "cfi-flash";
  83. reg = <0x10000000 0x800000>;
  84. linux,mtd-name = "physmap-flash.0";
  85. bank-width = <2>;
  86. #address-cells = <1>;
  87. #size-cells = <1>;
  88. barebox@0 {
  89. label = "barebox";
  90. reg = <0x00000 0x40000>;
  91. };
  92. bareboxenv@40000 {
  93. label = "bareboxenv";
  94. reg = <0x40000 0x10000>;
  95. };
  96. kernel@50000 {
  97. label = "kernel";
  98. reg = <0x50000 0x300000>;
  99. };
  100. root@350000 {
  101. label = "root";
  102. reg = <0x350000 0x4B0000>;
  103. };
  104. };
  105. };
  106. leds {
  107. compatible = "gpio-leds";
  108. ds2 {
  109. label = "green";
  110. gpios = <&pioB 0 GPIO_ACTIVE_LOW>;
  111. linux,default-trigger = "mmc0";
  112. };
  113. ds4 {
  114. label = "yellow";
  115. gpios = <&pioB 1 GPIO_ACTIVE_LOW>;
  116. linux,default-trigger = "heartbeat";
  117. };
  118. ds6 {
  119. label = "red";
  120. gpios = <&pioB 2 GPIO_ACTIVE_LOW>;
  121. };
  122. };
  123. };