mirror of https://github.com/Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
80 lines
1.2 KiB
80 lines
1.2 KiB
// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) |
|
/* |
|
* IPQ6018 CP01 board device tree source |
|
* |
|
* Copyright (c) 2019, The Linux Foundation. All rights reserved. |
|
*/ |
|
|
|
/dts-v1/; |
|
|
|
#include "ipq6018.dtsi" |
|
|
|
/ { |
|
model = "Qualcomm Technologies, Inc. IPQ6018/AP-CP01-C1"; |
|
compatible = "qcom,ipq6018-cp01", "qcom,ipq6018"; |
|
|
|
aliases { |
|
serial0 = &blsp1_uart3; |
|
}; |
|
|
|
chosen { |
|
stdout-path = "serial0:115200n8"; |
|
bootargs-append = " swiotlb=1"; |
|
}; |
|
}; |
|
|
|
&blsp1_uart3 { |
|
pinctrl-0 = <&serial_3_pins>; |
|
pinctrl-names = "default"; |
|
status = "okay"; |
|
}; |
|
|
|
&i2c_1 { |
|
pinctrl-0 = <&i2c_1_pins>; |
|
pinctrl-names = "default"; |
|
status = "okay"; |
|
}; |
|
|
|
&spi_0 { |
|
cs-select = <0>; |
|
status = "okay"; |
|
|
|
m25p80@0 { |
|
#address-cells = <1>; |
|
#size-cells = <1>; |
|
reg = <0>; |
|
compatible = "n25q128a11"; |
|
spi-max-frequency = <50000000>; |
|
}; |
|
}; |
|
|
|
&tlmm { |
|
i2c_1_pins: i2c-1-pins { |
|
pins = "gpio42", "gpio43"; |
|
function = "blsp2_i2c"; |
|
drive-strength = <8>; |
|
}; |
|
|
|
spi_0_pins: spi-0-pins { |
|
pins = "gpio38", "gpio39", "gpio40", "gpio41"; |
|
function = "blsp0_spi"; |
|
drive-strength = <8>; |
|
bias-pull-down; |
|
}; |
|
}; |
|
|
|
&qpic_bam { |
|
status = "okay"; |
|
}; |
|
|
|
&qpic_nand { |
|
status = "okay"; |
|
|
|
nand@0 { |
|
reg = <0>; |
|
|
|
nand-ecc-strength = <4>; |
|
nand-ecc-step-size = <512>; |
|
nand-bus-width = <8>; |
|
}; |
|
};
|
|
|