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