[PATCH 7/7] ARM64: zynqmp: Add eeprom memories on i2c bus

Michal Simek michal.simek at xilinx.com
Mon Jul 27 02:48:15 PDT 2015


Add i2c eeprom memories on i2c bus.

Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---

 arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts b/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts
index 206e18eca2fb..47debdcbefbf 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts
+++ b/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts
@@ -36,6 +36,24 @@
 	status = "okay";
 };
 
+&i2c0 {
+	status = "okay";
+	clock-frequency = <100000>;
+	eeprom at 54 {
+		compatible = "at,24c64";
+		reg = <0x54>;
+	};
+};
+
+&i2c1 {
+	status = "okay";
+	clock-frequency = <100000>;
+	eeprom at 55 {
+		compatible = "at,24c64";
+		reg = <0x55>;
+	};
+};
+
 &gem0 {
 	status = "okay";
 	phy-handle = <&phy0>;
-- 
2.3.5




More information about the linux-arm-kernel mailing list