aks-cdu.dts 2.1 KB

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