[PATCH] ARM: Phytec pfla02: Add I2C EEPROM to devicetree
Sascha Hauer
s.hauer at pengutronix.de
Fri Nov 8 09:26:17 EST 2013
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
arch/arm/dts/imx6q-phytec-pfla02.dtsi | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm/dts/imx6q-phytec-pfla02.dtsi b/arch/arm/dts/imx6q-phytec-pfla02.dtsi
index 9410065..d113f7f 100644
--- a/arch/arm/dts/imx6q-phytec-pfla02.dtsi
+++ b/arch/arm/dts/imx6q-phytec-pfla02.dtsi
@@ -34,6 +34,17 @@
};
};
+&i2c1 {
+ status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_i2c1_1>;
+
+ eeprom: m24c32 at 50 {
+ compatible = "st,24c32", "at24";
+ reg = <0x50>;
+ };
+};
+
&iomuxc {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hog>;
--
1.8.4.rc3
More information about the barebox
mailing list