summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/freescale/imx8mp-evk-os08a20.dts
diff options
context:
space:
mode:
authorAlice Yuan <alice.yuan@nxp.com>2022-05-14 11:51:10 +0800
committerJason Liu <jason.hui.liu@nxp.com>2022-05-25 15:24:46 +0800
commit85c70559ba373bbb32e13e30045dd385a540ec98 (patch)
tree59e7cf76c5a4d0b5e3bc0ccf67049e25753a058b /arch/arm64/boot/dts/freescale/imx8mp-evk-os08a20.dts
parentb0f107b3c6c6feca9ebd9a68a30656389d70b91f (diff)
LF-6054: arm64: dts: imx8mp evk: remove unused device nodes on i2c3 node
In the imx8mp-evk-os08a20.dts, just single os08a20 sensor is used. The i2c2 node is used but the other i2c3 sensor's node should be removed. If i2c3 sensor's node is not removed, this will lead a inaccurate variable. When do grep os08a20 /sys/firmware/devicetree/base/soc@0//i2c@/*/compatible", the return value is not correct. Signed-off-by: Alice Yuan <alice.yuan@nxp.com> Reviewed-by: Robby Cai <robby.cai@nxp.com> Acked-by: Jason Liu <jason.hui.liu@nxp.com>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/imx8mp-evk-os08a20.dts')
-rw-r--r--arch/arm64/boot/dts/freescale/imx8mp-evk-os08a20.dts28
1 files changed, 2 insertions, 26 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk-os08a20.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk-os08a20.dts
index d95624223332..dc29c144370f 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-evk-os08a20.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mp-evk-os08a20.dts
@@ -50,32 +50,8 @@
};
&i2c3 {
- clock-frequency = <100000>;
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_i2c3>;
- status = "okay";
-
- ov5640_1: ov5640_mipi@3c {
- status = "disabled";
- };
+ /delete-node/ov5640_mipi@3c;
- os08a20_1: os08a20_mipi@36 {
- compatible = "ovti,os08a20";
- reg = <0x36>;
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_csi0_pwn>, <&pinctrl_csi0_rst>, <&pinctrl_csi_mclk>;
- clocks = <&clk IMX8MP_CLK_IPP_DO_CLKO2>;
- clock-names = "csi_mclk";
- assigned-clocks = <&clk IMX8MP_CLK_IPP_DO_CLKO2>;
- assigned-clock-parents = <&clk IMX8MP_CLK_24M>;
- assigned-clock-rates = <24000000>;
- csi_id = <1>;
- pwn-gpios = <&gpio2 11 GPIO_ACTIVE_HIGH>;
- rst-gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
- mclk = <24000000>;
- mclk_source = <0>;
- status = "disabled";
- };
};
&cameradev {
@@ -111,5 +87,5 @@
};
&mipi_csi_1 {
- status = "disabled";
+ /delete-node/port@1;
};