0001 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
0002 /*
0003 * IPQ6018 CP01 board device tree source
0004 *
0005 * Copyright (c) 2019, The Linux Foundation. All rights reserved.
0006 */
0007
0008 /dts-v1/;
0009
0010 #include "ipq6018.dtsi"
0011
0012 / {
0013 model = "Qualcomm Technologies, Inc. IPQ6018/AP-CP01-C1";
0014 compatible = "qcom,ipq6018-cp01", "qcom,ipq6018";
0015
0016 aliases {
0017 serial0 = &blsp1_uart3;
0018 };
0019
0020 chosen {
0021 stdout-path = "serial0:115200n8";
0022 bootargs-append = " swiotlb=1";
0023 };
0024 };
0025
0026 &blsp1_uart3 {
0027 pinctrl-0 = <&serial_3_pins>;
0028 pinctrl-names = "default";
0029 status = "okay";
0030 };
0031
0032 &blsp1_i2c3 {
0033 pinctrl-0 = <&i2c_1_pins>;
0034 pinctrl-names = "default";
0035 status = "okay";
0036 };
0037
0038 &blsp1_spi1 {
0039 cs-select = <0>;
0040 status = "okay";
0041
0042 flash@0 {
0043 #address-cells = <1>;
0044 #size-cells = <1>;
0045 reg = <0>;
0046 compatible = "micron,n25q128a11", "jedec,spi-nor";
0047 spi-max-frequency = <50000000>;
0048 };
0049 };
0050
0051 &tlmm {
0052 i2c_1_pins: i2c-1-pins {
0053 pins = "gpio42", "gpio43";
0054 function = "blsp2_i2c";
0055 drive-strength = <8>;
0056 };
0057
0058 spi_0_pins: spi-0-pins {
0059 pins = "gpio38", "gpio39", "gpio40", "gpio41";
0060 function = "blsp0_spi";
0061 drive-strength = <8>;
0062 bias-pull-down;
0063 };
0064 };
0065
0066 &qpic_bam {
0067 status = "okay";
0068 };
0069
0070 &qpic_nand {
0071 status = "okay";
0072
0073 nand@0 {
0074 reg = <0>;
0075
0076 nand-ecc-strength = <4>;
0077 nand-ecc-step-size = <512>;
0078 nand-bus-width = <8>;
0079 };
0080 };
0081
0082 &qusb_phy_1 {
0083 status = "ok";
0084 };
0085
0086 &usb2 {
0087 status = "ok";
0088 };