[PATCH 2/2] arm64: dts: imx8qxp-mek: Add sensors under i2c1 bus

Shawn Guo shawnguo2 at yeah.net
Sun Nov 16 01:49:41 PST 2025


On Wed, Oct 29, 2025 at 03:27:19PM -0400, Frank Li wrote:
> Add sensors under i2c1 bus.
> 
> Signed-off-by: Frank Li <Frank.Li at nxp.com>
> ---
>  arch/arm64/boot/dts/freescale/imx8qxp-mek.dts | 32 +++++++++++++++++++++++++++
>  1 file changed, 32 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts
> index 7b033744554105de6dbc4366f21e3c90f1768deb..9a96018e6f0680ac503135726f4899aca121e7f6 100644
> --- a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts
> +++ b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts
> @@ -450,10 +450,36 @@ i2c at 2 {
>  			#size-cells = <0>;
>  			reg = <2>;
>  
> +			accelerometer at 1e {
> +				compatible = "nxp,fxos8700";
> +				reg = <0x1e>;
> +			};
> +
> +			gyroscope at 21 {
> +				compatible = "nxp,fxas21002c";
> +				reg = <0x21>;
> +			};
> +
>  			pressure-sensor at 60 {
>  				compatible = "fsl,mpl3115";
>  				reg = <0x60>;
>  			};
> +
> +			/* Ref SCH-54536 */
> +			pressure-sensor at 77 {
> +				compatible = "meas,ms5611";
> +				reg = <0x77>;
> +			};
> +
> +			inertial-meter at 68 {

Keep devices sorted in slave address.

Shawn

> +				compatible = "invensense,icm20602";
> +				reg = <0x68>;
> +			};
> +
> +			inertial-meter at 69 {
> +				compatible = "invensense,iam20380";
> +				reg = <0x69>;
> +			};
>  		};
>  
>  		i2c at 3 {
> @@ -483,6 +509,12 @@ light-sensor at 44 {
>  				interrupt-parent = <&lsio_gpio1>;
>  				interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
>  			};
> +
> +			/* Ref SCH-54536 */
> +			light-sensort at 60 {
> +				compatible = "vishay,vcnl4035";
> +				reg = <0x60>;
> +			};
>  		};
>  	};
>  
> 
> -- 
> 2.34.1
> 




More information about the linux-arm-kernel mailing list