From: Kuninori Morimoto Date: Tue, 27 Oct 2015 23:05:28 +0000 (+0900) Subject: arm64: renesas: salvator-x: enable I2C X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=637d801e0bb802dc18520ed6b7377acb2a9732ee;p=openwrt%2Fstaging%2Fblogic.git arm64: renesas: salvator-x: enable I2C Signed-off-by: Kuninori Morimoto Signed-off-by: Simon Horman Acked-by: Geert Uytterhoeven --- diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts index 35ebb063bff6..d829fdae3c56 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts +++ b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts @@ -47,6 +47,11 @@ renesas,function = "scif2"; }; + i2c2_pins: i2c2 { + renesas,groups = "i2c2_a"; + renesas,function = "i2c2"; + }; + avb_pins: avb { renesas,groups = "avb_mdc"; renesas,function = "avb"; @@ -67,6 +72,13 @@ status = "okay"; }; +&i2c2 { + pinctrl-0 = <&i2c2_pins>; + pinctrl-names = "default"; + + status = "okay"; +}; + &avb { pinctrl-0 = <&avb_pins>; pinctrl-names = "default";