diff mbox series

[3/3] sunxi: add I2C nodes present on Orange Pi >ero

Message ID 20180124100153.25044-3-nunojpg@gmail.com
State New
Headers show
Series [1/3] sunxi: remove allwinner prefix in pinctrl nodes | expand

Commit Message

Nuno Gonçalves Jan. 24, 2018, 10:01 a.m. UTC
Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
---
 arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts b/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts
index 20d489cb2a..f028d175f3 100644
--- a/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts
+++ b/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts
@@ -138,6 +138,18 @@ 
 	};
 };
 
+&i2c0 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&i2c0_pins_a>;
+	status = "okay";
+};
+
+&i2c1 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&i2c1_pins_a>;
+	status = "okay";
+};
+
 &ohci1 {
 	status = "okay";
 };