1// SPDX-License-Identifier: GPL-2.0
2// Copyright (c) 2018, The Linux Foundation. All rights reserved.
3
4#include "qcom-ipq4019.dtsi"
5#include <dt-bindings/input/input.h>
6#include <dt-bindings/gpio/gpio.h>
7
8/ {
9	model = "Qualcomm Technologies, Inc. IPQ4019/AP-DK07.1";
10
11	memory {
12		device_type = "memory";
13		reg = <0x80000000 0x20000000>; /* 512MB */
14	};
15
16	aliases {
17		serial0 = &blsp1_uart1;
18		serial1 = &blsp1_uart2;
19	};
20
21	chosen {
22		stdout-path = "serial0:115200n8";
23	};
24
25	soc {
26		pinctrl@1000000 {
27			serial_0_pins: serial0-pinmux {
28				pins = "gpio16", "gpio17";
29				function = "blsp_uart0";
30				bias-disable;
31			};
32
33			i2c_0_pins: i2c-0-pinmux {
34				pins = "gpio20", "gpio21";
35				function = "blsp_i2c0";
36				bias-disable;
37			};
38
39			nand_pins: nand-pins {
40				pins = "gpio53", "gpio55", "gpio56",
41				       "gpio57", "gpio58", "gpio59",
42				       "gpio60", "gpio62", "gpio63",
43				       "gpio64", "gpio65", "gpio66",
44				       "gpio67", "gpio68", "gpio69";
45				function = "qpic";
46                        };
47		};
48
49		serial@78af000 {
50			pinctrl-0 = <&serial_0_pins>;
51			pinctrl-names = "default";
52			status = "okay";
53		};
54
55		dma-controller@7884000 {
56			status = "okay";
57		};
58
59		i2c@78b7000 { /* BLSP1 QUP2 */
60			pinctrl-0 = <&i2c_0_pins>;
61			pinctrl-names = "default";
62			status = "okay";
63		};
64
65		dma-controller@7984000 {
66			status = "okay";
67		};
68	};
69};
70
71&nand {
72	pinctrl-0 = <&nand_pins>;
73	pinctrl-names = "default";
74	status = "okay";
75};
76