qcom-ipq4029-ap-365.dts 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. // SPDX-License-Identifier: GPL-2.0 OR MIT
  2. #include "qcom-ipq4029-aruba-glenmorangie.dtsi"
  3. #include <dt-bindings/gpio/gpio.h>
  4. / {
  5. model = "Aruba AP-365";
  6. compatible = "aruba,ap-365";
  7. aliases {
  8. led-boot = &led_system_green;
  9. led-failsafe = &led_system_red;
  10. led-running = &led_system_green;
  11. led-upgrade = &led_system_red;
  12. };
  13. leds {
  14. compatible = "gpio-leds";
  15. led_system_red: system_red {
  16. label = "ap-365:red:system";
  17. gpios = <&tlmm 46 GPIO_ACTIVE_LOW>;
  18. };
  19. led_system_green: system_green {
  20. label = "ap-365:green:system";
  21. gpios = <&tlmm 61 GPIO_ACTIVE_LOW>;
  22. };
  23. system_amber {
  24. label = "ap-365:amber:system";
  25. gpios = <&tlmm 49 GPIO_ACTIVE_LOW>;
  26. };
  27. };
  28. watchdog {
  29. compatible = "linux,wdt-gpio";
  30. gpios = <&tlmm 41 GPIO_ACTIVE_LOW>;
  31. hw_algo = "toggle";
  32. hw_margin_ms = <1000>;
  33. always-running;
  34. };
  35. };
  36. &tlmm {
  37. /*
  38. * In addition to the Pins listed below,
  39. * the following GPIOs have "features":
  40. * 39 - out - pulse low to reset watchdog status flipflop
  41. * 40 - out - active high to enable watchdog
  42. * 41 - out - watchdog poke
  43. * 42 - out - active low to reset BLE radio
  44. * 43 - out - active low to reset TPM
  45. * 47 - out - pulse low to reset warm reset status
  46. * 54 - out - active low to force HW reset
  47. * 18 - in - PHY interrupt line
  48. * 45 - in - power monitor interrupt
  49. * 48 - in - active low when cold reset
  50. * 52 - in - active high when watchdog reset
  51. */
  52. phy-reset {
  53. line-name = "PHY-reset";
  54. gpios = <42 GPIO_ACTIVE_HIGH>;
  55. gpio-hog;
  56. output-high;
  57. };
  58. };
  59. &i2c_0 {
  60. power-monitor@40 {
  61. /* No driver */
  62. compatible = "isl,isl28022";
  63. reg = <0x40>;
  64. };
  65. temperature-sensor@48 {
  66. compatible = "adi,ad7416";
  67. reg = <0x48>;
  68. };
  69. };
  70. &blsp1_spi1 {
  71. pinctrl-0 = <&spi_0_pins>;
  72. pinctrl-names = "default";
  73. status = "okay";
  74. cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
  75. flash@0 {
  76. compatible = "jedec,spi-nor";
  77. reg = <0>;
  78. spi-max-frequency = <24000000>;
  79. partitions {
  80. compatible = "fixed-partitions";
  81. #address-cells = <1>;
  82. #size-cells = <1>;
  83. /*
  84. * There is no partition map for the NOR flash
  85. * in the stock firmware.
  86. *
  87. * All partitions here are based on offsets
  88. * found in the U-Boot GPL code and information
  89. * from smem.
  90. */
  91. partition@0 {
  92. label = "sbl1";
  93. reg = <0x0 0x40000>;
  94. read-only;
  95. };
  96. partition@40000 {
  97. label = "mibib";
  98. reg = <0x40000 0x20000>;
  99. read-only;
  100. };
  101. partition@60000 {
  102. label = "qsee";
  103. reg = <0x60000 0x60000>;
  104. read-only;
  105. };
  106. partition@c0000 {
  107. label = "cdt";
  108. reg = <0xc0000 0x10000>;
  109. read-only;
  110. };
  111. partition@d0000 {
  112. label = "ddrparams";
  113. reg = <0xd0000 0x10000>;
  114. read-only;
  115. };
  116. partition@e0000 {
  117. label = "u-boot-env";
  118. reg = <0xe0000 0x10000>;
  119. read-only;
  120. };
  121. partition@f0000 {
  122. label = "appsbl";
  123. reg = <0xf0000 0x100000>;
  124. read-only;
  125. };
  126. partition@1f0000 {
  127. label = "ART";
  128. reg = <0x1f0000 0x10000>;
  129. read-only;
  130. };
  131. partition@200000 {
  132. label = "osss";
  133. reg = <0x200000 0x170000>;
  134. read-only;
  135. };
  136. partition@370000 {
  137. label = "pds";
  138. reg = <0x370000 0x10000>;
  139. read-only;
  140. };
  141. partition@380000 {
  142. label = "apcd";
  143. reg = <0x380000 0x10000>;
  144. read-only;
  145. };
  146. partition@390000 {
  147. label = "mfginfo";
  148. reg = <0x390000 0x10000>;
  149. read-only;
  150. };
  151. partition@3a0000 {
  152. label = "fcache";
  153. reg = <0x3a0000 0x10000>;
  154. read-only;
  155. };
  156. partition@3b0000 {
  157. label = "osss1";
  158. reg = <0x3b0000 0x50000>;
  159. read-only;
  160. };
  161. };
  162. };
  163. };