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