1// SPDX-License-Identifier: GPL-2.0 2// Copyright (c) 2018, The Linux Foundation. All rights reserved. 3 4#include <dt-bindings/gpio/gpio.h> 5#include "qcom-ipq4019-ap.dk07.1.dtsi" 6 7/ { 8 model = "Qualcomm Technologies, Inc. IPQ4019/AP-DK07.1-C1"; 9 compatible = "qcom,ipq4019-ap-dk07.1-c1", "qcom,ipq4019"; 10 11 soc { 12 pci@40000000 { 13 status = "okay"; 14 perst-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>; 15 }; 16 17 spi@78b6000 { 18 status = "okay"; 19 }; 20 21 pinctrl@1000000 { 22 serial_1_pins: serial1-state { 23 pins = "gpio8", "gpio9", 24 "gpio10", "gpio11"; 25 function = "blsp_uart1"; 26 bias-disable; 27 }; 28 29 spi_0_pins: spi-0-state { 30 spi0-pins { 31 function = "blsp_spi0"; 32 pins = "gpio13", "gpio14", "gpio15"; 33 bias-disable; 34 }; 35 spio-cs-pins { 36 function = "gpio"; 37 pins = "gpio12"; 38 bias-disable; 39 output-high; 40 }; 41 }; 42 }; 43 44 serial@78b0000 { 45 pinctrl-0 = <&serial_1_pins>; 46 pinctrl-names = "default"; 47 status = "okay"; 48 }; 49 50 spi@78b5000 { 51 pinctrl-0 = <&spi_0_pins>; 52 pinctrl-names = "default"; 53 status = "okay"; 54 cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>; 55 56 flash@0 { 57 #address-cells = <1>; 58 #size-cells = <1>; 59 reg = <0>; 60 compatible = "micron,n25q128a11", "jedec,spi-nor"; 61 spi-max-frequency = <24000000>; 62 }; 63 }; 64 }; 65}; 66