1// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 2/* 3 * IPQ6018 CP01 board device tree source 4 * 5 * Copyright (c) 2019, The Linux Foundation. All rights reserved. 6 */ 7 8/dts-v1/; 9 10#include "ipq6018.dtsi" 11 12/ { 13 model = "Qualcomm Technologies, Inc. IPQ6018/AP-CP01-C1"; 14 compatible = "qcom,ipq6018-cp01", "qcom,ipq6018"; 15 16 aliases { 17 serial0 = &blsp1_uart3; 18 }; 19 20 chosen { 21 stdout-path = "serial0:115200n8"; 22 }; 23}; 24 25&blsp1_uart3 { 26 pinctrl-0 = <&serial_3_pins>; 27 pinctrl-names = "default"; 28 status = "okay"; 29}; 30 31&blsp1_i2c3 { 32 pinctrl-0 = <&i2c_1_pins>; 33 pinctrl-names = "default"; 34 status = "okay"; 35}; 36 37&blsp1_spi1 { 38 pinctrl-0 = <&spi_0_pins>; 39 pinctrl-names = "default"; 40 status = "okay"; 41 42 flash@0 { 43 #address-cells = <1>; 44 #size-cells = <1>; 45 reg = <0>; 46 compatible = "micron,n25q128a11", "jedec,spi-nor"; 47 spi-max-frequency = <50000000>; 48 }; 49}; 50 51&tlmm { 52 i2c_1_pins: i2c-1-state { 53 pins = "gpio42", "gpio43"; 54 function = "blsp2_i2c"; 55 drive-strength = <8>; 56 }; 57 58 spi_0_pins: spi-0-state { 59 pins = "gpio38", "gpio39", "gpio40", "gpio41"; 60 function = "blsp0_spi"; 61 drive-strength = <8>; 62 bias-pull-down; 63 }; 64}; 65 66&qpic_bam { 67 status = "okay"; 68}; 69 70&qpic_nand { 71 status = "okay"; 72 73 nand@0 { 74 reg = <0>; 75 76 nand-ecc-strength = <4>; 77 nand-ecc-step-size = <512>; 78 nand-bus-width = <8>; 79 }; 80}; 81 82&qusb_phy_1 { 83 status = "okay"; 84}; 85 86&usb2 { 87 status = "okay"; 88}; 89