Commit cb9a2b12 authored by Wolfram Sang's avatar Wolfram Sang Committed by Simon Horman
Browse files

ARM: shmobile: r8a7790: lager: use iic cores instead of i2c



On Lager board, i2c and iic cores can be interchanged since they can be
muxed to the same wires. Commit e489c2a9
("ARM: shmobile: lager: enable i2c devices") activated the i2c cores,
yet the iic cores should be default since they have the more interesting
features for generic use cases, i.e. SMBUS_QUICK and DMA (yet to be
supported).

Reported-by: default avatarKhiem Nguyen <khiem.nguyen.xt@renesas.com>
Signed-off-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent 5179ffd0
Loading
Loading
Loading
Loading
+11 −11
Original line number Diff line number Diff line
@@ -205,14 +205,14 @@
		renesas,function = "msiof1";
	};

	i2c1_pins: i2c1 {
		renesas,groups = "i2c1";
		renesas,function = "i2c1";
	iic1_pins: iic1 {
		renesas,groups = "iic1";
		renesas,function = "iic1";
	};

	i2c2_pins: i2c2 {
		renesas,groups = "i2c2";
		renesas,function = "i2c2";
	iic2_pins: iic2 {
		renesas,groups = "iic2";
		renesas,function = "iic2";
	};

	iic3_pins: iic3 {
@@ -352,19 +352,19 @@
	cpu0-supply = <&vdd_dvfs>;
};

&i2c0	{
&iic0	{
	status = "ok";
};

&i2c1	{
&iic1	{
	status = "ok";
	pinctrl-0 = <&i2c1_pins>;
	pinctrl-0 = <&iic1_pins>;
	pinctrl-names = "default";
};

&i2c2	{
&iic2	{
	status = "ok";
	pinctrl-0 = <&i2c2_pins>;
	pinctrl-0 = <&iic2_pins>;
	pinctrl-names = "default";
};