armada-385-linksys-cobra.dts 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. // SPDX-License-Identifier: (GPL-2.0 OR MIT)
  2. /*
  3. * Device Tree file for the Linksys WRT1900ACv2 (Cobra)
  4. *
  5. * Copyright (C) 2015 Imre Kaloz <[email protected]>
  6. */
  7. /dts-v1/;
  8. #include "armada-385-linksys.dtsi"
  9. / {
  10. model = "Linksys WRT1900ACv2";
  11. compatible = "linksys,cobra", "linksys,armada385", "marvell,armada385",
  12. "marvell,armada380";
  13. };
  14. &expander0 {
  15. wan_amber@0 {
  16. label = "cobra:amber:wan";
  17. reg = <0x0>;
  18. };
  19. wan_white@1 {
  20. label = "cobra:white:wan";
  21. reg = <0x1>;
  22. };
  23. wlan_2g@2 {
  24. label = "cobra:white:wlan_2g";
  25. reg = <0x2>;
  26. };
  27. wlan_5g@3 {
  28. label = "cobra:white:wlan_5g";
  29. reg = <0x3>;
  30. };
  31. usb2@5 {
  32. label = "cobra:white:usb2";
  33. reg = <0x5>;
  34. };
  35. usb3_1@6 {
  36. label = "cobra:white:usb3_1";
  37. reg = <0x6>;
  38. };
  39. usb3_2@7 {
  40. label = "cobra:white:usb3_2";
  41. reg = <0x7>;
  42. };
  43. wps_white@8 {
  44. label = "cobra:white:wps";
  45. reg = <0x8>;
  46. };
  47. wps_amber@9 {
  48. label = "cobra:amber:wps";
  49. reg = <0x9>;
  50. };
  51. };
  52. &gpio_leds {
  53. power {
  54. label = "cobra:white:power";
  55. };
  56. sata {
  57. label = "cobra:white:sata";
  58. };
  59. };
  60. &nand {
  61. /* 128MiB */
  62. partitions {
  63. compatible = "fixed-partitions";
  64. #address-cells = <1>;
  65. #size-cells = <1>;
  66. partition@0 {
  67. label = "u-boot";
  68. reg = <0x0000000 0x200000>; /* 2MiB */
  69. read-only;
  70. };
  71. partition@100000 {
  72. label = "u_env";
  73. reg = <0x200000 0x40000>; /* 256KiB */
  74. };
  75. partition@140000 {
  76. label = "s_env";
  77. reg = <0x240000 0x40000>; /* 256KiB */
  78. };
  79. partition@900000 {
  80. label = "devinfo";
  81. reg = <0x900000 0x100000>; /* 1MiB */
  82. read-only;
  83. };
  84. /* kernel1 overlaps with rootfs1 by design */
  85. partition@a00000 {
  86. label = "kernel1";
  87. reg = <0xa00000 0x2800000>; /* 40MiB */
  88. };
  89. partition@1000000 {
  90. label = "rootfs1";
  91. reg = <0x1000000 0x2200000>; /* 34MiB */
  92. };
  93. /* kernel2 overlaps with rootfs2 by design */
  94. partition@3200000 {
  95. label = "kernel2";
  96. reg = <0x3200000 0x2800000>; /* 40MiB */
  97. };
  98. partition@3800000 {
  99. label = "rootfs2";
  100. reg = <0x3800000 0x2200000>; /* 34MiB */
  101. };
  102. /*
  103. * 38MiB, last MiB is for the BBT, not writable
  104. */
  105. partition@5a00000 {
  106. label = "syscfg";
  107. reg = <0x5a00000 0x2600000>;
  108. };
  109. /*
  110. * Unused area between "s_env" and "devinfo".
  111. * Moved here because otherwise the renumbered
  112. * partitions would break the bootloader
  113. * supplied bootargs
  114. */
  115. partition@180000 {
  116. label = "unused_area";
  117. reg = <0x280000 0x680000>; /* 6.5MiB */
  118. };
  119. };
  120. };