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: 9975535 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2889E603F2 for ; Thu, 28 Sep 2017 08:49:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1842428563 for ; Thu, 28 Sep 2017 08:49:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0B7E428DB8; Thu, 28 Sep 2017 08:49:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 88B6728A33 for ; Thu, 28 Sep 2017 08:49:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=P4//UzNR9qqhzw9a1igCTJwH9v6CFOGO1IjR0ttKheg=; b=EGrWwFlY/ulKFg7uEfqbkkJU+/ BkG81dRsGOPLw/apJdDyXGqc1RDg5q30arRwGKa1o4dnl73ab4ggzKrh1K8JUVcK3zndkyNFJospO 4yfeb/LifeEyWoL/lNwXG1W9QcXm3+5JPc8u8VZQlX4PzqpovjBhFX3WYcc9330BfaspX10nmKAp3 dHRdpk1ejeGZqZ2ofj0ZZrmya6RAf2l4E+n3qfw48ZL7BPUoksN142/twKoZ6J2HMKTHoNx0AkUoj +3h+MAObWS+2r+VTivGwtD1krackwl49VwaNTHucduEgVuxvuXftQ4NVN8Y9hJEJXA6TXqKyjwrK2 L6dDxGig==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dxUVt-0003bA-PV; Thu, 28 Sep 2017 08:49:45 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dxUVP-0002td-Ap for linux-arm-kernel@bombadil.infradead.org; Thu, 28 Sep 2017 08:49:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=c258BfuPN0M2yId8bB+qsp04M53X7ml1PvwDGCIbv2Q=; b=mIsIG18q5kCbt2hc397517kIo tqoFkkIRRJXXK4GBtiW4MW0+LHE2yJV5M2cfKJkO+aJZSXkOt8BLaPiFLhVH02Xf9k/ipAUC2o0hO tG8fCaGOrqUPYOOW7LuFT4K2hcP/V0k4iCx6R6AYvzoYh/ZaI6vIbGDyZ8BPEaMKElAzPvzAPMYPf WGZ8iUO099+0E3y4yYft9ckNLKX72NY+G4GnzPWStC/N9wF1lcP8wFe/eFZzoluCk7ZRnb429z24U qmTgRlQb2SAZJtyMlLWXbbRj/WS3j54Z2FcvCoMmL9FT3rNHDBShqEkboBHCNkGdXv2vkPxix/nCN l2jXFhCyQ==; Received: from mail-pf0-x241.google.com ([2607:f8b0:400e:c00::241]) by merlin.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dxTdI-0007yp-UV for linux-arm-kernel@lists.infradead.org; Thu, 28 Sep 2017 07:53:22 +0000 Received: by mail-pf0-x241.google.com with SMTP id g65so801903pfe.1 for ; Thu, 28 Sep 2017 00:52:58 -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=YJ8kiECZAmCnpZXLzR0z3LqMAq0hS7vCvsaGO+vakQ9WiXPLjGXnc8nVRH1IadPkQp sUrCRky/DpQs7b01aC2DRs1pGv0vKh5SgdB4d/2r6MaeQc670+mGCcTB7ArfGf43/DYp RZgQdHZJOOHBBx8BF+VLWBn+5KAHoT4IDhJo0c7SnEyPNoKmSOx4pHlN0uKo7Y6qnlOh +N2TrFO5nPc6u3sT8tJNEm6nFaGRRI0ERf7+CSrV16QNLFvppuqyOTAE/F84e5N/vaFJ n0uG+cRUNT5mM3vyDE+B/BsrKcSUzrYu63fgLlUi6IxS/7APxkJYgMMBDZl/xdrO0WMx HsLQ== X-Gm-Message-State: AHPjjUjprSUCylW3zR5VQtpGW6iTypTgTwczhI/MveBSB08UBvfNq1vc JwDSZjTw2+XKr6ocbXuQgBg= 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-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-aspeed@lists.ozlabs.org, Andrew Jeffery , Brendan Higgins , Russell King , linux-kernel@vger.kernel.org, =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , Rick Altherr , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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"; +};