From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752120AbdI1Hwt (ORCPT ); Thu, 28 Sep 2017 03:52:49 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:37602 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751495AbdI1Hwr (ORCPT ); Thu, 28 Sep 2017 03:52:47 -0400 X-Google-Smtp-Source: AOwi7QDcG8jZ2mcOuY5afSdaEsE9qkXsRsD/4/FL/UWUUZwweQQuypXMydDz7Glw5CI5Yjn0ATIb8A== 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=20Le=20Goater?= , linux-aspeed@lists.ozlabs.org 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> Sender: linux-kernel-owner@vger.kernel.org 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 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 --- 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"; +}; -- 2.14.1