Commit 79cb349f authored by Christian Hemp's avatar Christian Hemp

arm64: dts: Add lvds0/lvds1 i2c0 support

Add missing lvds0/lvds1 i2c0 support.
Delete this nodes in the fsl-imx8qm-*-domu* devicetrees, otherwise
the build will fail. These devicetrees delete the interrupt parent node
which is used by the i2c nodes.
Signed-off-by: default avatarChristian Hemp <c.hemp@phytec.de>
parent c7352e85
......@@ -2914,6 +2914,20 @@
status = "disabled";
};
i2c0_lvds0: i2c@56246000 {
compatible = "fsl,imx8qm-lpi2c";
reg = <0x0 0x56246000 0x0 0x1000>;
interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
interrupt-parent = <&irqsteer_lvds0>;
clocks = <&clk IMX8QM_LVDS0_I2C0_CLK>,
<&clk IMX8QM_LVDS0_I2C0_IPG_CLK>;
clock-names = "per", "ipg";
assigned-clocks = <&clk IMX8QM_LVDS0_I2C0_CLK>;
assigned-clock-rates = <24000000>;
power-domains = <&pd_lvds0_i2c0>;
status = "disabled";
};
i2c1_lvds0: i2c@56247000 {
compatible = "fsl,imx8qm-lpi2c";
reg = <0x0 0x56247000 0x0 0x1000>;
......@@ -2940,6 +2954,20 @@
power-domains = <&pd_lvds1>;
};
i2c0_lvds1: i2c@57246000 {
compatible = "fsl,imx8qm-lpi2c";
reg = <0x0 0x57246000 0x0 0x1000>;
interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
interrupt-parent = <&irqsteer_lvds1>;
clocks = <&clk IMX8QM_LVDS1_I2C0_CLK>,
<&clk IMX8QM_LVDS1_I2C0_IPG_CLK>;
clock-names = "per", "ipg";
assigned-clocks = <&clk IMX8QM_LVDS1_I2C0_CLK>;
assigned-clock-rates = <24000000>;
power-domains = <&pd_lvds1_i2c0>;
status = "disabled";
};
i2c1_lvds1: i2c@57247000 {
compatible = "fsl,imx8qm-lpi2c";
reg = <0x0 0x57247000 0x0 0x1000>;
......
......@@ -371,6 +371,7 @@
};
/delete-node/ &irqsteer_lvds0;
/delete-node/ &i2c0_lvds0;
/delete-node/ &i2c1_lvds0;
/delete-node/ &irqsteer_csi0;
/delete-node/ &i2c0_mipi_csi0;
......
......@@ -51,6 +51,7 @@
/* Android auto use RPMSG to handle I2C */
/delete-node/ &xen_i2c1;
/delete-node/ &i2c0_lvds1;
/delete-node/ &i2c1_lvds1;
/delete-node/ &camera;
/delete-node/ &dpu2_intsteer;
......
......@@ -499,6 +499,7 @@
/delete-node/ &flexcan1;
/delete-node/ &flexcan2;
/delete-node/ &flexcan3;
/delete-node/ &i2c0_lvds1;
/delete-node/ &i2c1_lvds1;
&irqsteer_lvds0 {
/delete-property/ interrupt-parent;
......
......@@ -713,6 +713,7 @@
};
/delete-node/ &irqsteer_lvds0;
/delete-node/ &i2c0_lvds0;
/delete-node/ &i2c1_lvds0;
/*/delete-node/ &irqsteer_csi0;*/
/*/delete-node/ &i2c0_mipi_csi0;*/
......
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