at91rm9200ek.dts 2.4 KB

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