Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754039AbbG0KBI (ORCPT ); Mon, 27 Jul 2015 06:01:08 -0400 Received: from mail-ig0-f170.google.com ([209.85.213.170]:38642 "EHLO mail-ig0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753955AbbG0KBD (ORCPT ); Mon, 27 Jul 2015 06:01:03 -0400 MIME-Version: 1.0 In-Reply-To: <84f7d2137afdc5581c1d5d9b27feb2c5e5592308.1437990464.git.michal.simek@xilinx.com> References: <48a75b64b05dc094e34fe27e5d03552dbfe77fe2.1437990464.git.michal.simek@xilinx.com> <84f7d2137afdc5581c1d5d9b27feb2c5e5592308.1437990464.git.michal.simek@xilinx.com> Date: Mon, 27 Jul 2015 15:31:02 +0530 Message-ID: Subject: Re: [PATCH 7/7] ARM64: zynqmp: Add eeprom memories on i2c bus From: Shubhrajyoti Datta To: Michal Simek Cc: linux-arm-kernel@lists.infradead.org, Mark Rutland , devicetree@vger.kernel.org, monstr@monstr.eu, Pawel Moll , Arnd Bergmann , Ian Campbell , Catalin Marinas , Will Deacon , linux-kernel@vger.kernel.org, Rob Herring , Kumar Gala , Suneel Garapati , =?UTF-8?Q?S=C3=B6ren_Brinkmann?= Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1590 Lines: 55 Hi, On Mon, Jul 27, 2015 at 3:18 PM, Michal Simek wrote: > Add i2c eeprom memories on i2c bus. > > Signed-off-by: Michal Simek > --- > > 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>; If I am not wrong eeprom could work at 400k Could we make that as the speed. > + eeprom@54 { > + compatible = "at,24c64"; > + reg = <0x54>; > + }; > +}; > + > +&i2c1 { > + status = "okay"; > + clock-frequency = <100000>; > + eeprom@55 { > + compatible = "at,24c64"; > + reg = <0x55>; > + }; > +}; > + > &gem0 { > status = "okay"; > phy-handle = <&phy0>; > -- > 2.3.5 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/