From: Geert Uytterhoeven Date: Wed, 14 Jul 2021 12:55:36 +0000 (+0200) Subject: ARM: dts: rza2mevb: Add I2C EEPROM support X-Git-Tag: v6.1-rc5~2734^2~26^2~56 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b80795509eeede5c41aac5fe3ce3e48269daf498;p=platform%2Fkernel%2Flinux-starfive.git ARM: dts: rza2mevb: Add I2C EEPROM support Enable the third I2C channel, and describe the I2C EEPROM connected to it. Signed-off-by: Geert Uytterhoeven Link: https://lore.kernel.org/r/786f0354fb30b183d5bccb2f12b13e6535b9ace1.1626267234.git.geert+renesas@glider.be --- diff --git a/arch/arm/boot/dts/r7s9210-rza2mevb.dts b/arch/arm/boot/dts/r7s9210-rza2mevb.dts index 68498ce2aec0..ececb1bc995a 100644 --- a/arch/arm/boot/dts/r7s9210-rza2mevb.dts +++ b/arch/arm/boot/dts/r7s9210-rza2mevb.dts @@ -109,6 +109,20 @@ clock-frequency = <24000000>; /* 24MHz */ }; +&i2c3 { + status = "okay"; + clock-frequency = <400000>; + + pinctrl-names = "default"; + pinctrl-0 = <&i2c3_pins>; + + eeprom@50 { + compatible = "renesas,r1ex24128", "atmel,24c128"; + reg = <0x50>; + pagesize = <64>; + }; +}; + /* High resolution System tick timers */ &ostm0 { status = "okay"; @@ -147,6 +161,11 @@ ; /* IRQ5 */ }; + i2c3_pins: i2c3 { + pinmux = , /* RIIC3SCL */ + ; /* RIIC3SDA */ + }; + keyboard_pins: keyboard { pinmux = ; /* IRQ0 */ };