Commit 12f35f74 authored by Bartosz Golaszewski's avatar Bartosz Golaszewski Committed by Bjorn Andersson

arm64: dts: qcom: sa8775p-ride: enable i2c18

This enables the I2C interface on the sa8775p-ride development board.
Signed-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230309103752.173541-5-brgl@bgdev.pl
parent a23d1225
......@@ -13,6 +13,7 @@ / {
aliases {
serial0 = &uart10;
i2c18 = &i2c18;
};
chosen {
......@@ -20,6 +21,13 @@ chosen {
};
};
&i2c18 {
clock-frequency = <400000>;
pinctrl-0 = <&qup_i2c18_default>;
pinctrl-names = "default";
status = "okay";
};
&qupv3_id_1 {
status = "okay";
};
......@@ -37,6 +45,13 @@ qup_uart10_default: qup-uart10-state {
pins = "gpio46", "gpio47";
function = "qup1_se3";
};
qup_i2c18_default: qup-i2c18-state {
pins = "gpio95", "gpio96";
function = "qup2_se4";
drive-strength = <2>;
bias-pull-up;
};
};
&uart10 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment