1/* Copyright (c) 2015, The Linux Foundation. All rights reserved. 2 * 3 * Permission to use, copy, modify, and/or distribute this software for any 4 * purpose with or without fee is hereby granted, provided that the above 5 * copyright notice and this permission notice appear in all copies. 6 * 7 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 8 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 9 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 10 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 11 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 12 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 13 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 14 * 15 */ 16 17#include <dt-bindings/gpio/gpio.h> 18#include "qcom-ipq4019.dtsi" 19 20/ { 21 model = "Qualcomm Technologies, Inc. IPQ4019/AP-DK01.1"; 22 23 aliases { 24 serial0 = &blsp1_uart1; 25 }; 26 27 chosen { 28 stdout-path = "serial0:115200n8"; 29 }; 30}; 31 32&prng { 33 status = "okay"; 34}; 35 36&tlmm { 37 serial_pins: serial-state { 38 pins = "gpio60", "gpio61"; 39 function = "blsp_uart0"; 40 bias-disable; 41 }; 42 43 spi_0_pins: spi-0-state { 44 spi0-pins { 45 pins = "gpio55", "gpio56", "gpio57"; 46 function = "blsp_spi0"; 47 drive-strength = <12>; 48 bias-disable; 49 }; 50 spi0-cs-pins { 51 pins = "gpio54"; 52 function = "gpio"; 53 drive-strength = <2>; 54 bias-disable; 55 output-high; 56 }; 57 }; 58}; 59 60&blsp_dma { 61 status = "okay"; 62}; 63 64&blsp1_spi1 { 65 pinctrl-0 = <&spi_0_pins>; 66 pinctrl-names = "default"; 67 status = "okay"; 68 cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>; 69 70 flash@0 { 71 reg = <0>; 72 compatible = "jedec,spi-nor"; 73 spi-max-frequency = <24000000>; 74 }; 75}; 76 77&blsp1_uart1 { 78 pinctrl-0 = <&serial_pins>; 79 pinctrl-names = "default"; 80 status = "okay"; 81}; 82 83&cryptobam { 84 status = "okay"; 85}; 86 87&crypto { 88 status = "okay"; 89}; 90 91&watchdog { 92 status = "okay"; 93}; 94 95&wifi0 { 96 status = "okay"; 97}; 98 99&wifi1 { 100 status = "okay"; 101}; 102