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: 9975453 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 7FE866037E for ; Thu, 28 Sep 2017 07:54:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6CE3A1FF26 for ; Thu, 28 Sep 2017 07:54:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 615F1294E0; Thu, 28 Sep 2017 07:54:28 +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 EB0691FF26 for ; Thu, 28 Sep 2017 07:54:27 +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=LayY39yAwfDZ460U7sT2bEaDfNUCB6S/5SAzyVkY8uc=; b=J8KFJzRwmeFAyjo90fh6mydQ6I RXk6WDSf2RnwYwuH99nbJQ0U7NZi+Teh6XLWWuOMFULYz+A3mkqFSpatsqE8bPGLr6L0cprRY5bEr e/l55VbwKJvJrlAOXdwsy2NhzRhVZ7dDLZ7QYc7DYxAx4ah6e0Ee9OCCpL9mix9LBAiOJEmt34RKY S42ffEO6Kl57UtrIvE4cp1RAFjE7lTXI9mKEwJtSTSl2WrpZuAcw4fyaR/Jlxxkb2u/JM8pdgTM4a +kKwD5nPVZ+8wLlAweMLfqjCB0TMBfDQPhEORVnBNgYXRUyvU65gYlfpfS3QiXpFVUbwao97Tm9DV wndjrUtw==; 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 1dxTeG-0007u0-GY; Thu, 28 Sep 2017 07:54:20 +0000 Received: from mail-pf0-x244.google.com ([2607:f8b0:400e:c00::244]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dxTd5-0006rH-0S for linux-arm-kernel@lists.infradead.org; Thu, 28 Sep 2017 07:53:14 +0000 Received: by mail-pf0-x244.google.com with SMTP id i23so797800pfi.2 for ; Thu, 28 Sep 2017 00:52:47 -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=X81hHt2rwSTOc7lbNlKUKalTzOl83uMRUj5W1V8htqHd/q3W0UFqkfWwRA8H6CwXvJ UsPaHmTqmnVqGgewMLpUahEvxh+EAoysVSMa8jlzRNUydLTqOI1mBi1Ch2iLTN9GvIGH W9mLo30bzqb8GWFQnTQw9mSFQbDssuo5M1+ugza8y7DnEl+ujWnFnbKjVspdX3EnYb9Q uFZXqp0gqxZKMpOUoeMS1ZBopjFhvDxx89IUwIGNLM1VJrf/k691pW4pl9ldzi5UpKO4 I7UG2u1BLh09wW3xqAWmbX8uHuSCImh5bpoizaaC7kYrzOoV+FEtTGAKU3uTy8fZFIvE 7R0w== X-Gm-Message-State: AHPjjUhvQ8UByG/niLkZ3b6QY6G3ecatNLifHQLnyE20rBSZBXia3ZOH q7S6Bf5Jw3KUEJeMy3OrUVA= 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170928_005307_664751_66B6915E X-CRM114-Status: GOOD ( 11.29 ) 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 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"; +};