1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (c) 2018, The Linux Foundation. All rights reserved.
4 #include "qcom-ipq4019.dtsi"
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/gpio/gpio.h>
9 model = "Qualcomm Technologies, Inc. IPQ4019/AP-DK04.1";
12 serial0 = &blsp1_uart1;
13 serial1 = &blsp1_uart2;
17 stdout-path = "serial0:115200n8";
21 device_type = "memory";
22 reg = <0x80000000 0x10000000>; /* 256MB */
27 serial_0_pins: serial0-pinmux {
28 pins = "gpio16", "gpio17";
29 function = "blsp_uart0";
33 serial_1_pins: serial1-pinmux {
34 pins = "gpio8", "gpio9",
36 function = "blsp_uart1";
40 spi_0_pins: spi-0-pinmux {
42 function = "blsp_spi0";
43 pins = "gpio13", "gpio14", "gpio15";
54 i2c_0_pins: i2c-0-pinmux {
55 pins = "gpio20", "gpio21";
56 function = "blsp_i2c0";
60 nand_pins: nand-pins {
61 pins = "gpio53", "gpio55", "gpio56",
62 "gpio57", "gpio58", "gpio59",
63 "gpio60", "gpio62", "gpio63",
64 "gpio64", "gpio65", "gpio66",
65 "gpio67", "gpio68", "gpio69";
71 pinctrl-0 = <&serial_0_pins>;
72 pinctrl-names = "default";
77 pinctrl-0 = <&serial_1_pins>;
78 pinctrl-names = "default";
86 spi@78b5000 { /* BLSP1 QUP1 */
87 pinctrl-0 = <&spi_0_pins>;
88 pinctrl-names = "default";
90 cs-gpios = <&tlmm 12 0>;
96 compatible = "n25q128a11";
97 spi-max-frequency = <24000000>;
103 perst-gpio = <&tlmm 38 0x1>;
107 pinctrl-0 = <&nand_pins>;
108 pinctrl-names = "default";