• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
17#include "qcom-ipq4019.dtsi"
18
19/ {
20	model = "Qualcomm Technologies, Inc. IPQ4019/AP-DK01.1";
21	compatible = "qcom,ipq4019";
22
23	soc {
24		rng@22000 {
25			status = "ok";
26		};
27
28		pinctrl@1000000 {
29			serial_pins: serial_pinmux {
30				mux {
31					pins = "gpio60", "gpio61";
32					function = "blsp_uart0";
33					bias-disable;
34				};
35			};
36
37			spi_0_pins: spi_0_pinmux {
38				pinmux {
39					function = "blsp_spi0";
40					pins = "gpio55", "gpio56", "gpio57";
41				};
42				pinmux_cs {
43					function = "gpio";
44					pins = "gpio54";
45				};
46				pinconf {
47					pins = "gpio55", "gpio56", "gpio57";
48					drive-strength = <12>;
49					bias-disable;
50				};
51				pinconf_cs {
52					pins = "gpio54";
53					drive-strength = <2>;
54					bias-disable;
55					output-high;
56				};
57			};
58		};
59
60		blsp_dma: dma@7884000 {
61			status = "ok";
62		};
63
64		spi_0: spi@78b5000 {
65			pinctrl-0 = <&spi_0_pins>;
66			pinctrl-names = "default";
67			status = "ok";
68			cs-gpios = <&tlmm 54 0>;
69
70			mx25l25635e@0 {
71				#address-cells = <1>;
72				#size-cells = <1>;
73				reg = <0>;
74				compatible = "mx25l25635e";
75				spi-max-frequency = <24000000>;
76			};
77		};
78
79		serial@78af000 {
80			pinctrl-0 = <&serial_pins>;
81			pinctrl-names = "default";
82			status = "ok";
83		};
84
85		cryptobam: dma@8e04000 {
86			status = "ok";
87		};
88
89		crypto@8e3a000 {
90			status = "ok";
91		};
92
93		watchdog@b017000 {
94			status = "ok";
95		};
96
97		wifi@a000000 {
98			status = "ok";
99		};
100
101		wifi@a800000 {
102			status = "ok";
103		};
104	};
105};
106