Commit 2d164e69 authored by Jacopo Mondi's avatar Jacopo Mondi Committed by Simon Horman

ARM: dts: genmai: Add RIIC2 pin group

Add pin configuration subnode for RIIC2 interface.
Signed-off-by: default avatarJacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent 177f8744
...@@ -43,6 +43,11 @@ scif2_pins: serial2 { ...@@ -43,6 +43,11 @@ scif2_pins: serial2 {
/* P3_0 as TxD2; P3_2 as RxD2 */ /* P3_0 as TxD2; P3_2 as RxD2 */
pinmux = <RZA1_PINMUX(3, 0, 6)>, <RZA1_PINMUX(3, 2, 4)>; 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 { &extal_clk {
...@@ -65,6 +70,9 @@ &i2c2 { ...@@ -65,6 +70,9 @@ &i2c2 {
status = "okay"; status = "okay";
clock-frequency = <400000>; clock-frequency = <400000>;
pinctrl-names = "default";
pinctrl-0 = <&i2c2_pins>;
eeprom@50 { eeprom@50 {
compatible = "renesas,24c128", "atmel,24c128"; compatible = "renesas,24c128", "atmel,24c128";
reg = <0x50>; reg = <0x50>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment