From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Horman Date: Fri, 20 Nov 2015 01:05:35 +0000 Subject: [PATCH 28/29] ARM: shmobile: alt: add I2C1 DT support Message-Id: <7f81bf72c67fbd225adfc0d5f6df0f674d08d757.1447981420.git.horms+renesas@verge.net.au> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-arm-kernel@lists.infradead.org From: Ulrich Hecht Defines the board-dependent part of the I2C1 device. Signed-off-by: Ulrich Hecht Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a7794-alt.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/r8a7794-alt.dts b/arch/arm/boot/dts/r8a7794-alt.dts index e7c94554d847..88ed017495e9 100644 --- a/arch/arm/boot/dts/r8a7794-alt.dts +++ b/arch/arm/boot/dts/r8a7794-alt.dts @@ -115,6 +115,11 @@ renesas,groups = "eth_link_b", "eth_mdio_b", "eth_rmii_b"; renesas,function = "eth"; }; + + i2c1_pins: i2c1 { + renesas,groups = "i2c1"; + renesas,function = "i2c1"; + }; }; &cmt0 { @@ -134,6 +139,14 @@ }; }; +&i2c1 { + pinctrl-0 = <&i2c1_pins>; + pinctrl-names = "default"; + + status = "okay"; + clock-frequency = <400000>; +}; + &scif2 { status = "okay"; }; -- 2.1.4 From mboxrd@z Thu Jan 1 00:00:00 1970 From: horms+renesas@verge.net.au (Simon Horman) Date: Thu, 19 Nov 2015 17:05:35 -0800 Subject: [PATCH 28/29] ARM: shmobile: alt: add I2C1 DT support In-Reply-To: References: Message-ID: <7f81bf72c67fbd225adfc0d5f6df0f674d08d757.1447981420.git.horms+renesas@verge.net.au> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org From: Ulrich Hecht Defines the board-dependent part of the I2C1 device. Signed-off-by: Ulrich Hecht Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a7794-alt.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/r8a7794-alt.dts b/arch/arm/boot/dts/r8a7794-alt.dts index e7c94554d847..88ed017495e9 100644 --- a/arch/arm/boot/dts/r8a7794-alt.dts +++ b/arch/arm/boot/dts/r8a7794-alt.dts @@ -115,6 +115,11 @@ renesas,groups = "eth_link_b", "eth_mdio_b", "eth_rmii_b"; renesas,function = "eth"; }; + + i2c1_pins: i2c1 { + renesas,groups = "i2c1"; + renesas,function = "i2c1"; + }; }; &cmt0 { @@ -134,6 +139,14 @@ }; }; +&i2c1 { + pinctrl-0 = <&i2c1_pins>; + pinctrl-names = "default"; + + status = "okay"; + clock-frequency = <400000>; +}; + &scif2 { status = "okay"; }; -- 2.1.4