qcom-ipq4019-ap.dk01.1.dtsi 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. /* Copyright (c) 2015, The Linux Foundation. All rights reserved.
  2. *
  3. * Permission to use, copy, modify, and/or distribute this software for any
  4. * purpose with or without fee is hereby granted, provided that the above
  5. * copyright notice and this permission notice appear in all copies.
  6. *
  7. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  8. * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  9. * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
  10. * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  11. * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  12. * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  13. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  14. *
  15. */
  16. #include <dt-bindings/gpio/gpio.h>
  17. #include "qcom-ipq4019.dtsi"
  18. / {
  19. model = "Qualcomm Technologies, Inc. IPQ4019/AP-DK01.1";
  20. aliases {
  21. serial0 = &blsp1_uart1;
  22. };
  23. chosen {
  24. stdout-path = "serial0:115200n8";
  25. };
  26. soc {
  27. rng@22000 {
  28. status = "okay";
  29. };
  30. pinctrl@1000000 {
  31. serial_pins: serial_pinmux {
  32. mux {
  33. pins = "gpio60", "gpio61";
  34. function = "blsp_uart0";
  35. bias-disable;
  36. };
  37. };
  38. spi_0_pins: spi_0_pinmux {
  39. pinmux {
  40. function = "blsp_spi0";
  41. pins = "gpio55", "gpio56", "gpio57";
  42. };
  43. pinmux_cs {
  44. function = "gpio";
  45. pins = "gpio54";
  46. };
  47. pinconf {
  48. pins = "gpio55", "gpio56", "gpio57";
  49. drive-strength = <12>;
  50. bias-disable;
  51. };
  52. pinconf_cs {
  53. pins = "gpio54";
  54. drive-strength = <2>;
  55. bias-disable;
  56. output-high;
  57. };
  58. };
  59. };
  60. blsp_dma: dma-controller@7884000 {
  61. status = "okay";
  62. };
  63. spi@78b5000 {
  64. pinctrl-0 = <&spi_0_pins>;
  65. pinctrl-names = "default";
  66. status = "okay";
  67. cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
  68. mx25l25635e@0 {
  69. #address-cells = <1>;
  70. #size-cells = <1>;
  71. reg = <0>;
  72. compatible = "mx25l25635e";
  73. spi-max-frequency = <24000000>;
  74. };
  75. };
  76. serial@78af000 {
  77. pinctrl-0 = <&serial_pins>;
  78. pinctrl-names = "default";
  79. status = "okay";
  80. };
  81. cryptobam: dma-controller@8e04000 {
  82. status = "okay";
  83. };
  84. crypto@8e3a000 {
  85. status = "okay";
  86. };
  87. watchdog@b017000 {
  88. status = "okay";
  89. };
  90. wifi@a000000 {
  91. status = "okay";
  92. };
  93. wifi@a800000 {
  94. status = "okay";
  95. };
  96. };
  97. };