Skip to content

Commit

Permalink
arm64: dts: qcom: sa8775p-ride: enable i2c11
Browse files Browse the repository at this point in the history
This enables the i2c11 node on sa8775p-ride board for A2B controller
and audio port expander.

Signed-off-by: Shazad Hussain <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
  • Loading branch information
Shazad Hussain authored and andersson committed May 27, 2023
1 parent 445a523 commit a1f6bef
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions arch/arm64/boot/dts/qcom/sa8775p-ride.dts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
serial0 = &uart10;
serial1 = &uart12;
serial2 = &uart17;
i2c11 = &i2c11;
i2c18 = &i2c18;
spi16 = &spi16;
ufshc1 = &ufs_mem_hc;
Expand Down Expand Up @@ -260,6 +261,13 @@
};
};

&i2c11 {
clock-frequency = <400000>;
pinctrl-0 = <&qup_i2c11_default>;
pinctrl-names = "default";
status = "okay";
};

&i2c18 {
clock-frequency = <400000>;
pinctrl-0 = <&qup_i2c18_default>;
Expand Down Expand Up @@ -370,6 +378,13 @@
bias-disable;
};

qup_i2c11_default: qup-i2c11-state {
pins = "gpio48", "gpio49";
function = "qup1_se4";
drive-strength = <2>;
bias-pull-up;
};

qup_i2c18_default: qup-i2c18-state {
pins = "gpio95", "gpio96";
function = "qup2_se4";
Expand Down

0 comments on commit a1f6bef

Please sign in to comment.