From patchwork Wed Oct 4 06:49:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 9983943 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 3DC1E60365 for ; Wed, 4 Oct 2017 06:53:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 30FAF28A81 for ; Wed, 4 Oct 2017 06:53:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 25C0228A89; Wed, 4 Oct 2017 06:53:38 +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 B3CE828A81 for ; Wed, 4 Oct 2017 06:53:37 +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=8Q9ReSLfKn48UGAJ5/dcAZf4+jqK9HdxylR9m9jYWuk=; b=dGxjkp5E30196gNy27eJH7CLun MvA0ukMTr71+lQAM8o48YFAw9E4JvRHRBX+1otaHqJHWOXCgSguZfyStURj96yl+gALzjHhCwEtRS hahtFCrkUtx69FblmIJ602Ww0YUa5gdWrvHD5FGMmFLk+TgkVJMRgl0XSTtr/sRx/2cGvNvCH7EU1 1FxA5vbxfmiywoadXLbXKHITC9amBh3Ct+6x4PXdVrAqlzUcWVPS1C3wIVTByZ57m0P6VPuGwWTEA s4E2vXGL4FUMC/SOP+nAw6pXEj9v4RTG77sX8RAi37b6LkagVTiM0m31A89AnfnnX/gi3GOs5sQc6 V7ooABLQ==; 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 1dzdYj-00074U-KS; Wed, 04 Oct 2017 06:53:33 +0000 Received: from mail-pf0-x243.google.com ([2607:f8b0:400e:c00::243]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dzdVv-0004lh-TQ for linux-arm-kernel@lists.infradead.org; Wed, 04 Oct 2017 06:50:43 +0000 Received: by mail-pf0-x243.google.com with SMTP id g65so11542100pfe.1 for ; Tue, 03 Oct 2017 23:50:19 -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=AgMB7LCAp6oK6UrLoY76Z/WgmNH3ZVH6WihZgVJN8X0=; b=c/mWVa4AbgXBZ8cD5spmmW6sthFQsoZuDgbTUeAklrbotyJzAeJD4Ayo2HnKlNFjRK vGEuEagc3Irn6Hc8MusgdwOTk2wlelPaFG3ZuuMnJtItwbzF71mSQAi3OCpDJkeTT123 ya4tkQcmEe/BL7IP5AAwSXReU4S/VddJsx2LWE6UI/M4eBMSuZ3TtEXXP+TBdRQKcamd mleOwq+NfTQ2g4+D4+H8riB2X+RP9GCiwJEh7mLJQhsVCYUJu8P0U0S2qTJ58yftaAMb Il5rppuRWAR1EYTjKXxakqHZBRsQqFb5ljlFddRM4GavkOm4X+VgS1Huzzqk4SGvnDcg MQng== 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=AgMB7LCAp6oK6UrLoY76Z/WgmNH3ZVH6WihZgVJN8X0=; b=qImtBXkZntqFBzC1d9swjXn/JyyaVW/WQqDcDPY0Bgo+oEmPtKmYhZXjKiI0DmLgeg 0yJsH3arQ+Io4DiNnvl9WqP+KPdwBAUlBLr2OFU4bnY1UMb1xBZipIJYeS7w76mJeyOq ZpgPOtKOxNZB65yOoMcVe7CF+mjAlDS8JJKv3gezb225NDp1qrcUDL00Z3DPAnwPTkHq cTKCowhmOE1DaoTGWU9zWjGehSVB/7CyOgr5TuNxuQlXE/oI6g1aFiHfT20UZeZNwxIt 8BVpTEIyReBdAFIUM3bGUcXDd2p65f4jF4yrqGiXid7YlNvv8EkADPK8Nohl4YxF+pO/ qLFQ== X-Gm-Message-State: AMCzsaVmH1OLFlcC5C/DDVTvq9Q91qc9fVqLJhB1EMQ88Ha3yE+xxn9w iR9iERcRW9wkHtBoEPnNUj4= X-Google-Smtp-Source: AOwi7QDIHF6G/XrWEKU0Lh+wxJRLC/oZ/Pf8hSsccWkLw5XccpdGpq7jcaorgU/2N0KG5YalrMvZ3w== X-Received: by 10.101.78.130 with SMTP id b2mr10964936pgs.160.1507099818894; Tue, 03 Oct 2017 23:50:18 -0700 (PDT) Received: from aurora.jms.id.au ([203.0.153.9]) by smtp.gmail.com with ESMTPSA id l12sm22894629pgr.10.2017.10.03.23.50.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 03 Oct 2017 23:50:16 -0700 (PDT) Received: by aurora.jms.id.au (sSMTP sendmail emulation); Wed, 04 Oct 2017 17:20:09 +1030 From: Joel Stanley To: Joel Stanley , Rob Herring , Mark Rutland Subject: [PATCH v2 5/9] ARM: dts: aspeed-palmetto: Add I2C devices Date: Wed, 4 Oct 2017 17:19:13 +1030 Message-Id: <20171004064917.2498-6-joel@jms.id.au> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20171004064917.2498-1-joel@jms.id.au> References: <20171004064917.2498-1-joel@jms.id.au> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171003_235040_204651_7DF661AC X-CRM114-Status: GOOD ( 10.17 ) 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. Reviewed-by: Brendan Higgins Reviewed-by: Andrew Jeffery Signed-off-by: Joel Stanley --- 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"; +};