Commit | Line | Data |
---|---|---|
dbe9e6f6 MM |
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 | ||
c696a020 S |
23 | aliases { |
24 | serial0 = &blsp1_uart1; | |
25 | }; | |
26 | ||
27 | chosen { | |
28 | stdout-path = "serial0:115200n8"; | |
29 | }; | |
30 | ||
dbe9e6f6 | 31 | soc { |
6bfe03dd CL |
32 | rng@22000 { |
33 | status = "ok"; | |
34 | }; | |
35 | ||
ba4ca27b | 36 | pinctrl@1000000 { |
dbe9e6f6 MM |
37 | serial_pins: serial_pinmux { |
38 | mux { | |
39 | pins = "gpio60", "gpio61"; | |
40 | function = "blsp_uart0"; | |
41 | bias-disable; | |
42 | }; | |
43 | }; | |
13ad4fd3 MM |
44 | |
45 | spi_0_pins: spi_0_pinmux { | |
46 | pinmux { | |
47 | function = "blsp_spi0"; | |
48 | pins = "gpio55", "gpio56", "gpio57"; | |
49 | }; | |
50 | pinmux_cs { | |
51 | function = "gpio"; | |
52 | pins = "gpio54"; | |
53 | }; | |
54 | pinconf { | |
55 | pins = "gpio55", "gpio56", "gpio57"; | |
56 | drive-strength = <12>; | |
57 | bias-disable; | |
58 | }; | |
59 | pinconf_cs { | |
60 | pins = "gpio54"; | |
61 | drive-strength = <2>; | |
62 | bias-disable; | |
63 | output-high; | |
64 | }; | |
65 | }; | |
66 | }; | |
67 | ||
9ca595f0 MM |
68 | blsp_dma: dma@7884000 { |
69 | status = "ok"; | |
70 | }; | |
71 | ||
18751940 | 72 | spi@78b5000 { |
13ad4fd3 MM |
73 | pinctrl-0 = <&spi_0_pins>; |
74 | pinctrl-names = "default"; | |
75 | status = "ok"; | |
76 | cs-gpios = <&tlmm 54 0>; | |
77 | ||
78 | mx25l25635e@0 { | |
79 | #address-cells = <1>; | |
80 | #size-cells = <1>; | |
81 | reg = <0>; | |
82 | compatible = "mx25l25635e"; | |
83 | spi-max-frequency = <24000000>; | |
84 | }; | |
dbe9e6f6 MM |
85 | }; |
86 | ||
87 | serial@78af000 { | |
88 | pinctrl-0 = <&serial_pins>; | |
89 | pinctrl-names = "default"; | |
90 | status = "ok"; | |
91 | }; | |
40057afd | 92 | |
fd6fd386 MM |
93 | cryptobam: dma@8e04000 { |
94 | status = "ok"; | |
95 | }; | |
96 | ||
97 | crypto@8e3a000 { | |
98 | status = "ok"; | |
99 | }; | |
100 | ||
40057afd MM |
101 | watchdog@b017000 { |
102 | status = "ok"; | |
103 | }; | |
0d363594 CL |
104 | |
105 | wifi@a000000 { | |
106 | status = "ok"; | |
107 | }; | |
108 | ||
109 | wifi@a800000 { | |
110 | status = "ok"; | |
111 | }; | |
dbe9e6f6 MM |
112 | }; |
113 | }; |