Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f6890af3 authored by Simon Horman's avatar Simon Horman
Browse files

ARM: dts: gose: add i2c2 bus to device tree



Activate i2c2 bus in r8a7793/gose device tree.

Based on similar work for the r8a7791/koelsch by Wolfram Sang.

Acked-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Acked-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent cefe5a56
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
@@ -136,6 +136,11 @@
};

&pfc {
	i2c2_pins: i2c2 {
		renesas,groups = "i2c2";
		renesas,function = "i2c2";
	};

	scif0_pins: serial0 {
		renesas,groups = "scif0_data_d";
		renesas,function = "scif0";
@@ -234,3 +239,17 @@
		};
	};
};

&i2c2 {
	pinctrl-0 = <&i2c2_pins>;
	pinctrl-names = "default";

	status = "okay";
	clock-frequency = <100000>;

	eeprom@50 {
		compatible = "renesas,r1ex24002", "atmel,24c02";
		reg = <0x50>;
		pagesize = <16>;
	};
};