[PATCH for next 04/15] imx6qdl-phytec-pfla02.dtsi: add i2c eeprom

Stefan Christ s.christ at phytec.de
Wed Apr 27 03:04:38 PDT 2016


From: Jan Remmet <j.remmet at phytec.de>

add atmel,24c32 mounted on module

Signed-off-by: Jan Remmet <j.remmet at phytec.de>
---
 arch/arm/dts/imx6qdl-phytec-pfla02.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi b/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi
index 26f9746..aa39fd9 100644
--- a/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi
+++ b/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi
@@ -188,3 +188,15 @@
 		reg = <0xe0000 0x20000>;
 	};
 };
+
+&i2c1 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_i2c1>;
+	status = "okay";
+
+	eeprom: eeprom at 50 {
+		compatible = "atmel,24c32";
+		pagesize = <32>;
+		reg = <0x50>;
+	};
+};
-- 
1.9.1




More information about the barebox mailing list