qcom-ipq8068-cryptid-common.dtsi 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. // SPDX-License-Identifier: GPL-2.0 OR MIT
  2. #include "qcom-ipq8064-v2.0.dtsi"
  3. / {
  4. memory {
  5. device_type = "memory";
  6. linux,usable-memory = <0x41500000 0x1ea00000>;
  7. reg = <0x40000000 0x20000000>;
  8. };
  9. cpus {
  10. idle-states {
  11. CPU_SPC: spc {
  12. status = "disabled";
  13. };
  14. };
  15. };
  16. chosen {
  17. bootargs-append = " console=ttyMSM0,115200n8 ubi.mtd=ubi ubi.mtd=art";
  18. };
  19. };
  20. &qcom_pinmux {
  21. mdio0_pins_active: mdio0_pins_active {
  22. mux {
  23. pins = "gpio0", "gpio1";
  24. function = "mdio";
  25. drive-strength = <2>;
  26. bias-pull-down;
  27. output-low;
  28. };
  29. clk {
  30. pins = "gpio1";
  31. input-disable;
  32. };
  33. };
  34. phy_active: phy_active {
  35. phy {
  36. pins = "gpio6", "gpio7";
  37. function = "gpio";
  38. drive-strength = <2>;
  39. bias-pull-down;
  40. output-high;
  41. };
  42. };
  43. uart1_pins: uart1_pins {
  44. mux {
  45. pins = "gpio51", "gpio52";
  46. function = "gsbi1";
  47. drive-strength = <4>;
  48. bias-disable;
  49. };
  50. };
  51. };
  52. &gsbi1 {
  53. status = "okay";
  54. qcom,mode = <GSBI_PROT_UART_W_FC>;
  55. serial@12450000 {
  56. status = "okay";
  57. pinctrl-0 = <&uart1_pins>;
  58. pinctrl-names = "default";
  59. };
  60. };
  61. &pcie0 {
  62. status = "okay";
  63. /delete-property/ pinctrl-0;
  64. /delete-property/ pinctrl-names;
  65. /delete-property/ perst-gpios;
  66. bridge@0,0 {
  67. reg = <0x0 0 0 0 0>;
  68. #address-cells = <3>;
  69. #size-cells = <2>;
  70. ranges;
  71. wifi0: wifi@1,0 {
  72. compatible = "qcom,ath10k";
  73. status = "okay";
  74. reg = <0x10000 0 0 0 0>;
  75. };
  76. };
  77. };
  78. &pcie1 {
  79. status = "okay";
  80. /delete-property/ pinctrl-0;
  81. /delete-property/ pinctrl-names;
  82. /delete-property/ perst-gpios;
  83. bridge@0,0 {
  84. reg = <0x0 0 0 0 0>;
  85. #address-cells = <3>;
  86. #size-cells = <2>;
  87. ranges;
  88. wifi1: wifi@1,0 {
  89. compatible = "qcom,ath10k";
  90. status = "okay";
  91. reg = <0x10000 0 0 0 0>;
  92. };
  93. };
  94. };
  95. &pcie2 {
  96. status = "okay";
  97. /delete-property/ pinctrl-0;
  98. /delete-property/ pinctrl-names;
  99. /delete-property/ perst-gpios;
  100. bridge@0,0 {
  101. reg = <0x0 0 0 0 0>;
  102. #address-cells = <3>;
  103. #size-cells = <2>;
  104. ranges;
  105. wifi2: wifi@1,0 {
  106. compatible = "qcom,ath10k";
  107. status = "okay";
  108. reg = <0x10000 0 0 0 0>;
  109. };
  110. };
  111. };
  112. &adm_dma {
  113. status = "okay";
  114. };
  115. &nand {
  116. status = "okay";
  117. pinctrl-0 = <&nand_pins>;
  118. pinctrl-names = "default";
  119. nand@0 {
  120. compatible = "qcom,nandcs";
  121. reg = <0>;
  122. nand-ecc-strength = <4>;
  123. nand-bus-width = <8>;
  124. nand-ecc-step-size = <512>;
  125. nand-is-boot-medium;
  126. qcom,boot_pages_size = <0x2140000>;
  127. partitions {
  128. compatible = "fixed-partitions";
  129. #address-cells = <1>;
  130. #size-cells = <1>;
  131. partition@0 {
  132. label = "sbl1";
  133. reg = <0x0 0x40000>;
  134. read-only;
  135. };
  136. partition@40000 {
  137. label = "mibib";
  138. reg = <0x40000 0x140000>;
  139. read-only;
  140. };
  141. partition@180000 {
  142. label = "sbl2";
  143. reg = <0x180000 0x140000>;
  144. read-only;
  145. };
  146. partition@2c0000 {
  147. label = "sbl3";
  148. reg = <0x2c0000 0x280000>;
  149. read-only;
  150. };
  151. partition@540000 {
  152. label = "ddrconfig";
  153. reg = <0x540000 0x120000>;
  154. read-only;
  155. };
  156. partition@660000 {
  157. label = "ssd";
  158. reg = <0x660000 0x120000>;
  159. read-only;
  160. };
  161. partition@780000 {
  162. label = "tz";
  163. reg = <0x780000 0x280000>;
  164. read-only;
  165. };
  166. partition@a00000 {
  167. label = "rpm";
  168. reg = <0xa00000 0x280000>;
  169. read-only;
  170. };
  171. partition@1fc0000 {
  172. label = "u-boot";
  173. reg = <0x1fc0000 0x180000>;
  174. read-only;
  175. };
  176. partition@21c0000 {
  177. label = "bootkernel1";
  178. reg = <0x21c0000 0xa80000>;
  179. };
  180. partition@2c40000 {
  181. label = "bootkernel2";
  182. reg = <0x2c40000 0xa80000>;
  183. };
  184. partition@36c0000 {
  185. label = "ubi";
  186. reg = <0x36c0000 0x46c0000>;
  187. };
  188. partition@7d80000 {
  189. label = "art";
  190. reg = <0x7d80000 0x200000>;
  191. read-only;
  192. };
  193. };
  194. };
  195. };