]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
arm64: dts: ti: k3-am62x-sk: Enable camera peripherals
authorJai Luthra <j-luthra@ti.com>
Fri, 1 Dec 2023 05:09:20 +0000 (10:39 +0530)
committerNishanth Menon <nm@ti.com>
Tue, 5 Dec 2023 20:04:11 +0000 (14:04 -0600)
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 <martyn.welch@collabora.com>
Signed-off-by: Jai Luthra <j-luthra@ti.com>
Link: https://lore.kernel.org/r/20231201-csi_dts-v3-5-9f06f31080fe@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi

index 3b9729316739c47c8c97796b0f17dbf1f8fb6887..33768c02d8eb16c3992534b05d20106ae59e867d 100644 (file)
        };
 };
 
+&main_i2c2 {
+       status = "okay";
+       pinctrl-names = "default";
+       pinctrl-0 = <&main_i2c2_pins_default>;
+       clock-frequency = <400000>;
+};
+
 &sdhci0 {
        bootph-all;
        status = "okay";