1 From ec3e465ecf3f7dd26f2e22170e4c5f4b9979df5d Mon Sep 17 00:00:00 2001
2 From: Matthew McClintock <mmcclint@codeaurora.org>
3 Date: Mon, 21 Mar 2016 15:55:21 -0500
4 Subject: [PATCH 26/69] dts: ipq4019: Add support for IPQ4019 DK04 board
6 This is pretty similiar to a DK01 but has a bit more IO. Some notable
7 differences are listed below however they are not in the device tree yet
8 as we continue adding more support
15 Signed-off-by: Matthew McClintock <mmcclint@codeaurora.org>
17 arch/arm/boot/dts/Makefile | 1 +
18 arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi | 12 +-
19 arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1-c1.dts | 21 +++
20 arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1.dtsi | 163 ++++++++++++++++++++++++
21 4 files changed, 189 insertions(+), 8 deletions(-)
22 create mode 100644 arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1-c1.dts
23 create mode 100644 arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1.dtsi
25 diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
26 index 7037201c5e3a..6a18f87ffa4d 100644
27 --- a/arch/arm/boot/dts/Makefile
28 +++ b/arch/arm/boot/dts/Makefile
29 @@ -617,6 +617,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \
30 qcom-apq8084-ifc6540.dtb \
31 qcom-apq8084-mtp.dtb \
32 qcom-ipq4019-ap.dk01.1-c1.dtb \
33 + qcom-ipq4019-ap.dk04.1-c1.dtb \
34 qcom-ipq8064-ap148.dtb \
35 qcom-msm8660-surf.dtb \
36 qcom-msm8960-cdp.dtb \
37 diff --git a/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi b/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi
38 index 3ab61bc19b3b..99ee67af43e1 100644
39 --- a/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi
40 +++ b/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi
45 - usb3_ss_phy: ssphy@0 {
49 - dummy_ss_phy: ssphy@1 {
50 + usb3_ss_phy: ssphy@9a000 {
58 - usb2_hs_phy: hsphy@a8000 {
63 - usb3: usb3@8a00000 {
64 + usb2_hs_phy: hsphy@a8000 {
68 - usb2: usb2@6000000 {
73 diff --git a/arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1-c1.dts b/arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1-c1.dts
75 index 000000000000..47202d28fe6a
77 +++ b/arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1-c1.dts
79 +/* Copyright (c) 2015, The Linux Foundation. All rights reserved.
81 + * Permission to use, copy, modify, and/or distribute this software for any
82 + * purpose with or without fee is hereby granted, provided that the above
83 + * copyright notice and this permission notice appear in all copies.
85 + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
86 + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
87 + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
88 + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
89 + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
90 + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
91 + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
95 +#include "qcom-ipq4019-ap.dk04.1.dtsi"
98 + model = "Qualcomm Technologies, Inc. IPQ40xx/AP-DK04.1-C1";
100 diff --git a/arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1.dtsi b/arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1.dtsi
102 index 000000000000..c94b3e717f14
104 +++ b/arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1.dtsi
106 +/* Copyright (c) 2015, The Linux Foundation. All rights reserved.
108 + * Permission to use, copy, modify, and/or distribute this software for any
109 + * purpose with or without fee is hereby granted, provided that the above
110 + * copyright notice and this permission notice appear in all copies.
112 + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
113 + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
114 + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
115 + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
116 + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
117 + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
118 + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
122 +#include "qcom-ipq4019.dtsi"
125 + model = "Qualcomm Technologies, Inc. IPQ4019/AP-DK04.1";
126 + compatible = "qcom,ipq4019";
130 + compatible = "fixed-clock";
131 + clock-frequency = <48000000>;
132 + #clock-cells = <0>;
138 + compatible = "arm,armv7-timer";
139 + interrupts = <1 2 0xf08>,
143 + clock-frequency = <48000000>;
146 + pinctrl@0x01000000 {
147 + serial_0_pins: serial_pinmux {
149 + pins = "gpio16", "gpio17";
150 + function = "blsp_uart0";
155 + serial_1_pins: serial1_pinmux {
157 + pins = "gpio8", "gpio9";
158 + function = "blsp_uart1";
163 + spi_0_pins: spi_0_pinmux {
165 + function = "blsp_spi0";
166 + pins = "gpio13", "gpio14", "gpio15";
173 + pins = "gpio13", "gpio14", "gpio15";
174 + drive-strength = <12>;
179 + drive-strength = <2>;
185 + i2c_0_pins: i2c_0_pinmux {
187 + function = "blsp_i2c0";
188 + pins = "gpio10", "gpio11";
191 + pins = "gpio10", "gpio11";
192 + drive-strength = <16>;
198 + blsp_dma: dma@7884000 {
202 + spi_0: spi@78b5000 {
203 + pinctrl-0 = <&spi_0_pins>;
204 + pinctrl-names = "default";
206 + cs-gpios = <&tlmm 12 0>;
209 + #address-cells = <1>;
212 + compatible = "mx25l25635e";
213 + spi-max-frequency = <24000000>;
217 + i2c_0: i2c@78b7000 { /* BLSP1 QUP2 */
218 + pinctrl-0 = <&i2c_0_pins>;
219 + pinctrl-names = "default";
225 + pinctrl-0 = <&serial_0_pins>;
226 + pinctrl-names = "default";
231 + pinctrl-0 = <&serial_1_pins>;
232 + pinctrl-names = "default";
236 + usb3_ss_phy: ssphy@9a000 {
240 + usb3_hs_phy: hsphy@a6000 {
248 + usb2_hs_phy: hsphy@a8000 {
252 + usb2: usb2@6000000 {
256 + cryptobam: dma@8e04000 {