usb_a9g20.dts 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. /*
  2. * usb_a9g20.dts - Device Tree file for Caloa USB A9G20 board
  3. *
  4. * Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
  5. *
  6. * Licensed under GPLv2 or later.
  7. */
  8. /dts-v1/;
  9. /include/ "at91sam9g20.dtsi"
  10. / {
  11. model = "Calao USB A9G20";
  12. compatible = "calao,usb-a9g20", "atmel,at91sam9g20", "atmel,at91sam9";
  13. chosen {
  14. bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock5 rw rootfstype=ubifs";
  15. };
  16. memory@20000000 {
  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@fffff200 {
  31. status = "okay";
  32. };
  33. macb0: ethernet@fffc4000 {
  34. phy-mode = "rmii";
  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. kernel@a0000 {
  60. label = "kernel";
  61. reg = <0xa0000 0x400000>;
  62. };
  63. rootfs@4a0000 {
  64. label = "rootfs";
  65. reg = <0x4a0000 0x7800000>;
  66. };
  67. data@7ca0000 {
  68. label = "data";
  69. reg = <0x7ca0000 0x8360000>;
  70. };
  71. };
  72. };
  73. leds {
  74. compatible = "gpio-leds";
  75. user_led {
  76. label = "user_led";
  77. gpios = <&pioB 21 1>;
  78. linux,default-trigger = "heartbeat";
  79. };
  80. };
  81. gpio_keys {
  82. compatible = "gpio-keys";
  83. #address-cells = <1>;
  84. #size-cells = <0>;
  85. user_pb {
  86. label = "user_pb";
  87. gpios = <&pioB 10 1>;
  88. linux,code = <28>;
  89. gpio-key,wakeup;
  90. };
  91. };
  92. i2c@0 {
  93. status = "okay";
  94. rv3029c2@56 {
  95. compatible = "rv3029c2";
  96. reg = <0x56>;
  97. };
  98. };
  99. };