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 bootargs-append = " swiotlb=1"; 23 }; 24}; 25 26&blsp1_uart3 { 27 pinctrl-0 = <&serial_3_pins>; 28 pinctrl-names = "default"; 29 status = "okay"; 30}; 31 32&blsp1_i2c3 { 33 pinctrl-0 = <&i2c_1_pins>; 34 pinctrl-names = "default"; 35 status = "okay"; 36}; 37 38&blsp1_spi1 { 39 cs-select = <0>; 40 pinctrl-0 = <&spi_0_pins>; 41 pinctrl-names = "default"; 42 status = "okay"; 43 44 flash@0 { 45 #address-cells = <1>; 46 #size-cells = <1>; 47 reg = <0>; 48 compatible = "micron,n25q128a11", "jedec,spi-nor"; 49 spi-max-frequency = <50000000>; 50 }; 51}; 52 53&tlmm { 54 i2c_1_pins: i2c-1-pins { 55 pins = "gpio42", "gpio43"; 56 function = "blsp2_i2c"; 57 drive-strength = <8>; 58 }; 59 60 spi_0_pins: spi-0-pins { 61 pins = "gpio38", "gpio39", "gpio40", "gpio41"; 62 function = "blsp0_spi"; 63 drive-strength = <8>; 64 bias-pull-down; 65 }; 66}; 67 68&qpic_bam { 69 status = "okay"; 70}; 71 72&qpic_nand { 73 status = "okay"; 74 75 nand@0 { 76 reg = <0>; 77 78 nand-ecc-strength = <4>; 79 nand-ecc-step-size = <512>; 80 nand-bus-width = <8>; 81 }; 82}; 83 84&qusb_phy_1 { 85 status = "ok"; 86}; 87 88&usb2 { 89 status = "ok"; 90}; 91