2018-02-21 19:40:50 +00:00
|
|
|
/* Copyright (c) 2015, The Linux Foundation. All rights reserved.
|
|
|
|
*
|
|
|
|
* Permission to use, copy, modify, and/or distribute this software for any
|
|
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
|
|
* copyright notice and this permission notice appear in all copies.
|
|
|
|
*
|
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
|
|
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
|
|
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
|
|
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
|
|
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
|
|
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
|
|
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "qcom-ipq4019.dtsi"
|
2018-03-19 13:52:38 +00:00
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
2018-02-21 19:40:50 +00:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Qualcomm Technologies, Inc. IPQ4019/AP-DK04.1";
|
|
|
|
compatible = "qcom,ipq4019";
|
|
|
|
|
|
|
|
soc {
|
|
|
|
pinctrl@1000000 {
|
|
|
|
serial_0_pins: serial_pinmux {
|
|
|
|
mux {
|
|
|
|
pins = "gpio16", "gpio17";
|
|
|
|
function = "blsp_uart0";
|
|
|
|
bias-disable;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
serial_1_pins: serial1_pinmux {
|
|
|
|
mux {
|
|
|
|
pins = "gpio8", "gpio9";
|
|
|
|
function = "blsp_uart1";
|
|
|
|
bias-disable;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
spi_0_pins: spi_0_pinmux {
|
|
|
|
pinmux {
|
|
|
|
function = "blsp_spi0";
|
|
|
|
pins = "gpio13", "gpio14", "gpio15";
|
|
|
|
};
|
|
|
|
pinmux_cs {
|
|
|
|
function = "gpio";
|
|
|
|
pins = "gpio12";
|
|
|
|
};
|
|
|
|
pinconf {
|
|
|
|
pins = "gpio13", "gpio14", "gpio15";
|
|
|
|
drive-strength = <12>;
|
|
|
|
bias-disable;
|
|
|
|
};
|
|
|
|
pinconf_cs {
|
|
|
|
pins = "gpio12";
|
|
|
|
drive-strength = <2>;
|
|
|
|
bias-disable;
|
|
|
|
output-high;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c_0_pins: i2c_0_pinmux {
|
|
|
|
pinmux {
|
|
|
|
function = "blsp_i2c0";
|
|
|
|
pins = "gpio10", "gpio11";
|
|
|
|
};
|
|
|
|
pinconf {
|
|
|
|
pins = "gpio10", "gpio11";
|
|
|
|
drive-strength = <16>;
|
|
|
|
bias-disable;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
nand_pins: nand_pins {
|
|
|
|
|
|
|
|
pullups {
|
|
|
|
pins = "gpio52", "gpio53", "gpio58",
|
|
|
|
"gpio59";
|
|
|
|
function = "qpic";
|
|
|
|
bias-pull-up;
|
|
|
|
};
|
|
|
|
|
|
|
|
pulldowns {
|
|
|
|
pins = "gpio54", "gpio55", "gpio56",
|
|
|
|
"gpio57", "gpio60", "gpio61",
|
|
|
|
"gpio62", "gpio63", "gpio64",
|
|
|
|
"gpio65", "gpio66", "gpio67",
|
|
|
|
"gpio68", "gpio69";
|
|
|
|
function = "qpic";
|
|
|
|
bias-pull-down;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
blsp_dma: dma@7884000 {
|
2018-03-19 11:23:00 +00:00
|
|
|
status = "okay";
|
2018-02-21 19:40:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
spi_0: spi@78b5000 {
|
|
|
|
pinctrl-0 = <&spi_0_pins>;
|
|
|
|
pinctrl-names = "default";
|
2018-03-19 11:23:00 +00:00
|
|
|
status = "okay";
|
2018-03-19 13:52:38 +00:00
|
|
|
cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
|
2018-02-21 19:40:50 +00:00
|
|
|
|
|
|
|
mx25l25635e@0 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
reg = <0>;
|
|
|
|
compatible = "mx25l25635e";
|
|
|
|
spi-max-frequency = <24000000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c_0: i2c@78b7000 { /* BLSP1 QUP2 */
|
|
|
|
pinctrl-0 = <&i2c_0_pins>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
|
2018-03-19 11:23:00 +00:00
|
|
|
status = "okay";
|
2018-02-21 19:40:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
serial@78af000 {
|
|
|
|
pinctrl-0 = <&serial_0_pins>;
|
|
|
|
pinctrl-names = "default";
|
2018-03-19 11:23:00 +00:00
|
|
|
status = "okay";
|
2018-02-21 19:40:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
serial@78b0000 {
|
|
|
|
pinctrl-0 = <&serial_1_pins>;
|
|
|
|
pinctrl-names = "default";
|
2018-03-19 11:23:00 +00:00
|
|
|
status = "okay";
|
2018-02-21 19:40:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
usb3_ss_phy: ssphy@9a000 {
|
2018-03-19 11:23:00 +00:00
|
|
|
status = "okay";
|
2018-02-21 19:40:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
usb3_hs_phy: hsphy@a6000 {
|
2018-03-19 11:23:00 +00:00
|
|
|
status = "okay";
|
2018-02-21 19:40:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
usb3: usb3@8af8800 {
|
2018-03-19 11:23:00 +00:00
|
|
|
status = "okay";
|
2018-02-21 19:40:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
usb2_hs_phy: hsphy@a8000 {
|
2018-03-19 11:23:00 +00:00
|
|
|
status = "okay";
|
2018-02-21 19:40:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
usb2: usb2@60f8800 {
|
2018-03-19 11:23:00 +00:00
|
|
|
status = "okay";
|
2018-02-21 19:40:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
cryptobam: dma@8e04000 {
|
2018-03-19 11:23:00 +00:00
|
|
|
status = "okay";
|
2018-02-21 19:40:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
crypto@8e3a000 {
|
2018-03-19 11:23:00 +00:00
|
|
|
status = "okay";
|
2018-02-21 19:40:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
watchdog@b017000 {
|
2018-03-19 11:23:00 +00:00
|
|
|
status = "okay";
|
2018-02-21 19:40:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
qpic_bam: dma@7984000 {
|
2018-03-19 11:23:00 +00:00
|
|
|
status = "okay";
|
2018-02-21 19:40:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nand: qpic-nand@79b0000 {
|
|
|
|
pinctrl-0 = <&nand_pins>;
|
|
|
|
pinctrl-names = "default";
|
2018-03-19 11:23:00 +00:00
|
|
|
status = "okay";
|
2018-02-21 19:40:50 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|