aks-cdu.dts 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. /*
  2. * aks-cdu.dts - Device Tree file for AK signal CDU
  3. *
  4. * Copyright (C) 2012 AK signal Brno a.s.
  5. * 2012 Jiri Prchal <jiri.prchal@aksignal.cz>
  6. *
  7. * Licensed under GPLv2 or later.
  8. */
  9. /dts-v1/;
  10. /include/ "ge863-pro3.dtsi"
  11. / {
  12. chosen {
  13. bootargs = "console=ttyS0,115200 ubi.mtd=4 root=ubi0:rootfs rootfstype=ubifs";
  14. };
  15. ahb {
  16. apb {
  17. usart0: serial@fffb0000 {
  18. status = "okay";
  19. };
  20. usart1: serial@fffb4000 {
  21. status = "okay";
  22. linux,rs485-enabled-at-boot-time;
  23. rs485-rts-delay = <0 0>;
  24. };
  25. usart2: serial@fffb8000 {
  26. status = "okay";
  27. linux,rs485-enabled-at-boot-time;
  28. rs485-rts-delay = <0 0>;
  29. };
  30. usart3: serial@fffd0000 {
  31. status = "okay";
  32. linux,rs485-enabled-at-boot-time;
  33. rs485-rts-delay = <0 0>;
  34. };
  35. macb0: ethernet@fffc4000 {
  36. phy-mode = "rmii";
  37. status = "okay";
  38. };
  39. usb1: gadget@fffa4000 {
  40. atmel,vbus-gpio = <&pioC 15 0>;
  41. status = "okay";
  42. };
  43. };
  44. usb0: ohci@00500000 {
  45. num-ports = <2>;
  46. status = "okay";
  47. };
  48. nand0: nand@40000000 {
  49. nand-bus-width = <8>;
  50. nand-ecc-mode = "soft";
  51. nand-on-flash-bbt;
  52. status = "okay";
  53. bootstrap@0 {
  54. label = "bootstrap";
  55. reg = <0x0 0x40000>;
  56. };
  57. uboot@40000 {
  58. label = "uboot";
  59. reg = <0x40000 0x80000>;
  60. };
  61. ubootenv@c0000 {
  62. label = "ubootenv";
  63. reg = <0xc0000 0x40000>;
  64. };
  65. kernel@100000 {
  66. label = "kernel";
  67. reg = <0x100000 0x400000>;
  68. };
  69. rootfs@500000 {
  70. label = "rootfs";
  71. reg = <0x500000 0x7b00000>;
  72. };
  73. };
  74. };
  75. leds {
  76. compatible = "gpio-leds";
  77. red {
  78. gpios = <&pioC 10 0>;
  79. linux,default-trigger = "none";
  80. };
  81. green {
  82. gpios = <&pioA 5 1>;
  83. linux,default-trigger = "none";
  84. default-state = "on";
  85. };
  86. yellow {
  87. gpios = <&pioB 20 1>;
  88. linux,default-trigger = "none";
  89. };
  90. blue {
  91. gpios = <&pioB 21 1>;
  92. linux,default-trigger = "none";
  93. };
  94. };
  95. };