usb_a9263.dts 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. /*
  2. * usb_a9263.dts - Device Tree file for Caloa USB A9293 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 = "Calao USB A9263";
  12. compatible = "atmel,usb-a9263", "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 = <12000000>;
  26. };
  27. };
  28. ahb {
  29. apb {
  30. dbgu: serial@ffffee00 {
  31. status = "okay";
  32. };
  33. macb0: ethernet@fffbc000 {
  34. phy-mode = "rmii";
  35. status = "okay";
  36. };
  37. usb1: gadget@fff78000 {
  38. atmel,vbus-gpio = <&pioB 11 GPIO_ACTIVE_HIGH>;
  39. status = "okay";
  40. };
  41. spi0: spi@fffa4000 {
  42. cs-gpios = <&pioB 15 GPIO_ACTIVE_HIGH>;
  43. status = "okay";
  44. mtd_dataflash@0 {
  45. compatible = "atmel,at45", "atmel,dataflash";
  46. reg = <0>;
  47. spi-max-frequency = <15000000>;
  48. };
  49. };
  50. shdwc@fffffd10 {
  51. atmel,wakeup-counter = <10>;
  52. atmel,wakeup-rtt-timer;
  53. };
  54. };
  55. nand0: nand@40000000 {
  56. nand-bus-width = <8>;
  57. nand-ecc-mode = "soft";
  58. nand-on-flash-bbt;
  59. status = "okay";
  60. at91bootstrap@0 {
  61. label = "at91bootstrap";
  62. reg = <0x0 0x20000>;
  63. };
  64. barebox@20000 {
  65. label = "barebox";
  66. reg = <0x20000 0x40000>;
  67. };
  68. bareboxenv@60000 {
  69. label = "bareboxenv";
  70. reg = <0x60000 0x20000>;
  71. };
  72. bareboxenv2@80000 {
  73. label = "bareboxenv2";
  74. reg = <0x80000 0x20000>;
  75. };
  76. oftree@80000 {
  77. label = "oftree";
  78. reg = <0xa0000 0x20000>;
  79. };
  80. kernel@a0000 {
  81. label = "kernel";
  82. reg = <0xc0000 0x400000>;
  83. };
  84. rootfs@4a0000 {
  85. label = "rootfs";
  86. reg = <0x4c0000 0x7800000>;
  87. };
  88. data@7ca0000 {
  89. label = "data";
  90. reg = <0x7cc0000 0x8340000>;
  91. };
  92. };
  93. usb0: ohci@00a00000 {
  94. num-ports = <2>;
  95. status = "okay";
  96. };
  97. };
  98. leds {
  99. compatible = "gpio-leds";
  100. user_led {
  101. label = "user_led";
  102. gpios = <&pioB 21 GPIO_ACTIVE_HIGH>;
  103. linux,default-trigger = "heartbeat";
  104. };
  105. };
  106. gpio_keys {
  107. compatible = "gpio-keys";
  108. #address-cells = <1>;
  109. #size-cells = <0>;
  110. user_pb {
  111. label = "user_pb";
  112. gpios = <&pioB 10 GPIO_ACTIVE_LOW>;
  113. linux,code = <28>;
  114. gpio-key,wakeup;
  115. };
  116. };
  117. i2c@0 {
  118. status = "okay";
  119. };
  120. };