From patchwork Thu Sep 28 07:51:47 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 819437 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3y2n4472xFz9t2c for ; Thu, 28 Sep 2017 17:53:08 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Am0ZkuRR"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3y2n445xx3zDsPp for ; Thu, 28 Sep 2017 17:53:08 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Am0ZkuRR"; dkim-atps=neutral X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:400e:c05::243; helo=mail-pg0-x243.google.com; envelope-from=joel.stan@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Am0ZkuRR"; dkim-atps=neutral Received: from mail-pg0-x243.google.com (mail-pg0-x243.google.com [IPv6:2607:f8b0:400e:c05::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3y2n433YvqzDsPp for ; Thu, 28 Sep 2017 17:53:07 +1000 (AEST) Received: by mail-pg0-x243.google.com with SMTP id u136so1078804pgc.0 for ; Thu, 28 Sep 2017 00:53:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=oGfv2LllaORARv24Bj7YvZejQcRN8U9FBuaj6cPrMa4=; b=Am0ZkuRRCwROUR0sD8Cfcj6si6zOpln2cttCZ0p6cmw0P7AmwTVQWY7zNAkpgx3wb2 SdWzEE3QiNkP79pWl+KUDCpuM89NoCUGtjwpkf80sJpASioktxqbPV7dOaISGx+Nhn5s el4B8/Ov/u+FYbbHxsSoTNgaMQWR/ll+NOP0iOiurGi7cZGkN5wJWFZm1hp1Zpw5FgCz NSjgeruxqJJhaSmndMin6VDTxeEC6yfn5naBMhvoaT0ylBA7KFbwPmybQgRn6zDggnX7 isRAhQl3kMRZyHk48oVOnMisr11pTKMLrsbmWznHBHmXiK8gPxd1phdaNptMhxpJFGpd xMFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=oGfv2LllaORARv24Bj7YvZejQcRN8U9FBuaj6cPrMa4=; b=a0Gf8dwrNYPg2t0tFmGeFgSiQqdkQH/BsqOjypkGfjqtwpwrbzl2Xss3vA+/TfqUbF I69BWUajNhz77LoshIJ8rJE9bJ6CbdysIcBhVhRq7hGNINLGWRR3jphRrfxpTH02Wmfy Kz6Eht8aDeMRyPq/9X174XG4MBuuIWyYOKZU5IZVZCPvfhFL41jPBfRI7dZogji46UZo q2Ub47xjDC537xaP3GqRFStrin824qEA8ro4HujmyoJw6N/AgHWiUKcpMmX/+yxQphZ2 G25++q9ihFx2H88P0SwyHO/DSaBCOVPUfrDysGasyg9yTN2h0dRSdnGnJ/KV95yeVuoq 4Xpg== X-Gm-Message-State: AHPjjUhupld9AmRA5r1m8sUSS4US9J1oN8egRx8bCaOsAhc3muQJDSqq U20uchjkvKCiIDBGsG8D4R4= X-Google-Smtp-Source: AOwi7QBdIZjkJNwVeGNDFOgVWsvzW9w04NshU2g169RUdTVvklcMFwhVTjx07nqtZgqvv8mkg+NNmg== X-Received: by 10.98.27.210 with SMTP id b201mr3462509pfb.240.1506585185652; Thu, 28 Sep 2017 00:53:05 -0700 (PDT) Received: from aurora.jms.id.au ([203.0.153.9]) by smtp.gmail.com with ESMTPSA id y5sm1765241pfd.89.2017.09.28.00.52.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 28 Sep 2017 00:53:04 -0700 (PDT) Received: by aurora.jms.id.au (sSMTP sendmail emulation); Thu, 28 Sep 2017 17:22:56 +0930 From: Joel Stanley To: Joel Stanley , Rob Herring , Mark Rutland Subject: [PATCH 6/8] ARM: dts: aspeed-ast2500: Add I2C devices Date: Thu, 28 Sep 2017 17:21:47 +0930 Message-Id: <20170928075149.8154-7-joel@jms.id.au> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170928075149.8154-1-joel@jms.id.au> References: <20170928075149.8154-1-joel@jms.id.au> X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.24 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-aspeed@lists.ozlabs.org, Brendan Higgins , Russell King , linux-kernel@vger.kernel.org, Rick Altherr , linux-arm-kernel@lists.infradead.org Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" Enable the buses that are in use and the devices that are attached. Currently that includes temperature measurement and EEPROM. Signed-off-by: Joel Stanley Reviewed-by: Brendan Higgins Reviewed-by: Andrew Jeffery --- arch/arm/boot/dts/aspeed-ast2500-evb.dts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-ast2500-evb.dts b/arch/arm/boot/dts/aspeed-ast2500-evb.dts index 7c90dac99822..dc7d73b02b76 100644 --- a/arch/arm/boot/dts/aspeed-ast2500-evb.dts +++ b/arch/arm/boot/dts/aspeed-ast2500-evb.dts @@ -59,3 +59,22 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>; }; + +&i2c3 { + status = "okay"; + + eeprom@50 { + compatible = "atmel,24c08"; + reg = <0x50>; + pagesize = <16>; + }; +}; + +&i2c7 { + status = "okay"; + + lm75@4d { + compatible = "national,lm75"; + reg = <0x4d>; + }; +};