at91rm9200ek.dts 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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. };
  25. ahb {
  26. apb {
  27. dbgu: serial@fffff200 {
  28. status = "okay";
  29. };
  30. usart1: serial@fffc4000 {
  31. pinctrl-0 =
  32. <&pinctrl_uart1
  33. &pinctrl_uart1_rts
  34. &pinctrl_uart1_cts
  35. &pinctrl_uart1_dtr_dsr
  36. &pinctrl_uart1_dcd
  37. &pinctrl_uart1_ri>;
  38. status = "okay";
  39. };
  40. macb0: ethernet@fffbc000 {
  41. phy-mode = "rmii";
  42. status = "okay";
  43. };
  44. usb1: gadget@fffb0000 {
  45. atmel,vbus-gpio = <&pioD 4 GPIO_ACTIVE_HIGH>;
  46. status = "okay";
  47. };
  48. spi0: spi@fffe0000 {
  49. status = "okay";
  50. cs-gpios = <&pioA 3 0>, <0>, <0>, <0>;
  51. mtd_dataflash@0 {
  52. compatible = "atmel,at45", "atmel,dataflash";
  53. spi-max-frequency = <15000000>;
  54. reg = <0>;
  55. };
  56. };
  57. };
  58. usb0: ohci@00300000 {
  59. num-ports = <2>;
  60. status = "okay";
  61. };
  62. };
  63. leds {
  64. compatible = "gpio-leds";
  65. ds2 {
  66. label = "green";
  67. gpios = <&pioB 0 GPIO_ACTIVE_LOW>;
  68. linux,default-trigger = "mmc0";
  69. };
  70. ds4 {
  71. label = "yellow";
  72. gpios = <&pioB 1 GPIO_ACTIVE_LOW>;
  73. linux,default-trigger = "heartbeat";
  74. };
  75. ds6 {
  76. label = "red";
  77. gpios = <&pioB 2 GPIO_ACTIVE_LOW>;
  78. };
  79. };
  80. };