From patchwork Thu Sep 28 07:51:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 819435 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 3y2n3l4pBQz9t2c for ; Thu, 28 Sep 2017 17:52:51 +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="fitJLvKT"; 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 3y2n3l32PJzDsPp for ; Thu, 28 Sep 2017 17:52:51 +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="fitJLvKT"; 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="fitJLvKT"; 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 3y2n3h6DB4zDsPp for ; Thu, 28 Sep 2017 17:52:48 +1000 (AEST) Received: by mail-pf0-x243.google.com with SMTP id g65so801626pfe.1 for ; Thu, 28 Sep 2017 00:52:48 -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=076VnvmztmWoFybiFRef/VXY4M0105HHywz2cw2Ffkk=; b=fitJLvKTKycICXfmLOwKeAkK6vlZQmpOxN9yrCEPjMXUHLW5ybj26fx6ljxAEb8fK7 XzrCTj5g8L4BASeR76wiemQcFMZp5b1laW9giFztvKxfDg9Y9fBW02o62Y6EkVop/kEa zgFhVh8ctIUSVRJjswcQ3d0P0EqQNjgFde2vGhNeTGaugynAvP/0j7pmcDQjnFl/95+W jaYqQguyEf9RK3zqfo9t2js8mmK40Jk8E1aO+GvZNYPqPvQeuw4H0jVqtDzZEloeJJuF 3PU6CZqYCEuBxI/R8rEW2lHjEPKSOLrj/BNe4OJe8RxEm7D2ywX0nPbCwbnI3ZPlZUvV VtRQ== 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=076VnvmztmWoFybiFRef/VXY4M0105HHywz2cw2Ffkk=; b=E+xdLI0XirKxsrYzesgqFE/zkiE5dt2CfDD6EcwhVQ7tnB3rfFSlv9ZlV+8pIa7Np6 nGvhilnjDhD80bLeiWMZShfSUP/mXJTvcEO4pMvUuIadmOgrUHchqN+dU//VWvv60DkU hIqmjLQ2fC/+iHGACMhDkPFx9V3YhdlgEuvNTYE0Pw3tg+QyJMI6HvC2162d7Z6GxJ9Y tv6lETlguSeIGDuL80FCerZhysjDw/4uBGmxC4MSUlyik5bHXVvDw9Jyy3cOTqna4emV WwFmP71hoo7wU16r7ARN7XjkI5pO+huJt3ql+1CpdaCxvoDV3j/iJf46b8Ulpvh3wGG6 WLbQ== X-Gm-Message-State: AHPjjUh2GjWqOCI+UjX0/HLp4yWPmIniJ4lAvExxbfgpAiVbjyWq8Bzb Jolx1WZxaMWZxNOPTSLXPyY= X-Google-Smtp-Source: AOwi7QDcG8jZ2mcOuY5afSdaEsE9qkXsRsD/4/FL/UWUUZwweQQuypXMydDz7Glw5CI5Yjn0ATIb8A== X-Received: by 10.99.160.100 with SMTP id u36mr3549577pgn.22.1506585166756; Thu, 28 Sep 2017 00:52:46 -0700 (PDT) Received: from aurora.jms.id.au ([203.0.153.9]) by smtp.gmail.com with ESMTPSA id b68sm1764516pfk.23.2017.09.28.00.52.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 28 Sep 2017 00:52:45 -0700 (PDT) Received: by aurora.jms.id.au (sSMTP sendmail emulation); Thu, 28 Sep 2017 17:22:37 +0930 From: Joel Stanley To: Joel Stanley , Rob Herring , Mark Rutland Subject: [PATCH 4/8] ARM: dts: aspeed-romulus: Add I2C devices Date: Thu, 28 Sep 2017 17:21:45 +0930 Message-Id: <20170928075149.8154-5-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 is just the battery backed RTC. 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 --- arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts | 54 ++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts b/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts index 1190fec1b5d0..f79c1d21c47f 100644 --- a/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts +++ b/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts @@ -79,3 +79,57 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_rmii1_default>; }; + +&i2c2 { + status = "okay"; +}; + +&i2c3 { + status = "okay"; +}; + +&i2c4 { + status = "okay"; +}; + +&i2c5 { + status = "okay"; +}; + +&i2c6 { + /* PCIe slot 1 (x8) */ + status = "enabled"; +}; + +&i2c7 { + /* PCIe slot 2 (x16) */ + status = "enabled"; +}; + +&i2c8 { + /* PCIe slot 3 (x16) */ + status = "enabled"; +}; + +&i2c9 { + /* PCIe slot 4 (x16) */ + status = "enabled"; +}; + +&i2c10 { + /* PCIe slot 5 (x8) */ + status = "enabled"; +}; + +&i2c11 { + status = "okay"; + + rtc@32 { + compatible = "epson,rx8900"; + reg = <0x32>; + }; +}; + +&i2c12 { + status = "okay"; +};