1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2724ba675SRob Herring// Copyright (c) 2018, The Linux Foundation. All rights reserved. 3724ba675SRob Herring 4724ba675SRob Herring#include "qcom-ipq4019.dtsi" 5724ba675SRob Herring#include <dt-bindings/input/input.h> 6724ba675SRob Herring#include <dt-bindings/gpio/gpio.h> 7724ba675SRob Herring 8724ba675SRob Herring/ { 9724ba675SRob Herring model = "Qualcomm Technologies, Inc. IPQ4019/AP-DK07.1"; 10724ba675SRob Herring 11724ba675SRob Herring memory { 12724ba675SRob Herring device_type = "memory"; 13724ba675SRob Herring reg = <0x80000000 0x20000000>; /* 512MB */ 14724ba675SRob Herring }; 15724ba675SRob Herring 16724ba675SRob Herring aliases { 17724ba675SRob Herring serial0 = &blsp1_uart1; 18724ba675SRob Herring serial1 = &blsp1_uart2; 19724ba675SRob Herring }; 20724ba675SRob Herring 21724ba675SRob Herring chosen { 22724ba675SRob Herring stdout-path = "serial0:115200n8"; 23724ba675SRob Herring }; 24724ba675SRob Herring 25724ba675SRob Herring soc { 26724ba675SRob Herring pinctrl@1000000 { 27*268a968eSRayyan Ansari serial_0_pins: serial0-state { 28724ba675SRob Herring pins = "gpio16", "gpio17"; 29724ba675SRob Herring function = "blsp_uart0"; 30724ba675SRob Herring bias-disable; 31724ba675SRob Herring }; 32724ba675SRob Herring 33*268a968eSRayyan Ansari i2c_0_pins: i2c-0-state { 34724ba675SRob Herring pins = "gpio20", "gpio21"; 35724ba675SRob Herring function = "blsp_i2c0"; 36724ba675SRob Herring bias-disable; 37724ba675SRob Herring }; 38724ba675SRob Herring 39*268a968eSRayyan Ansari nand_pins: nand-state { 40724ba675SRob Herring pins = "gpio53", "gpio55", "gpio56", 41724ba675SRob Herring "gpio57", "gpio58", "gpio59", 42724ba675SRob Herring "gpio60", "gpio62", "gpio63", 43724ba675SRob Herring "gpio64", "gpio65", "gpio66", 44724ba675SRob Herring "gpio67", "gpio68", "gpio69"; 45724ba675SRob Herring function = "qpic"; 46724ba675SRob Herring }; 47724ba675SRob Herring }; 48724ba675SRob Herring 49724ba675SRob Herring serial@78af000 { 50724ba675SRob Herring pinctrl-0 = <&serial_0_pins>; 51724ba675SRob Herring pinctrl-names = "default"; 52724ba675SRob Herring status = "okay"; 53724ba675SRob Herring }; 54724ba675SRob Herring 55724ba675SRob Herring dma-controller@7884000 { 56724ba675SRob Herring status = "okay"; 57724ba675SRob Herring }; 58724ba675SRob Herring 59724ba675SRob Herring i2c@78b7000 { /* BLSP1 QUP2 */ 60724ba675SRob Herring pinctrl-0 = <&i2c_0_pins>; 61724ba675SRob Herring pinctrl-names = "default"; 62724ba675SRob Herring status = "okay"; 63724ba675SRob Herring }; 64724ba675SRob Herring 65724ba675SRob Herring dma-controller@7984000 { 66724ba675SRob Herring status = "okay"; 67724ba675SRob Herring }; 68724ba675SRob Herring }; 69724ba675SRob Herring}; 70724ba675SRob Herring 71724ba675SRob Herring&nand { 72724ba675SRob Herring pinctrl-0 = <&nand_pins>; 73724ba675SRob Herring pinctrl-names = "default"; 74724ba675SRob Herring status = "okay"; 75724ba675SRob Herring}; 76