Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751816AbbG2OTn (ORCPT ); Wed, 29 Jul 2015 10:19:43 -0400 Received: from mail-wi0-f172.google.com ([209.85.212.172]:33516 "EHLO mail-wi0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750962AbbG2OTm (ORCPT ); Wed, 29 Jul 2015 10:19:42 -0400 From: Michal Simek To: linux-arm-kernel@lists.infradead.org Cc: =?UTF-8?q?S=C3=B6ren=20Brinkmann?= , devicetree@vger.kernel.org, monstr@monstr.eu, Suneel Garapati , Arnd Bergmann , linux-kernel@vger.kernel.org, Kumar Gala , Ian Campbell , Rob Herring , Pawel Moll , Will Deacon , Catalin Marinas , Mark Rutland Subject: [PATCH v2] ARM64: zynqmp: Add eeprom memories on i2c bus Date: Wed, 29 Jul 2015 16:19:34 +0200 Message-Id: <827fe968a448dd25e133ce3509d91fd2482bd850.1438179569.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.3.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1110 Lines: 49 Add i2c eeprom memories on i2c bus. Signed-off-by: Michal Simek --- Changes in v2: - Change eeprom max freq from 100k to 400k --- 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 c5cc8dbd0968..3b1011169756 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts @@ -50,6 +50,24 @@ status = "okay"; }; +&i2c0 { + status = "okay"; + clock-frequency = <400000>; + eeprom@54 { + compatible = "at,24c64"; + reg = <0x54>; + }; +}; + +&i2c1 { + status = "okay"; + clock-frequency = <400000>; + eeprom@55 { + compatible = "at,24c64"; + reg = <0x55>; + }; +}; + &sata { status = "okay"; ceva,broken-gen2; -- 2.3.5 -- 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/