usb_a9260_common.dtsi 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. // SPDX-License-Identifier: GPL-2.0-or-later
  2. /*
  3. * usb_a926x.dts - Device Tree file for Caloa USB A926x board
  4. *
  5. * Copyright (C) 2011-2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
  6. */
  7. / {
  8. clocks {
  9. slow_xtal {
  10. clock-frequency = <32768>;
  11. };
  12. main_xtal {
  13. clock-frequency = <12000000>;
  14. };
  15. };
  16. ahb {
  17. apb {
  18. dbgu: serial@fffff200 {
  19. status = "okay";
  20. };
  21. tcb0: timer@fffa0000 {
  22. timer@0 {
  23. compatible = "atmel,tcb-timer";
  24. reg = <0>, <1>;
  25. };
  26. timer@2 {
  27. compatible = "atmel,tcb-timer";
  28. reg = <2>;
  29. };
  30. };
  31. macb0: ethernet@fffc4000 {
  32. phy-mode = "rmii";
  33. status = "okay";
  34. };
  35. usb1: gadget@fffa4000 {
  36. atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>;
  37. status = "okay";
  38. };
  39. };
  40. ebi: ebi@10000000 {
  41. status = "okay";
  42. nand_controller: nand-controller {
  43. status = "okay";
  44. pinctrl-0 = <&pinctrl_nand_cs &pinctrl_nand_rb>;
  45. pinctrl-names = "default";
  46. nand@3 {
  47. reg = <0x3 0x0 0x800000>;
  48. rb-gpios = <&pioC 13 GPIO_ACTIVE_HIGH>;
  49. cs-gpios = <&pioC 14 GPIO_ACTIVE_HIGH>;
  50. nand-bus-width = <8>;
  51. nand-ecc-mode = "soft";
  52. nand-on-flash-bbt;
  53. label = "atmel_nand";
  54. partitions {
  55. compatible = "fixed-partitions";
  56. #address-cells = <1>;
  57. #size-cells = <1>;
  58. at91bootstrap@0 {
  59. label = "at91bootstrap";
  60. reg = <0x0 0x20000>;
  61. };
  62. barebox@20000 {
  63. label = "barebox";
  64. reg = <0x20000 0x40000>;
  65. };
  66. bareboxenv@60000 {
  67. label = "bareboxenv";
  68. reg = <0x60000 0x20000>;
  69. };
  70. bareboxenv2@80000 {
  71. label = "bareboxenv2";
  72. reg = <0x80000 0x20000>;
  73. };
  74. oftree@80000 {
  75. label = "oftree";
  76. reg = <0xa0000 0x20000>;
  77. };
  78. kernel@a0000 {
  79. label = "kernel";
  80. reg = <0xc0000 0x400000>;
  81. };
  82. rootfs@4a0000 {
  83. label = "rootfs";
  84. reg = <0x4c0000 0x7800000>;
  85. };
  86. data@7ca0000 {
  87. label = "data";
  88. reg = <0x7cc0000 0x8340000>;
  89. };
  90. };
  91. };
  92. };
  93. };
  94. usb0: ohci@500000 {
  95. num-ports = <2>;
  96. status = "okay";
  97. };
  98. };
  99. leds {
  100. compatible = "gpio-leds";
  101. user_led {
  102. label = "user_led";
  103. gpios = <&pioB 21 GPIO_ACTIVE_LOW>;
  104. linux,default-trigger = "heartbeat";
  105. };
  106. };
  107. gpio_keys {
  108. compatible = "gpio-keys";
  109. #address-cells = <1>;
  110. #size-cells = <0>;
  111. user_pb {
  112. label = "user_pb";
  113. gpios = <&pioB 10 GPIO_ACTIVE_LOW>;
  114. linux,code = <28>;
  115. wakeup-source;
  116. };
  117. };
  118. i2c-gpio-0 {
  119. status = "okay";
  120. };
  121. };