ARM: dts: imx7s-warp: Add MPL3115 sensor support
[cascardo/linux.git] / arch / arm / boot / dts / imx7s-warp.dts
index e318c98..ae23781 100644 (file)
        };
 };
 
+&i2c4 {
+       clock-frequency = <100000>;
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_i2c4>;
+       status = "okay";
+
+       mpl3115@60 {
+               compatible = "fsl,mpl3115";
+               reg = <0x60>;
+       };
+};
+
 &uart1 {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_uart1>;
                >;
        };
 
+       pinctrl_i2c4: i2c4grp {
+               fsl,pins = <
+                       MX7D_PAD_I2C4_SCL__I2C4_SCL     0x4000007f
+                       MX7D_PAD_I2C4_SDA__I2C4_SDA     0x4000007f
+               >;
+       };
+
        pinctrl_uart1: uart1grp {
                fsl,pins = <
                        MX7D_PAD_UART1_TX_DATA__UART1_DCE_TX    0x79