tny_a9263.dts 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * usb_a9263.dts - Device Tree file for Caloa USB A9293 board
  4. *
  5. * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
  6. */
  7. /dts-v1/;
  8. #include "at91sam9263.dtsi"
  9. / {
  10. model = "Calao TNY A9263";
  11. compatible = "atmel,tny-a9263", "atmel,at91sam9263", "atmel,at91sam9";
  12. chosen {
  13. bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock5 rw rootfstype=ubifs";
  14. };
  15. memory@20000000 {
  16. reg = <0x20000000 0x4000000>;
  17. };
  18. clocks {
  19. slow_xtal {
  20. clock-frequency = <32768>;
  21. };
  22. main_xtal {
  23. clock-frequency = <12000000>;
  24. };
  25. };
  26. ahb {
  27. apb {
  28. dbgu: serial@ffffee00 {
  29. status = "okay";
  30. };
  31. tcb0: timer@fff7c000 {
  32. timer@0 {
  33. compatible = "atmel,tcb-timer";
  34. reg = <0>, <1>;
  35. };
  36. timer@2 {
  37. compatible = "atmel,tcb-timer";
  38. reg = <2>;
  39. };
  40. };
  41. usb1: gadget@fff78000 {
  42. atmel,vbus-gpio = <&pioB 11 GPIO_ACTIVE_HIGH>;
  43. status = "okay";
  44. };
  45. };
  46. ebi0: ebi@10000000 {
  47. status = "okay";
  48. nand_controller: nand-controller {
  49. status = "okay";
  50. pinctrl-0 = <&pinctrl_nand_cs &pinctrl_nand_rb>;
  51. pinctrl-names = "default";
  52. nand@3 {
  53. reg = <0x3 0x0 0x800000>;
  54. rb-gpios = <&pioA 22 GPIO_ACTIVE_HIGH>;
  55. cs-gpios = <&pioA 15 GPIO_ACTIVE_HIGH>;
  56. nand-bus-width = <8>;
  57. nand-ecc-mode = "soft";
  58. nand-on-flash-bbt;
  59. label = "atmel_nand";
  60. partitions {
  61. compatible = "fixed-partitions";
  62. #address-cells = <1>;
  63. #size-cells = <1>;
  64. at91bootstrap@0 {
  65. label = "at91bootstrap";
  66. reg = <0x0 0x20000>;
  67. };
  68. barebox@20000 {
  69. label = "barebox";
  70. reg = <0x20000 0x40000>;
  71. };
  72. bareboxenv@60000 {
  73. label = "bareboxenv";
  74. reg = <0x60000 0x20000>;
  75. };
  76. bareboxenv2@80000 {
  77. label = "bareboxenv2";
  78. reg = <0x80000 0x20000>;
  79. };
  80. oftree@80000 {
  81. label = "oftree";
  82. reg = <0xa0000 0x20000>;
  83. };
  84. kernel@a0000 {
  85. label = "kernel";
  86. reg = <0xc0000 0x400000>;
  87. };
  88. rootfs@4a0000 {
  89. label = "rootfs";
  90. reg = <0x4c0000 0x7800000>;
  91. };
  92. data@7ca0000 {
  93. label = "data";
  94. reg = <0x7cc0000 0x8340000>;
  95. };
  96. };
  97. };
  98. };
  99. };
  100. };
  101. i2c-gpio-0 {
  102. status = "okay";
  103. };
  104. };