aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJai Luthra <[email protected]>2023-12-01 10:39:20 +0530
committerNishanth Menon <[email protected]>2023-12-05 14:04:11 -0600
commitfed1e53ecf9f0ecf04bd931428287fd1002899ef (patch)
treeda896a337193941cdd78f5e39988d4ca121a3d55
parentdefa1438c5b34af13fb56c7faefaeec648805530 (diff)
arm64: dts: ti: k3-am62x-sk: Enable camera peripherals
CSI cameras are controlled using I2C, on SK-AM62 and derivative boards this is routed to I2C-2, so enable that bus. Specific sensor connected to this bus will be described in the DT overlay for each sensor. Tested-by: Martyn Welch <[email protected]> Signed-off-by: Jai Luthra <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Nishanth Menon <[email protected]>
-rw-r--r--arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi b/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi
index 3b9729316739..33768c02d8eb 100644
--- a/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi
@@ -399,6 +399,13 @@
};
};
+&main_i2c2 {
+ status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&main_i2c2_pins_default>;
+ clock-frequency = <400000>;
+};
+
&sdhci0 {
bootph-all;
status = "okay";