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 }; 30*54850df2SRobert Marko}; 31724ba675SRob Herring 32*54850df2SRobert Marko&prng { 33724ba675SRob Herring status = "okay"; 34724ba675SRob Herring}; 35724ba675SRob Herring 36*54850df2SRobert Marko&tlmm { 37724ba675SRob Herring serial_pins: serial_pinmux { 38724ba675SRob Herring mux { 39724ba675SRob Herring pins = "gpio60", "gpio61"; 40724ba675SRob Herring function = "blsp_uart0"; 41724ba675SRob Herring bias-disable; 42724ba675SRob Herring }; 43724ba675SRob Herring }; 44724ba675SRob Herring 45724ba675SRob Herring spi_0_pins: spi_0_pinmux { 46724ba675SRob Herring pinmux { 47724ba675SRob Herring function = "blsp_spi0"; 48724ba675SRob Herring pins = "gpio55", "gpio56", "gpio57"; 49724ba675SRob Herring }; 50724ba675SRob Herring pinmux_cs { 51724ba675SRob Herring function = "gpio"; 52724ba675SRob Herring pins = "gpio54"; 53724ba675SRob Herring }; 54724ba675SRob Herring pinconf { 55724ba675SRob Herring pins = "gpio55", "gpio56", "gpio57"; 56724ba675SRob Herring drive-strength = <12>; 57724ba675SRob Herring bias-disable; 58724ba675SRob Herring }; 59724ba675SRob Herring pinconf_cs { 60724ba675SRob Herring pins = "gpio54"; 61724ba675SRob Herring drive-strength = <2>; 62724ba675SRob Herring bias-disable; 63724ba675SRob Herring output-high; 64724ba675SRob Herring }; 65724ba675SRob Herring }; 66724ba675SRob Herring}; 67724ba675SRob Herring 68*54850df2SRobert Marko&blsp_dma { 69724ba675SRob Herring status = "okay"; 70724ba675SRob Herring}; 71724ba675SRob Herring 72*54850df2SRobert Marko&blsp1_spi1 { 73724ba675SRob Herring pinctrl-0 = <&spi_0_pins>; 74724ba675SRob Herring pinctrl-names = "default"; 75724ba675SRob Herring status = "okay"; 76724ba675SRob Herring cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>; 77724ba675SRob Herring 78724ba675SRob Herring mx25l25635e@0 { 79724ba675SRob Herring #address-cells = <1>; 80724ba675SRob Herring #size-cells = <1>; 81724ba675SRob Herring reg = <0>; 82724ba675SRob Herring compatible = "mx25l25635e"; 83724ba675SRob Herring spi-max-frequency = <24000000>; 84724ba675SRob Herring }; 85724ba675SRob Herring}; 86724ba675SRob Herring 87*54850df2SRobert Marko&blsp1_uart1 { 88724ba675SRob Herring pinctrl-0 = <&serial_pins>; 89724ba675SRob Herring pinctrl-names = "default"; 90724ba675SRob Herring status = "okay"; 91724ba675SRob Herring}; 92724ba675SRob Herring 93*54850df2SRobert Marko&cryptobam { 94724ba675SRob Herring status = "okay"; 95724ba675SRob Herring}; 96724ba675SRob Herring 97*54850df2SRobert Marko&crypto { 98724ba675SRob Herring status = "okay"; 99724ba675SRob Herring}; 100724ba675SRob Herring 101*54850df2SRobert Marko&watchdog { 102724ba675SRob Herring status = "okay"; 103724ba675SRob Herring}; 104724ba675SRob Herring 105*54850df2SRobert Marko&wifi0 { 106724ba675SRob Herring status = "okay"; 107724ba675SRob Herring}; 108724ba675SRob Herring 109*54850df2SRobert Marko&wifi1 { 110724ba675SRob Herring status = "okay"; 111724ba675SRob Herring}; 112