usb_a9263.dts 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  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 0>;
  39. status = "okay";
  40. };
  41. };
  42. nand0: nand@40000000 {
  43. nand-bus-width = <8>;
  44. nand-ecc-mode = "soft";
  45. nand-on-flash-bbt;
  46. status = "okay";
  47. at91bootstrap@0 {
  48. label = "at91bootstrap";
  49. reg = <0x0 0x20000>;
  50. };
  51. barebox@20000 {
  52. label = "barebox";
  53. reg = <0x20000 0x40000>;
  54. };
  55. bareboxenv@60000 {
  56. label = "bareboxenv";
  57. reg = <0x60000 0x20000>;
  58. };
  59. bareboxenv2@80000 {
  60. label = "bareboxenv2";
  61. reg = <0x80000 0x20000>;
  62. };
  63. oftree@80000 {
  64. label = "oftree";
  65. reg = <0xa0000 0x20000>;
  66. };
  67. kernel@a0000 {
  68. label = "kernel";
  69. reg = <0xc0000 0x400000>;
  70. };
  71. rootfs@4a0000 {
  72. label = "rootfs";
  73. reg = <0x4c0000 0x7800000>;
  74. };
  75. data@7ca0000 {
  76. label = "data";
  77. reg = <0x7cc0000 0x8340000>;
  78. };
  79. };
  80. usb0: ohci@00a00000 {
  81. num-ports = <2>;
  82. status = "okay";
  83. };
  84. };
  85. leds {
  86. compatible = "gpio-leds";
  87. user_led {
  88. label = "user_led";
  89. gpios = <&pioB 21 0>;
  90. linux,default-trigger = "heartbeat";
  91. };
  92. };
  93. gpio_keys {
  94. compatible = "gpio-keys";
  95. #address-cells = <1>;
  96. #size-cells = <0>;
  97. user_pb {
  98. label = "user_pb";
  99. gpios = <&pioB 10 1>;
  100. linux,code = <28>;
  101. gpio-key,wakeup;
  102. };
  103. };
  104. i2c@0 {
  105. status = "okay";
  106. };
  107. };