aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhasim Syed Mohammed <khasim.mohammed@linaro.org>2019-02-27 11:41:08 +0530
committerKhasim Syed Mohammed <khasim.mohammed@linaro.org>2019-02-27 11:41:08 +0530
commit5ada309f00444dc1c90f6580375f1272a14402aa (patch)
treefc75d6c8093b7c12a1924ede5854d48cc1645213
parent72fd76e18b9b227942c99be5b26a7632fec0ec02 (diff)
INTERNAL: Add missing SPI4 node
Add the missing node for SPI 4 Signed-off-by: Khasim Syed Mohammed <khasim.mohammed@linaro.org> Change-Id: Id59abd31a87b9cb8ee94ed3bfa76409c02bb1b15
-rw-r--r--arch/arm64/boot/dts/qcom/qcs404-mistral.dts25
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/qcs404-mistral.dts b/arch/arm64/boot/dts/qcom/qcs404-mistral.dts
index b823e29a067e..a926f2554370 100644
--- a/arch/arm64/boot/dts/qcom/qcs404-mistral.dts
+++ b/arch/arm64/boot/dts/qcom/qcs404-mistral.dts
@@ -118,6 +118,20 @@
};
};
+&blsp1_spi4 {
+ status = "okay";
+ spi-max-frequency = <800000>; /* TODO: Drop this */
+ cr50@0 {
+ compatible = "google,cr50";
+ reg = <0>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&h1_ap_int_odl>;
+ spi-max-frequency = <800000>;
+ interrupt-parent = <&tlmm>;
+ interrupts = <53 IRQ_TYPE_EDGE_RISING>;
+ };
+};
+
&ethernet {
status = "ok";
@@ -512,6 +526,17 @@
output-high;
};
+ h1_ap_int_odl: h1-ap-int-odl {
+ pinmux {
+ pins = "gpio53";
+ function = "gpio";
+ input-enable;
+ };
+ pinconf {
+ pins = "gpio53";
+ bias-pull-up;
+ };
+ };
spi_flash_wp: spi-flash-wp {
pins = "gpio54";