1724ba675SRob Herring/* Copyright (c) 2015, The Linux Foundation. All rights reserved. 2724ba675SRob Herring * 3724ba675SRob Herring * Permission to use, copy, modify, and/or distribute this software for any 4724ba675SRob Herring * purpose with or without fee is hereby granted, provided that the above 5724ba675SRob Herring * copyright notice and this permission notice appear in all copies. 6724ba675SRob Herring * 7724ba675SRob Herring * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 8724ba675SRob Herring * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 9724ba675SRob Herring * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 10724ba675SRob Herring * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 11724ba675SRob Herring * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 12724ba675SRob Herring * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 13724ba675SRob Herring * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 14724ba675SRob Herring * 15724ba675SRob Herring */ 16724ba675SRob Herring 17724ba675SRob Herring#include <dt-bindings/gpio/gpio.h> 18724ba675SRob Herring#include "qcom-ipq4019.dtsi" 19724ba675SRob Herring 20724ba675SRob Herring/ { 21724ba675SRob Herring model = "Qualcomm Technologies, Inc. IPQ4019/AP-DK01.1"; 22724ba675SRob Herring 23724ba675SRob Herring aliases { 24724ba675SRob Herring serial0 = &blsp1_uart1; 25724ba675SRob Herring }; 26724ba675SRob Herring 27724ba675SRob Herring chosen { 28724ba675SRob Herring stdout-path = "serial0:115200n8"; 29724ba675SRob Herring }; 3054850df2SRobert Marko}; 31724ba675SRob Herring 3254850df2SRobert Marko&prng { 33724ba675SRob Herring status = "okay"; 34724ba675SRob Herring}; 35724ba675SRob Herring 3654850df2SRobert Marko&tlmm { 37*268a968eSRayyan Ansari serial_pins: serial-state { 38724ba675SRob Herring pins = "gpio60", "gpio61"; 39724ba675SRob Herring function = "blsp_uart0"; 40724ba675SRob Herring bias-disable; 41724ba675SRob Herring }; 42724ba675SRob Herring 43*268a968eSRayyan Ansari spi_0_pins: spi-0-state { 44*268a968eSRayyan Ansari spi0-pins { 45*268a968eSRayyan Ansari pins = "gpio55", "gpio56", "gpio57"; 46724ba675SRob Herring function = "blsp_spi0"; 47724ba675SRob Herring drive-strength = <12>; 48724ba675SRob Herring bias-disable; 49724ba675SRob Herring }; 50*268a968eSRayyan Ansari spi0-cs-pins { 51724ba675SRob Herring pins = "gpio54"; 52*268a968eSRayyan Ansari function = "gpio"; 53724ba675SRob Herring drive-strength = <2>; 54724ba675SRob Herring bias-disable; 55724ba675SRob Herring output-high; 56724ba675SRob Herring }; 57724ba675SRob Herring }; 58724ba675SRob Herring}; 59724ba675SRob Herring 6054850df2SRobert Marko&blsp_dma { 61724ba675SRob Herring status = "okay"; 62724ba675SRob Herring}; 63724ba675SRob Herring 6454850df2SRobert Marko&blsp1_spi1 { 65724ba675SRob Herring pinctrl-0 = <&spi_0_pins>; 66724ba675SRob Herring pinctrl-names = "default"; 67724ba675SRob Herring status = "okay"; 68724ba675SRob Herring cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>; 69724ba675SRob Herring 70111bc371SRobert Marko flash@0 { 71724ba675SRob Herring reg = <0>; 72111bc371SRobert Marko compatible = "jedec,spi-nor"; 73724ba675SRob Herring spi-max-frequency = <24000000>; 74724ba675SRob Herring }; 75724ba675SRob Herring}; 76724ba675SRob Herring 7754850df2SRobert Marko&blsp1_uart1 { 78724ba675SRob Herring pinctrl-0 = <&serial_pins>; 79724ba675SRob Herring pinctrl-names = "default"; 80724ba675SRob Herring status = "okay"; 81724ba675SRob Herring}; 82724ba675SRob Herring 8354850df2SRobert Marko&cryptobam { 84724ba675SRob Herring status = "okay"; 85724ba675SRob Herring}; 86724ba675SRob Herring 8754850df2SRobert Marko&crypto { 88724ba675SRob Herring status = "okay"; 89724ba675SRob Herring}; 90724ba675SRob Herring 9154850df2SRobert Marko&watchdog { 92724ba675SRob Herring status = "okay"; 93724ba675SRob Herring}; 94724ba675SRob Herring 9554850df2SRobert Marko&wifi0 { 96724ba675SRob Herring status = "okay"; 97724ba675SRob Herring}; 98724ba675SRob Herring 9954850df2SRobert Marko&wifi1 { 100724ba675SRob Herring status = "okay"; 101724ba675SRob Herring}; 102