usb_a9260_common.dtsi 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. /*
  2. * usb_a926x.dts - Device Tree file for Caloa USB A926x board
  3. *
  4. * Copyright (C) 2011-2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
  5. *
  6. * Licensed under GPLv2 or later.
  7. */
  8. / {
  9. clocks {
  10. #address-cells = <1>;
  11. #size-cells = <1>;
  12. ranges;
  13. main_clock: clock@0 {
  14. compatible = "atmel,osc", "fixed-clock";
  15. clock-frequency = <12000000>;
  16. };
  17. };
  18. ahb {
  19. apb {
  20. dbgu: serial@fffff200 {
  21. status = "okay";
  22. };
  23. macb0: ethernet@fffc4000 {
  24. phy-mode = "rmii";
  25. status = "okay";
  26. };
  27. usb1: gadget@fffa4000 {
  28. atmel,vbus-gpio = <&pioC 5 0>;
  29. status = "okay";
  30. };
  31. };
  32. nand0: nand@40000000 {
  33. nand-bus-width = <8>;
  34. nand-ecc-mode = "soft";
  35. nand-on-flash-bbt;
  36. status = "okay";
  37. at91bootstrap@0 {
  38. label = "at91bootstrap";
  39. reg = <0x0 0x20000>;
  40. };
  41. barebox@20000 {
  42. label = "barebox";
  43. reg = <0x20000 0x40000>;
  44. };
  45. bareboxenv@60000 {
  46. label = "bareboxenv";
  47. reg = <0x60000 0x20000>;
  48. };
  49. bareboxenv2@80000 {
  50. label = "bareboxenv2";
  51. reg = <0x80000 0x20000>;
  52. };
  53. oftree@80000 {
  54. label = "oftree";
  55. reg = <0xa0000 0x20000>;
  56. };
  57. kernel@a0000 {
  58. label = "kernel";
  59. reg = <0xc0000 0x400000>;
  60. };
  61. rootfs@4a0000 {
  62. label = "rootfs";
  63. reg = <0x4c0000 0x7800000>;
  64. };
  65. data@7ca0000 {
  66. label = "data";
  67. reg = <0x7cc0000 0x8340000>;
  68. };
  69. };
  70. usb0: ohci@00500000 {
  71. num-ports = <2>;
  72. status = "okay";
  73. };
  74. };
  75. leds {
  76. compatible = "gpio-leds";
  77. user_led {
  78. label = "user_led";
  79. gpios = <&pioB 21 1>;
  80. linux,default-trigger = "heartbeat";
  81. };
  82. };
  83. gpio_keys {
  84. compatible = "gpio-keys";
  85. #address-cells = <1>;
  86. #size-cells = <0>;
  87. user_pb {
  88. label = "user_pb";
  89. gpios = <&pioB 10 1>;
  90. linux,code = <28>;
  91. gpio-key,wakeup;
  92. };
  93. };
  94. i2c@0 {
  95. status = "okay";
  96. };
  97. };