qcom-ipq8068-cryptid-common.dtsi 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. // SPDX-License-Identifier: GPL-2.0 OR MIT
  2. #include "qcom-ipq8064-v2.0-smb208.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. nand@0 {
  118. compatible = "qcom,nandcs";
  119. reg = <0>;
  120. nand-ecc-strength = <4>;
  121. nand-bus-width = <8>;
  122. nand-ecc-step-size = <512>;
  123. nand-is-boot-medium;
  124. qcom,boot-partitions = <0x0 0x2140000>;
  125. partitions {
  126. compatible = "fixed-partitions";
  127. #address-cells = <1>;
  128. #size-cells = <1>;
  129. partition@0 {
  130. label = "sbl1";
  131. reg = <0x0 0x40000>;
  132. read-only;
  133. };
  134. partition@40000 {
  135. label = "mibib";
  136. reg = <0x40000 0x140000>;
  137. read-only;
  138. };
  139. partition@180000 {
  140. label = "sbl2";
  141. reg = <0x180000 0x140000>;
  142. read-only;
  143. };
  144. partition@2c0000 {
  145. label = "sbl3";
  146. reg = <0x2c0000 0x280000>;
  147. read-only;
  148. };
  149. partition@540000 {
  150. label = "ddrconfig";
  151. reg = <0x540000 0x120000>;
  152. read-only;
  153. };
  154. partition@660000 {
  155. label = "ssd";
  156. reg = <0x660000 0x120000>;
  157. read-only;
  158. };
  159. partition@780000 {
  160. label = "tz";
  161. reg = <0x780000 0x280000>;
  162. read-only;
  163. };
  164. partition@a00000 {
  165. label = "rpm";
  166. reg = <0xa00000 0x280000>;
  167. read-only;
  168. };
  169. partition@1fc0000 {
  170. label = "u-boot";
  171. reg = <0x1fc0000 0x180000>;
  172. read-only;
  173. };
  174. partition@21c0000 {
  175. label = "bootkernel1";
  176. reg = <0x21c0000 0xa80000>;
  177. };
  178. partition@2c40000 {
  179. label = "bootkernel2";
  180. reg = <0x2c40000 0xa80000>;
  181. };
  182. partition@36c0000 {
  183. label = "ubi";
  184. reg = <0x36c0000 0x46c0000>;
  185. };
  186. partition@7d80000 {
  187. label = "art";
  188. reg = <0x7d80000 0x200000>;
  189. read-only;
  190. };
  191. };
  192. };
  193. };