]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: genmai: Add RIIC2 pin group
authorJacopo Mondi <jacopo+renesas@jmondi.org>
Thu, 22 Jun 2017 14:54:34 +0000 (16:54 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 31 Jul 2017 15:09:49 +0000 (17:09 +0200)
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>
arch/arm/boot/dts/r7s72100-genmai.dts

index 12306ff1835339e00eb1914c2c27c2b9927c8807..0766661d4206d9ea9b953f41a9f9e499f8e722ed 100644 (file)
@@ -43,6 +43,11 @@ scif2_pins: serial2 {
                /* 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 @@ &i2c2 {
        status = "okay";
        clock-frequency = <400000>;
 
+       pinctrl-names = "default";
+       pinctrl-0 = <&i2c2_pins>;
+
        eeprom@50 {
                compatible = "renesas,24c128", "atmel,24c128";
                reg = <0x50>;