usb_a9260_common.dtsi 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  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. slow_xtal {
  18. clock-frequency = <32768>;
  19. };
  20. main_xtal {
  21. clock-frequency = <12000000>;
  22. };
  23. };
  24. ahb {
  25. apb {
  26. dbgu: serial@fffff200 {
  27. status = "okay";
  28. };
  29. macb0: ethernet@fffc4000 {
  30. phy-mode = "rmii";
  31. status = "okay";
  32. };
  33. usb1: gadget@fffa4000 {
  34. atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>;
  35. status = "okay";
  36. };
  37. };
  38. nand0: nand@40000000 {
  39. nand-bus-width = <8>;
  40. nand-ecc-mode = "soft";
  41. nand-on-flash-bbt;
  42. status = "okay";
  43. at91bootstrap@0 {
  44. label = "at91bootstrap";
  45. reg = <0x0 0x20000>;
  46. };
  47. barebox@20000 {
  48. label = "barebox";
  49. reg = <0x20000 0x40000>;
  50. };
  51. bareboxenv@60000 {
  52. label = "bareboxenv";
  53. reg = <0x60000 0x20000>;
  54. };
  55. bareboxenv2@80000 {
  56. label = "bareboxenv2";
  57. reg = <0x80000 0x20000>;
  58. };
  59. oftree@80000 {
  60. label = "oftree";
  61. reg = <0xa0000 0x20000>;
  62. };
  63. kernel@a0000 {
  64. label = "kernel";
  65. reg = <0xc0000 0x400000>;
  66. };
  67. rootfs@4a0000 {
  68. label = "rootfs";
  69. reg = <0x4c0000 0x7800000>;
  70. };
  71. data@7ca0000 {
  72. label = "data";
  73. reg = <0x7cc0000 0x8340000>;
  74. };
  75. };
  76. usb0: ohci@00500000 {
  77. num-ports = <2>;
  78. status = "okay";
  79. };
  80. };
  81. leds {
  82. compatible = "gpio-leds";
  83. user_led {
  84. label = "user_led";
  85. gpios = <&pioB 21 GPIO_ACTIVE_LOW>;
  86. linux,default-trigger = "heartbeat";
  87. };
  88. };
  89. gpio_keys {
  90. compatible = "gpio-keys";
  91. #address-cells = <1>;
  92. #size-cells = <0>;
  93. user_pb {
  94. label = "user_pb";
  95. gpios = <&pioB 10 GPIO_ACTIVE_LOW>;
  96. linux,code = <28>;
  97. gpio-key,wakeup;
  98. };
  99. };
  100. i2c@0 {
  101. status = "okay";
  102. };
  103. };