Commit 6c43dcf7 authored by Li Yang's avatar Li Yang Committed by Shawn Guo
Browse files

arm64: dts: ls1012a: add gpio for i2c bus recovery



Add compatible string fsl,ls1012a-i2c and scl-gpios to support i2c bus
recovery when I2C bus lock by i2c devices.

[Leo: updated scl-gpios to match RM ]
Signed-off-by: default avatarLi Yang <leoyang.li@nxp.com>
Signed-off-by: default avatarFrank Li <Frank.Li@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 963688c7
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -351,24 +351,26 @@ tmu: tmu@1f00000 {
		};

		i2c0: i2c@2180000 {
			compatible = "fsl,vf610-i2c";
			compatible = "fsl,ls1012a-i2c", "fsl,vf610-i2c";
			#address-cells = <1>;
			#size-cells = <0>;
			reg = <0x0 0x2180000 0x0 0x10000>;
			interrupts = <0 56 IRQ_TYPE_LEVEL_HIGH>;
			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
					    QORIQ_CLK_PLL_DIV(4)>;
			scl-gpios = <&gpio0 2 0>;
			status = "disabled";
		};

		i2c1: i2c@2190000 {
			compatible = "fsl,vf610-i2c";
			compatible = "fsl,ls1012a-i2c", "fsl,vf610-i2c";
			#address-cells = <1>;
			#size-cells = <0>;
			reg = <0x0 0x2190000 0x0 0x10000>;
			interrupts = <0 57 IRQ_TYPE_LEVEL_HIGH>;
			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
					    QORIQ_CLK_PLL_DIV(4)>;
			scl-gpios = <&gpio0 13 0>;
			status = "disabled";
		};