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: 821174 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 3y6RNw5ycPz9s5L for ; Wed, 4 Oct 2017 17:50:24 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="c/mWVa4A"; 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 3y6RNw4hgYzDqln for ; Wed, 4 Oct 2017 17:50:24 +1100 (AEDT) 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="c/mWVa4A"; 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::243; helo=mail-pf0-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="c/mWVa4A"; dkim-atps=neutral Received: from mail-pf0-x243.google.com (mail-pf0-x243.google.com [IPv6:2607:f8b0:400e:c00::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 3y6RNs0djJzDqln for ; Wed, 4 Oct 2017 17:50:20 +1100 (AEDT) Received: by mail-pf0-x243.google.com with SMTP id e69so11526501pfg.4 for ; Tue, 03 Oct 2017 23:50:20 -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=nKRZI/vE0fI6t7YPlO4w5x0Q5nTZ0knLFeuk39KX+Z32LUkxRe7tdi2g8Gr3QOVHDN mx6acqKtlceqoT4XR11FOxndy+DdFLTsiALFH8fdA8n5600p68TXDfkbzdOyeV5ZFVfn /t5CCLR7mFeV4Bokkm9HQ2wbI6uV46pCEZgxc+UrI1zScYrAZkIYjyv0slX71kmzqBZd CWqp0TXvEltZKifI2FK1YKjJBF79jETi8mWu/y1lO2m340oItYYxrMqf2EBUuooCw4pz yaM6+g96wWZEqlt8PP3HD4BI0xoS19VmjUymmFnFuuE2jlfyX9e9pRyBcIpBN6BpYZ34 RSBw== X-Gm-Message-State: AMCzsaWOz5hHevkh0oWwTfGXqCqNrovfDPmVlW4z3XSxXv7oIaQSooJ7 e9wHUFB+oW2dIUFJI71qDFU= 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-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. 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"; +};