mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2026-01-27 12:35:36 +01:00
Use the os08a20 implementation from ox05b1s driver also for verdin board.
Fixes: 0876b3b237 ("LF-12210-8: arm64: dts: imx95: os08a20: Update dts to use the compatible from ox05b1s driver")
Signed-off-by: Mirela Rabulea <mirela.rabulea@nxp.com>
Reviewed-by: Alice Yuan <alice.yuan@nxp.com>
111 lines
1.7 KiB
Plaintext
111 lines
1.7 KiB
Plaintext
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* Copyright 2024 NXP
|
|
*/
|
|
|
|
/dts-v1/;
|
|
/plugin/;
|
|
|
|
#include <dt-bindings/clock/fsl,imx95-clock.h>
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
|
|
&lpi2c3 {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
status = "okay";
|
|
|
|
/delete-node/ pca9632;
|
|
/delete-node/ i2c3_gpio_expander_20;
|
|
|
|
os08a20: os08a20_mipi@36 {
|
|
compatible = "ovti,os08a20";
|
|
reg = <0x36>;
|
|
clocks = <&scmi_clk IMX95_CLK_CCMCKO1>;
|
|
clock-names = "csi_mclk";
|
|
assigned-clocks = <&scmi_clk IMX95_CLK_CCMCKO1>;
|
|
assigned-clock-parents = <&scmi_clk IMX95_CLK_24M>;
|
|
assigned-clock-rates = <24000000>;
|
|
rst-gpios = <&i2c7_pcal6524_23 20 GPIO_ACTIVE_LOW>;
|
|
status = "okay";
|
|
|
|
port {
|
|
os08a20_mipi_0_ep: endpoint {
|
|
remote-endpoint = <&mipi_csi0_ep>;
|
|
data-lanes = <1 2 3 4>;
|
|
clock-lanes = <0>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&dphy_rx {
|
|
status = "okay";
|
|
};
|
|
|
|
&mipi_csi0 {
|
|
status = "okay";
|
|
|
|
ports {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
port@0 {
|
|
reg = <0>;
|
|
mipi_csi0_ep: endpoint {
|
|
remote-endpoint = <&os08a20_mipi_0_ep>;
|
|
data-lanes = <1 2 3 4>;
|
|
clock-lanes = <0>;
|
|
};
|
|
};
|
|
|
|
port@1 {
|
|
reg = <1>;
|
|
mipi_csi0_out: endpoint {
|
|
remote-endpoint = <&formatter_0_in>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&csi_pixel_formatter_0 {
|
|
status = "okay";
|
|
|
|
ports {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
port@0 {
|
|
reg = <0>;
|
|
|
|
formatter_0_in: endpoint {
|
|
remote-endpoint = <&mipi_csi0_out>;
|
|
};
|
|
};
|
|
|
|
port@1 {
|
|
reg = <1>;
|
|
|
|
formatter_0_out: endpoint {
|
|
remote-endpoint = <&isi_in_2>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&isi {
|
|
status = "okay";
|
|
|
|
ports {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
port@2 {
|
|
reg = <2>;
|
|
|
|
isi_in_2: endpoint {
|
|
remote-endpoint = <&formatter_0_out>;
|
|
};
|
|
};
|
|
};
|
|
};
|