[U-Boot] [PATCH 3/3] sunxi: add I2C nodes present on Orange Pi >ero

Nuno Goncalves nunojpg at gmail.com
Wed Jan 24 10:01:53 UTC 2018


Signed-off-by: Nuno Goncalves <nunojpg at gmail.com>
---
 arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)

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";
 };
-- 
2.11.0



More information about the U-Boot mailing list