aks-cdu.dts 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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. clocks {
  16. slow_xtal {
  17. clock-frequency = <32768>;
  18. };
  19. };
  20. ahb {
  21. apb {
  22. usart0: serial@fffb0000 {
  23. status = "okay";
  24. };
  25. usart1: serial@fffb4000 {
  26. status = "okay";
  27. linux,rs485-enabled-at-boot-time;
  28. rs485-rts-delay = <0 0>;
  29. };
  30. usart2: serial@fffb8000 {
  31. status = "okay";
  32. linux,rs485-enabled-at-boot-time;
  33. rs485-rts-delay = <0 0>;
  34. };
  35. usart3: serial@fffd0000 {
  36. status = "okay";
  37. linux,rs485-enabled-at-boot-time;
  38. rs485-rts-delay = <0 0>;
  39. };
  40. macb0: ethernet@fffc4000 {
  41. phy-mode = "rmii";
  42. status = "okay";
  43. };
  44. usb1: gadget@fffa4000 {
  45. atmel,vbus-gpio = <&pioC 15 GPIO_ACTIVE_HIGH>;
  46. status = "okay";
  47. };
  48. };
  49. usb0: ohci@500000 {
  50. num-ports = <2>;
  51. status = "okay";
  52. };
  53. nand0: nand@40000000 {
  54. nand-bus-width = <8>;
  55. nand-ecc-mode = "soft";
  56. nand-on-flash-bbt;
  57. status = "okay";
  58. bootstrap@0 {
  59. label = "bootstrap";
  60. reg = <0x0 0x40000>;
  61. };
  62. uboot@40000 {
  63. label = "uboot";
  64. reg = <0x40000 0x80000>;
  65. };
  66. ubootenv@c0000 {
  67. label = "ubootenv";
  68. reg = <0xc0000 0x40000>;
  69. };
  70. kernel@100000 {
  71. label = "kernel";
  72. reg = <0x100000 0x400000>;
  73. };
  74. rootfs@500000 {
  75. label = "rootfs";
  76. reg = <0x500000 0x7b00000>;
  77. };
  78. };
  79. };
  80. leds {
  81. compatible = "gpio-leds";
  82. red {
  83. gpios = <&pioC 10 GPIO_ACTIVE_HIGH>;
  84. linux,default-trigger = "none";
  85. };
  86. green {
  87. gpios = <&pioA 5 GPIO_ACTIVE_LOW>;
  88. linux,default-trigger = "none";
  89. default-state = "on";
  90. };
  91. yellow {
  92. gpios = <&pioB 20 GPIO_ACTIVE_LOW>;
  93. linux,default-trigger = "none";
  94. };
  95. blue {
  96. gpios = <&pioB 21 GPIO_ACTIVE_LOW>;
  97. linux,default-trigger = "none";
  98. };
  99. };
  100. };