From patchwork Thu Sep 28 07:51:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 819436 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3y2n3v693Kz9t2c for ; Thu, 28 Sep 2017 17:52:59 +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="bd7g1ztO"; 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 3y2n3v4bHvzDsPp for ; Thu, 28 Sep 2017 17:52:59 +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="bd7g1ztO"; 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:c00::241; helo=mail-pf0-x241.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="bd7g1ztO"; dkim-atps=neutral Received: from mail-pf0-x241.google.com (mail-pf0-x241.google.com [IPv6:2607:f8b0:400e:c00::241]) (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 3y2n3t0T8TzDsPp for ; Thu, 28 Sep 2017 17:52:58 +1000 (AEST) Received: by mail-pf0-x241.google.com with SMTP id f84so795071pfj.3 for ; Thu, 28 Sep 2017 00:52:57 -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=c258BfuPN0M2yId8bB+qsp04M53X7ml1PvwDGCIbv2Q=; b=bd7g1ztOJ9p6Je08ZjdyzImkHxOw3V3f5anAK9/NjOUQU4Er97d8wd+MeqB3TxP1d6 mr0ABiFknvlUnCcqC92o1utS8nzI3VdWWJGiy/aSvsNIxGl307hvcjy8yGC164ZUhey0 XsyOxkUmtjS+cbSoqCjmiA6u6SK7bGUW5poptXXREWJu541k4cxOTwCZrKI7n0TFLNTa 6L6KgyfNFqfg+AZpQgmj43mR8U7Bb14zVYFqGpbjSLYVtbvvTUdIgnOtr2PDDe583Jl+ 1mXJ/FOXx5XsEQxsKOKy1ItR5wBAUoNjvanJIgaG7VLOOZ4/iuFHjWMJv71eekWFvUjP +25Q== 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=c258BfuPN0M2yId8bB+qsp04M53X7ml1PvwDGCIbv2Q=; b=UE/SNraEBT4fW0pEj+jCuaKhIeTLBsuO7ZDNiUT6fNRqsMPxB1qC5rgSDQMJXBWre3 Y2SCouq1Tkyw3qP3OqzHOcLq4x/6+iZlG5FKVs9DUj850d4/RhiXeiOSzbQm4HFRswyn s1M0LS2bXf8thvx1HTkgs0i/hrPHOU1QxGPuH+LEPkOOabgzN2k5eoVn7w268lPc5JYY a2b6nh2MdlcsB6Zf/z/SSC9jX9f9k8zqJzev/Cf6jxT1OPs2ITTKMEYtarm90q41vI7w 37eHfFiWLV/g66mSmhk4on1ZeS+utI061rcHlsFlCQQYkfkMI25DI+Y/K0EYR/q1iT+B Qufw== X-Gm-Message-State: AHPjjUg8bJ1o1rO+6eHT6gfW/kf7ECzPr48hZ0T4bJVu/tDwwCRxwINx sFBBLSk9zEfIsjlx1NaL6PE= X-Google-Smtp-Source: AOwi7QCdachiSUfOdgfkAa5Hjs6Qjztaw9IIYTLBlqysS0xgngWqSEacxbPoPbLwW0+GKAgy4+U75g== X-Received: by 10.84.210.196 with SMTP id a62mr3399445pli.356.1506585176265; Thu, 28 Sep 2017 00:52:56 -0700 (PDT) Received: from aurora.jms.id.au ([203.0.153.9]) by smtp.gmail.com with ESMTPSA id 13sm1678565pfm.138.2017.09.28.00.52.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 28 Sep 2017 00:52:54 -0700 (PDT) Received: by aurora.jms.id.au (sSMTP sendmail emulation); Thu, 28 Sep 2017 17:22:47 +0930 From: Joel Stanley To: Joel Stanley , Rob Herring , Mark Rutland Subject: [PATCH 5/8] ARM: dts: aspeed-palmetto: Add I2C devices Date: Thu, 28 Sep 2017 17:21:46 +0930 Message-Id: <20170928075149.8154-6-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 the battery backed RTC, temperature measurement and EEPROM. Some of these buses are for hotplugged cards, such as PCIe cards. Others do not yet have upstream drivers, so there are no devices attached. Signed-off-by: Joel Stanley Reviewed-by: Brendan Higgins Reviewed-by: Andrew Jeffery --- arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts | 48 +++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts b/arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts index 112551766275..e387c80b7f4f 100644 --- a/arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts +++ b/arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts @@ -61,3 +61,51 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_rmii1_default>; }; + +&i2c0 { + status = "okay"; + + eeprom@50 { + compatible = "atmel,24c256"; + reg = <0x50>; + pagesize = <64>; + }; + + rtc@68 { + compatible = "dallas,ds3231"; + reg = <0x68>; + }; +}; + +&i2c1 { + status = "okay"; +}; + +&i2c2 { + status = "okay"; + + tmp423@4c { + compatible = "ti,tmp423"; + reg = <0x4c>; + }; +}; + +&i2c3 { + status = "okay"; +}; + +&i2c4 { + status = "okay"; +}; + +&i2c5 { + status = "okay"; +}; + +&i2c6 { + status = "okay"; +}; + +&i2c7 { + status = "okay"; +};