usb_a9g20.dts 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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. ahb {
  20. apb {
  21. dbgu: serial@fffff200 {
  22. status = "okay";
  23. };
  24. macb0: ethernet@fffc4000 {
  25. phy-mode = "rmii";
  26. status = "okay";
  27. };
  28. };
  29. nand0: nand@40000000 {
  30. nand-bus-width = <8>;
  31. nand-ecc-mode = "soft";
  32. nand-on-flash-bbt;
  33. status = "okay";
  34. at91bootstrap@0 {
  35. label = "at91bootstrap";
  36. reg = <0x0 0x20000>;
  37. };
  38. barebox@20000 {
  39. label = "barebox";
  40. reg = <0x20000 0x40000>;
  41. };
  42. bareboxenv@60000 {
  43. label = "bareboxenv";
  44. reg = <0x60000 0x20000>;
  45. };
  46. bareboxenv2@80000 {
  47. label = "bareboxenv2";
  48. reg = <0x80000 0x20000>;
  49. };
  50. kernel@a0000 {
  51. label = "kernel";
  52. reg = <0xa0000 0x400000>;
  53. };
  54. rootfs@4a0000 {
  55. label = "rootfs";
  56. reg = <0x4a0000 0x7800000>;
  57. };
  58. data@7ca0000 {
  59. label = "data";
  60. reg = <0x7ca0000 0x8360000>;
  61. };
  62. };
  63. };
  64. leds {
  65. compatible = "gpio-leds";
  66. user_led {
  67. label = "user_led";
  68. gpios = <&pioB 21 1>;
  69. linux,default-trigger = "heartbeat";
  70. };
  71. };
  72. gpio_keys {
  73. compatible = "gpio-keys";
  74. #address-cells = <1>;
  75. #size-cells = <0>;
  76. user_pb {
  77. label = "user_pb";
  78. gpios = <&pioB 10 1>;
  79. linux,code = <28>;
  80. gpio-key,wakeup;
  81. };
  82. };
  83. i2c@0 {
  84. status = "okay";
  85. rv3029c2@56 {
  86. compatible = "rv3029c2";
  87. reg = <0x56>;
  88. };
  89. };
  90. };