Commit 505aa4c7 authored by Ahmad Fatoum's avatar Ahmad Fatoum Committed by Shawn Guo
Browse files

arm64: dts: imx8mp-skov: move I2C2 pin control group into DTSI



I2C2 is exposed on a pin header on the base board, so its pinmux is
always the same if it's enabled.

Therefore, move the definition to the common DTSI, so board DTs only
need to override the status to enable it.

Signed-off-by: default avatarAhmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 34662050
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -333,6 +333,11 @@ reg_nvcc_sd2: LDO5 {
	};
};

&i2c2 {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_i2c2>;
};

&i2c3 {
	clock-frequency = <400000>;
	pinctrl-names = "default";
@@ -564,6 +569,13 @@ MX8MP_IOMUXC_I2C1_SDA__I2C1_SDA 0x400001c2
		>;
	};

	pinctrl_i2c2: i2c2grp {
		fsl,pins = <
			MX8MP_IOMUXC_I2C2_SCL__I2C2_SCL				0x400001c2
			MX8MP_IOMUXC_I2C2_SDA__I2C2_SDA				0x400001c2
		>;
	};

	pinctrl_i2c3: i2c3grp {
		fsl,pins = <
			MX8MP_IOMUXC_I2C3_SCL__I2C3_SCL				0x400001c2
+0 −11
Original line number Diff line number Diff line
@@ -27,8 +27,6 @@ &backlight {

&i2c2 {
	clock-frequency = <100000>;
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_i2c2>;
	status = "okay";

	touchscreen@38 {
@@ -81,12 +79,3 @@ &reg_tft_vcom {
	voltage-table = <3160000 73>;
	status = "okay";
};

&iomuxc {
	pinctrl_i2c2: i2c2grp {
		fsl,pins = <
			MX8MP_IOMUXC_I2C2_SCL__I2C2_SCL				0x400001c2
			MX8MP_IOMUXC_I2C2_SDA__I2C2_SDA				0x400001c2
		>;
	};
};