qcom-ipq8064-eax500.dtsi 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2. #include "qcom-ipq8064-v2.0.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. chosen {
  6. bootargs = "console=ttyMSM0,115200n8";
  7. /* append to bootargs adding the root deviceblock nbr from bootloader */
  8. append-rootblock = "ubi.mtd=";
  9. };
  10. };
  11. &usb3_0 {
  12. status = "okay";
  13. };
  14. &usb3_1 {
  15. status = "okay";
  16. };
  17. &pcie0 {
  18. status = "okay";
  19. max-link-speed = <1>;
  20. };
  21. &pcie1 {
  22. status = "okay";
  23. };
  24. &pcie2 {
  25. status = "okay";
  26. };
  27. &nand_controller {
  28. status = "okay";
  29. pinctrl-0 = <&nand_pins>;
  30. pinctrl-names = "default";
  31. nand@0 {
  32. reg = <0>;
  33. compatible = "qcom,nandcs";
  34. nand-ecc-strength = <4>;
  35. nand-bus-width = <8>;
  36. nand-ecc-step-size = <512>;
  37. partitions: partitions {
  38. compatible = "fixed-partitions";
  39. #address-cells = <1>;
  40. #size-cells = <1>;
  41. partition@0 {
  42. label = "SBL1";
  43. reg = <0x0000000 0x0040000>;
  44. read-only;
  45. };
  46. partition@40000 {
  47. label = "MIBIB";
  48. reg = <0x0040000 0x0140000>;
  49. read-only;
  50. };
  51. partition@180000 {
  52. label = "SBL2";
  53. reg = <0x0180000 0x0140000>;
  54. read-only;
  55. };
  56. partition@2c0000 {
  57. label = "SBL3";
  58. reg = <0x02c0000 0x0280000>;
  59. read-only;
  60. };
  61. partition@540000 {
  62. label = "DDRCONFIG";
  63. reg = <0x0540000 0x0120000>;
  64. read-only;
  65. };
  66. partition@660000 {
  67. label = "SSD";
  68. reg = <0x0660000 0x0120000>;
  69. read-only;
  70. };
  71. partition@780000 {
  72. label = "TZ";
  73. reg = <0x0780000 0x0280000>;
  74. read-only;
  75. };
  76. partition@a00000 {
  77. label = "RPM";
  78. reg = <0x0a00000 0x0280000>;
  79. read-only;
  80. };
  81. art: partition@c80000 {
  82. label = "art";
  83. reg = <0x0c80000 0x0140000>;
  84. read-only;
  85. };
  86. partition@dc0000 {
  87. label = "APPSBL";
  88. reg = <0x0dc0000 0x0100000>;
  89. read-only;
  90. };
  91. partition@ec0000 {
  92. label = "u_env";
  93. reg = <0x0ec0000 0x0040000>;
  94. };
  95. partition@f00000 {
  96. label = "s_env";
  97. reg = <0x0f00000 0x0040000>;
  98. };
  99. partition@f40000 {
  100. label = "devinfo";
  101. reg = <0x0f40000 0x0040000>;
  102. };
  103. partition@f80000 {
  104. label = "kernel1";
  105. reg = <0x0f80000 0x2800000>; /* 3 MB spill to rootfs */
  106. };
  107. partition@1280000 {
  108. label = "rootfs1";
  109. reg = <0x1280000 0x2500000>;
  110. };
  111. partition@3780000 {
  112. label = "kernel2";
  113. reg = <0x3780000 0x2800000>;
  114. };
  115. partition@3a80000 {
  116. label = "rootfs2";
  117. reg = <0x3a80000 0x2500000>;
  118. };
  119. };
  120. };
  121. };
  122. &mdio0 {
  123. status = "okay";
  124. pinctrl-0 = <&mdio0_pins>;
  125. pinctrl-names = "default";
  126. phy0: ethernet-phy@0 {
  127. reg = <0>;
  128. qca,ar8327-initvals = <
  129. 0x00004 0x7600000 /* PAD0_MODE */
  130. 0x00008 0x1000000 /* PAD5_MODE */
  131. 0x0000c 0x80 /* PAD6_MODE */
  132. 0x00010 0x2613a0 /* PWS_REG */
  133. 0x000e4 0x6a545 /* MAC_POWER_SEL */
  134. 0x000e0 0xc74164de /* SGMII_CTRL */
  135. 0x0007c 0x4e /* PORT0_STATUS */
  136. 0x00094 0x4e /* PORT6_STATUS */
  137. >;
  138. };
  139. };
  140. &gmac1 {
  141. status = "okay";
  142. phy-mode = "rgmii";
  143. qcom,id = <1>;
  144. pinctrl-0 = <&rgmii2_pins>;
  145. pinctrl-names = "default";
  146. fixed-link {
  147. speed = <1000>;
  148. full-duplex;
  149. };
  150. };
  151. &gmac2 {
  152. status = "okay";
  153. phy-mode = "sgmii";
  154. qcom,id = <2>;
  155. fixed-link {
  156. speed = <1000>;
  157. full-duplex;
  158. };
  159. };
  160. &adm_dma {
  161. status = "okay";
  162. };