mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-11 21:05:02 -04:00
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 <geert+renesas@glider.be> Link: https://lore.kernel.org/r/786f0354fb30b183d5bccb2f12b13e6535b9ace1.1626267234.git.geert+renesas@glider.be
This commit is contained in:
@@ -109,6 +109,20 @@ &extal_clk {
|
||||
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 @@ eth1_pins: eth1 {
|
||||
<RZA2_PINMUX(PORTL, 1, 5)>; /* IRQ5 */
|
||||
};
|
||||
|
||||
i2c3_pins: i2c3 {
|
||||
pinmux = <RZA2_PINMUX(PORTD, 6, 1)>, /* RIIC3SCL */
|
||||
<RZA2_PINMUX(PORTD, 7, 1)>; /* RIIC3SDA */
|
||||
};
|
||||
|
||||
keyboard_pins: keyboard {
|
||||
pinmux = <RZA2_PINMUX(PORTJ, 1, 6)>; /* IRQ0 */
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user