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: 114398 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp434804qgf; Thu, 28 Sep 2017 00:53:01 -0700 (PDT) X-Received: by 10.99.100.70 with SMTP id y67mr3602515pgb.248.1506585180844; Thu, 28 Sep 2017 00:53:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506585180; cv=none; d=google.com; s=arc-20160816; b=EaFeNHvC3d4HZTOeQp0DDlS5pvDCL6p1mMF6BoHYfl03XfbzsTEKPZBDbH+Y1ZEfqY PDggj9pk5O/Yyv9plQt8vMaXy38VCiADCVwkE/nLJT8jXQkDzXkn+hiQqP/Bg4qDT4dY 2mUxWaoR8od7Gg50RZ2zWKfmXEHt+fgBJXwy07RUluKCooHEFjBspO7nDWn+QLYw4YMA bBFaizN8MKsuCvP+7EHSNy+//mKJrhkmr+EiMNiOW3i6Ju+DZP9HxLrDLMcF1zJ1kC+N g4Pvlb9kpq2D+E2g9ClM+1v4zPpSndGZSpuqjA1yUtczQRe9Z1mJ+rCe8ddFq5DNuZpi UZOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=c258BfuPN0M2yId8bB+qsp04M53X7ml1PvwDGCIbv2Q=; b=hjnG0oFFmGqOD7meXJaeJnes4sHlPdduoVV7pW8AXTBjwpJTlNw4D7gK9ILaUbgl8t 63HK1E1ahj5pxvKYjGq6xOn7vYOzmtxAWHACHFLOfnEhB5CUFRm4K/FnNaANvtSA4VZQ mVgh+63c/7bZzHhZYYZ98vNfXD7L4iD9wpMICp1OP2Ziyrx6N7ViUQEAjLjAM8nu1Zsh 33GkfG0wX8v+jiDEJ+cZEWnFThp2rGTzALovSBHvhDHsSCCEgAhj/EXybmOmUBK2eFK3 QHGq4hFv5vS7F7k5gLeEiNgxMmxlo2yvp7sp6SNRF27zahg9LwpEosm7c4s0CbMV0njK pBWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=bd7g1ztO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l1si941099plb.702.2017.09.28.00.53.00; Thu, 28 Sep 2017 00:53:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=bd7g1ztO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752162AbdI1Hw7 (ORCPT + 26 others); Thu, 28 Sep 2017 03:52:59 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:38148 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751495AbdI1Hw4 (ORCPT ); Thu, 28 Sep 2017 03:52:56 -0400 Received: by mail-pf0-f194.google.com with SMTP id a7so786627pfj.5; Thu, 28 Sep 2017 00:52:56 -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=A+he0RnTKxAsxqBJ3lC8nKd0g/D+bgybSIEQeJe5mi3pQ84/OzisOGnXdry9diHJwZ TIuP0q+Fv0/OmhTsYvPLqhclMMjx2NHv9k63VGQBmDynqhF2gxxBFuD9NLTTeNOEH39X Wuy+vVOCAwpN8PuVqFg/8Btp2V9TtWlZAy5TsNUjBiXoeFH/BEtpwMP4mEfLMmAzS+fA glWVfGhcue3r2lJ0fQG6DQY/AuFbHSMuX7+CIwKBkwuqYvzoqfDamxg4HT+35BMNiBXw YnmIc9ZO63tbtD8BZrUq6KZE7LqQEsBcF+Tgpt+pyX5EA62uSY/KVlIh/MN0UwTBqQYw WQDg== X-Gm-Message-State: AHPjjUhmigJuTOSDR4OLLDvm+b9Tz7sE5/Qntnm7N9Y+nRf7ljINeI6I 3LI3p+KfCCWYt+a8V3eXX6IK9Iif/d4= 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 Cc: Russell King , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Andrew Jeffery , Rick Altherr , Brendan Higgins , =?utf-8?q?C=C3=A9dric_Le_?= =?utf-8?q?Goater?= , linux-aspeed@lists.ozlabs.org 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts | 48 +++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) -- 2.14.1 Reviewed-by: Brendan Higgins 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"; +};