summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts
diff options
context:
space:
mode:
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>2021-02-10 16:34:56 +0300
committerBjorn Andersson <bjorn.andersson@linaro.org>2021-03-18 17:35:27 +0300
commitc88f9ecc0ef37bad089816dc7ebb8a69626a8892 (patch)
tree5e0484f79b778c20a1c244e322c1d3fd728e2932 /arch/arm64/boot/dts/qcom/qrb5165-rb5.dts
parentd3769729dbad61501571014e1263bb1fd97359c2 (diff)
downloadlinux-c88f9ecc0ef37bad089816dc7ebb8a69626a8892.tar.xz
arm64: dts: qcom: sm8250: further split of spi pinctrl config
Split "default" device tree nodes into common "data-clk" nodes and "cs" nodes which might differ from board to board depending on how the slave chips are wired. Reviewed-by: Douglas Anderson <dianders@chromium.org> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20210210133458.1201066-3-dmitry.baryshkov@linaro.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'arch/arm64/boot/dts/qcom/qrb5165-rb5.dts')
-rw-r--r--arch/arm64/boot/dts/qcom/qrb5165-rb5.dts9
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts
index a837e1efc64c..973a61576f67 100644
--- a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts
+++ b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts
@@ -948,6 +948,8 @@
/* CAN */
&spi0 {
status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&qup_spi0_data_clk>, <&qup_spi0_cs>;
can@0 {
compatible = "microchip,mcp2518fd";
@@ -1350,7 +1352,12 @@
};
/* PINCTRL - additions to nodes defined in sm8250.dtsi */
-&qup_spi0_default {
+&qup_spi0_cs {
+ drive-strength = <6>;
+ bias-disable;
+};
+
+&qup_spi0_data_clk {
drive-strength = <6>;
bias-disable;
};