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

Commit 475c6285 authored by Chen-Yu Tsai's avatar Chen-Yu Tsai Committed by Maxime Ripard
Browse files

ARM: dts: sun9i: Enable i2c3 on A80 Optimus board



i2c3 is exposed on the GPIO extension header. Enable it so we can use it.

Also enable internal pull-ups on the pins, as they don't seem to have
external pull-up resistors.

Signed-off-by: default avatarChen-Yu Tsai <wens@csie.org>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent 6657a058
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -59,10 +59,23 @@
	};

	soc {
		pio: pinctrl@06000800 {
			i2c3_pins_a: i2c3@0 {
				/* Enable internal pull-up */
				allwinner,pull = <1>;
			};
		};

		uart0: serial@07000000 {
			pinctrl-names = "default";
			pinctrl-0 = <&uart0_pins_a>;
			status = "okay";
		};

		i2c3: i2c@07003400 {
			pinctrl-names = "default";
			pinctrl-0 = <&i2c3_pins_a>;
			status = "okay";
		};
	};
};