lmu5000.dts 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. /*
  2. * lmu5000.dst - Device Tree file for CalAmp LMU5000 board
  3. *
  4. * Copyright (C) 2013 Adam Porter <porter.adam@gmail.com>
  5. *
  6. * Licensed under GPLv2.
  7. */
  8. /dts-v1/;
  9. #include "at91sam9g20.dtsi"
  10. / {
  11. model = "CalAmp LMU5000";
  12. compatible = "calamp,lmu5000", "atmel,at91sam9g20", "atmel,at91sam9";
  13. chosen {
  14. bootargs = "mem=64M console=ttyS0,115200 rootfstype=jffs2";
  15. };
  16. memory {
  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 = <18432000>;
  26. };
  27. };
  28. ahb {
  29. apb {
  30. pinctrl@fffff400 {
  31. board {
  32. pinctrl_pck0_as_mck: pck0_as_mck {
  33. atmel,pins =
  34. <2 1 0x2 0x0>; /* PC1 periph B */
  35. };
  36. };
  37. };
  38. dbgu: serial@fffff200 {
  39. status = "okay";
  40. };
  41. usart0: serial@fffb0000 {
  42. pinctrl-0 =
  43. <&pinctrl_usart0
  44. &pinctrl_usart0_rts
  45. &pinctrl_usart0_cts
  46. &pinctrl_usart0_dtr_dsr
  47. &pinctrl_usart0_dcd
  48. &pinctrl_usart0_ri>;
  49. status = "okay";
  50. };
  51. usart2: serial@fffb8000 {
  52. status = "okay";
  53. };
  54. uart0: serial@fffd4000 {
  55. status = "okay";
  56. };
  57. uart1: serial@fffd8000 {
  58. status = "okay";
  59. };
  60. macb0: ethernet@fffc4000 {
  61. phy-mode = "mii";
  62. status = "okay";
  63. };
  64. usb1: gadget@fffa4000 {
  65. atmel,vbus-gpio = <&pioC 5 0>;
  66. status = "okay";
  67. };
  68. ssc0: ssc@fffbc000 {
  69. status = "okay";
  70. pinctrl-0 = <&pinctrl_ssc0_tx>;
  71. };
  72. watchdog@fffffd40 {
  73. status = "okay";
  74. };
  75. };
  76. nand0: nand@40000000 {
  77. nand-bus-width = <8>;
  78. nand-ecc-mode = "soft";
  79. nand-on-flash-bbt;
  80. status = "okay";
  81. kernel@0 {
  82. label = "kernel";
  83. reg = <0x0 0x400000>;
  84. };
  85. rootfs@400000 {
  86. label = "rootfs";
  87. reg = <0x400000 0x3C00000>;
  88. };
  89. user1@4000000 {
  90. label = "user1";
  91. reg = <0x4000000 0x2000000>;
  92. };
  93. user2@6000000 {
  94. label = "user2";
  95. reg = <0x6000000 0x2000000>;
  96. };
  97. };
  98. usb0: ohci@00500000 {
  99. num-ports = <2>;
  100. status = "okay";
  101. };
  102. };
  103. };