at91sam9263ek.dts 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. /*
  2. * at91sam9263ek.dts - Device Tree file for Atmel at91sam9263 reference board
  3. *
  4. * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
  5. *
  6. * Licensed under GPLv2 only
  7. */
  8. /dts-v1/;
  9. /include/ "at91sam9263.dtsi"
  10. / {
  11. model = "Atmel at91sam9263ek";
  12. compatible = "atmel,at91sam9263ek", "atmel,at91sam9263", "atmel,at91sam9";
  13. chosen {
  14. bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock5 rw rootfstype=ubifs";
  15. };
  16. memory {
  17. reg = <0x20000000 0x4000000>;
  18. };
  19. clocks {
  20. #address-cells = <1>;
  21. #size-cells = <1>;
  22. ranges;
  23. main_clock: clock@0 {
  24. compatible = "atmel,osc", "fixed-clock";
  25. clock-frequency = <16367660>;
  26. };
  27. };
  28. ahb {
  29. apb {
  30. dbgu: serial@ffffee00 {
  31. status = "okay";
  32. };
  33. usart0: serial@fff8c000 {
  34. status = "okay";
  35. };
  36. macb0: ethernet@fffbc000 {
  37. phy-mode = "rmii";
  38. status = "okay";
  39. };
  40. usb1: gadget@fff78000 {
  41. atmel,vbus-gpio = <&pioA 25 0>;
  42. status = "okay";
  43. };
  44. };
  45. nand0: nand@40000000 {
  46. nand-bus-width = <8>;
  47. nand-ecc-mode = "soft";
  48. nand-on-flash-bbt = <1>;
  49. status = "okay";
  50. at91bootstrap@0 {
  51. label = "at91bootstrap";
  52. reg = <0x0 0x20000>;
  53. };
  54. barebox@20000 {
  55. label = "barebox";
  56. reg = <0x20000 0x40000>;
  57. };
  58. bareboxenv@60000 {
  59. label = "bareboxenv";
  60. reg = <0x60000 0x20000>;
  61. };
  62. bareboxenv2@80000 {
  63. label = "bareboxenv2";
  64. reg = <0x80000 0x20000>;
  65. };
  66. oftree@80000 {
  67. label = "oftree";
  68. reg = <0xa0000 0x20000>;
  69. };
  70. kernel@a0000 {
  71. label = "kernel";
  72. reg = <0xc0000 0x400000>;
  73. };
  74. rootfs@4a0000 {
  75. label = "rootfs";
  76. reg = <0x4c0000 0x7800000>;
  77. };
  78. data@7ca0000 {
  79. label = "data";
  80. reg = <0x7cc0000 0x8340000>;
  81. };
  82. };
  83. usb0: ohci@00a00000 {
  84. num-ports = <2>;
  85. status = "okay";
  86. atmel,vbus-gpio = <&pioA 24 0
  87. &pioA 21 0
  88. >;
  89. };
  90. };
  91. leds {
  92. compatible = "gpio-leds";
  93. d3 {
  94. label = "d3";
  95. gpios = <&pioB 7 0>;
  96. linux,default-trigger = "heartbeat";
  97. };
  98. d2 {
  99. label = "d2";
  100. gpios = <&pioC 29 1>;
  101. linux,default-trigger = "nand-disk";
  102. };
  103. };
  104. gpio_keys {
  105. compatible = "gpio-keys";
  106. #address-cells = <1>;
  107. #size-cells = <0>;
  108. left_click {
  109. label = "left_click";
  110. gpios = <&pioC 5 1>;
  111. linux,code = <272>;
  112. gpio-key,wakeup;
  113. };
  114. right_click {
  115. label = "right_click";
  116. gpios = <&pioC 4 1>;
  117. linux,code = <273>;
  118. gpio-key,wakeup;
  119. };
  120. };
  121. i2c@0 {
  122. status = "okay";
  123. 24c512@50 {
  124. compatible = "24c512";
  125. reg = <0x50>;
  126. pagesize = <128>;
  127. };
  128. };
  129. };