From patchwork Mon Jul 27 09:48:15 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 6871721 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 0B552C05AC for ; Mon, 27 Jul 2015 09:57:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 440BA20558 for ; Mon, 27 Jul 2015 09:57:25 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6ACD420256 for ; Mon, 27 Jul 2015 09:57:24 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZJf80-0000Es-O2; Mon, 27 Jul 2015 09:55:24 +0000 Received: from mail-wi0-f169.google.com ([209.85.212.169]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZJf1j-0000kC-Ej for linux-arm-kernel@lists.infradead.org; Mon, 27 Jul 2015 09:49:00 +0000 Received: by wicmv11 with SMTP id mv11so131681964wic.0 for ; Mon, 27 Jul 2015 02:48:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:in-reply-to:references; bh=QWPM5dlVG4JFau3FrA759fqxdAFzwDWK2VuwY1azXo4=; b=WISKcAoHqqeRZ6IyWOs3iLGGOrWTpbBVQ2D+2fq3HDPWkoUyJ7Owz+vvVoCMYt0rjt 2ezwRlgg4JfwXupmep/7eiaQJSeNLo5qJ8xLWmMm7955agM4S05KuKt6GlL1nwzwxOD3 Jupe0OuCzab1IwOuDIye+cHqxvcuG7mvaNYkfFqUUIRqCsqM67qWJv8VQuEomH2uPm+5 7C9kSaKmEaGzUnp3eFS67igIgdBHIZ9q3eR/2Xh5IGVeVtqAwSZqZOUMSJiFOeTh1fQ1 0oR2SovZugYc/F1mbx3PGDsXa+j11RvQM5O4Y/M95wZbWIeZmU6BuEYgNZpBwNF7K/cS GCAQ== X-Gm-Message-State: ALoCoQkzesd/vrfpt1VRa38vgeX58t/NK5ysYaXZelE1qxWNOIUegwYnXHIEnZGt8RwKQHm130rw X-Received: by 10.180.74.69 with SMTP id r5mr22618487wiv.84.1437990517411; Mon, 27 Jul 2015 02:48:37 -0700 (PDT) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id lu5sm26954598wjb.9.2015.07.27.02.48.35 (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Mon, 27 Jul 2015 02:48:35 -0700 (PDT) From: Michal Simek To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 7/7] ARM64: zynqmp: Add eeprom memories on i2c bus Date: Mon, 27 Jul 2015 11:48:15 +0200 Message-Id: <84f7d2137afdc5581c1d5d9b27feb2c5e5592308.1437990464.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.3.5 In-Reply-To: <48a75b64b05dc094e34fe27e5d03552dbfe77fe2.1437990464.git.michal.simek@xilinx.com> References: <48a75b64b05dc094e34fe27e5d03552dbfe77fe2.1437990464.git.michal.simek@xilinx.com> In-Reply-To: <48a75b64b05dc094e34fe27e5d03552dbfe77fe2.1437990464.git.michal.simek@xilinx.com> References: <48a75b64b05dc094e34fe27e5d03552dbfe77fe2.1437990464.git.michal.simek@xilinx.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150727_024856_073485_F4E99CF3 X-CRM114-Status: GOOD ( 10.47 ) X-Spam-Score: -2.6 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 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=20Brinkmann?= MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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>; + 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>;