summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/r7s72100-genmai.dts
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo+renesas@jmondi.org>2017-06-22 16:54:34 +0200
committerSimon Horman <horms+renesas@verge.net.au>2017-07-31 17:09:49 +0200
commit2d164e690f040c5bb58117ab35175ae585f53c58 (patch)
tree80e57229a1bebfc3f9988dc1c7d24b3bc757b05b /arch/arm/boot/dts/r7s72100-genmai.dts
parentARM: dts: genmai: Add SCIF2 pin group (diff)
downloadlinux-2d164e690f040c5bb58117ab35175ae585f53c58.tar.xz
linux-2d164e690f040c5bb58117ab35175ae585f53c58.zip
ARM: dts: genmai: Add RIIC2 pin group
Add pin configuration subnode for RIIC2 interface. Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/boot/dts/r7s72100-genmai.dts')
-rw-r--r--arch/arm/boot/dts/r7s72100-genmai.dts8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r7s72100-genmai.dts b/arch/arm/boot/dts/r7s72100-genmai.dts
index 12306ff18353..0766661d4206 100644
--- a/arch/arm/boot/dts/r7s72100-genmai.dts
+++ b/arch/arm/boot/dts/r7s72100-genmai.dts
@@ -43,6 +43,11 @@
/* P3_0 as TxD2; P3_2 as RxD2 */
pinmux = <RZA1_PINMUX(3, 0, 6)>, <RZA1_PINMUX(3, 2, 4)>;
};
+
+ i2c2_pins: i2c2 {
+ /* RIIC2: P1_4 as SCL, P1_5 as SDA */
+ pinmux = <RZA1_PINMUX(1, 4, 1)>, <RZA1_PINMUX(1, 5, 1)>;
+ };
};
&extal_clk {
@@ -65,6 +70,9 @@
status = "okay";
clock-frequency = <400000>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2c2_pins>;
+
eeprom@50 {
compatible = "renesas,24c128", "atmel,24c128";
reg = <0x50>;