From patchwork Wed Jul 29 14:19:34 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 6894701 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 F07D5C05AC for ; Wed, 29 Jul 2015 14:24:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3120020620 for ; Wed, 29 Jul 2015 14:24:33 +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 571F420465 for ; Wed, 29 Jul 2015 14:24:32 +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 1ZKSDH-00021Z-5f; Wed, 29 Jul 2015 14:20:07 +0000 Received: from mail-wi0-f178.google.com ([209.85.212.178]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZKSDE-0000v7-L7 for linux-arm-kernel@lists.infradead.org; Wed, 29 Jul 2015 14:20:05 +0000 Received: by wicgb10 with SMTP id gb10so202944762wic.1 for ; Wed, 29 Jul 2015 07:19:40 -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; bh=kMYndLQaN3X5mFf/R5E0POC+w1kEOtBn/nzhG7h6ODM=; b=Ik4E+BNXdJfxSRz+7oba/mPvy9t0cF/daESiXkDp3RI/LaKsNC8TZt0xU+h+pDcRIq EIbpk455UQ2JW1gW7nTlvI4m7WTxm/ZFh9mCmsIkP2H8dPEZgpQH8kPsUezNxejaipPy Hueu8ZIZeP7pZB5A1FtwOPZRlGrGuemya5RaDdCKXnN5NMW+mi01KR85Hu+IS0OD6nIj MV82AyTdJPTf4V9WI8mheF8RNkHJRXSSPMqXed8j8KryQ9TlkOr4vVrI0lRER0fzF4L6 7VgegYPX2L0H60YPL/vWJoZ4kOz+UN5zOeE/5zitOxBdo9gUQI9VueAQdMWkX/FwaUFn 7pDw== X-Gm-Message-State: ALoCoQm8Pcyi3l9MSmysJCa/8swzMqycizFKkiBVz4HVbg9NVwJGBdtd2JtpwH2pS+knpOK8H0SV X-Received: by 10.181.13.241 with SMTP id fb17mr6684440wid.13.1438179580654; Wed, 29 Jul 2015 07:19:40 -0700 (PDT) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id q19sm24583517wik.16.2015.07.29.07.19.38 (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Wed, 29 Jul 2015 07:19:39 -0700 (PDT) From: Michal Simek To: linux-arm-kernel@lists.infradead.org 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150729_072004_846601_6AF64405 X-CRM114-Status: GOOD ( 10.61 ) 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.6 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 Reviewed-by: Shubhrajyoti Datta --- 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;