From patchwork Wed Oct 4 06:49:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 821172 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3y6RNj3fsqz9s5L for ; Wed, 4 Oct 2017 17:50:13 +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="tMdkfRE0"; 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 3y6RNj1mYzzDqln for ; Wed, 4 Oct 2017 17:50:13 +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="tMdkfRE0"; 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:c05::241; helo=mail-pg0-x241.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="tMdkfRE0"; dkim-atps=neutral Received: from mail-pg0-x241.google.com (mail-pg0-x241.google.com [IPv6:2607:f8b0:400e:c05::241]) (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 3y6RNf6FYTzDqln for ; Wed, 4 Oct 2017 17:50:10 +1100 (AEDT) Received: by mail-pg0-x241.google.com with SMTP id o1so11112484pga.4 for ; Tue, 03 Oct 2017 23:50:10 -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=0YvRoIvWwaJMHu08FxaeSk5VuaFBv5EnkweQRtqlFXg=; b=tMdkfRE0QlwMV6/+woQuQA7vVywzOjF4hdPGQD4GPe9MZRXoo68/yw+8n++TLf//dI 4aEtDWgS1Jjhi3625ajB6sfAaDehIVEzcQ8tzTPg4i5ip0PnMGDCWMj8p6Zzg/o3D4Hx JjbJK5Phlo6a7nQ+V4cS8c+cZf92UhnZAYFiFKeH/hJU21IyFzfWNB860+tnaUz9IMNl X6Di090FmdqeBRFAxtPLO/IRGRbnCtjPyoA44oYhJ4yJQ1TbSBoi7AGCTQvGO46Atsnx hpfHbFESLNIgVHC1f/UqOhQG4Jl564CZa4+mtlP5g4cvv268ChOoWZU4ikfLrTDf5HMq zvoA== 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=0YvRoIvWwaJMHu08FxaeSk5VuaFBv5EnkweQRtqlFXg=; b=cJqKOIiLY0FWN4Cy0fhD83nQiC52zLirWXm2G6tSfF4mQVxIGK1Ug0/hTq5iT5voCU FGFzxM/bM63/UZMowRYmKqBgnrVwVcyzaTufzD42Uhhvcqv8Y+WbCh/zWILex4qZcLV5 eKcpunax78dfiB5zojf2z++ed09OF9pmKs1wTSGEmniXSyI+r0qCuEgt8Vk408nKs/ip MuVa7TSEyEPCMR4CXIsb5SG3fy01RtIfx6/kD7jn7uRGSHFRKLMTjkeg4EQeDQthLUtb QFM1PWWmqXAYKDenHJNFoqsjNvocTh9rOhh/gIHtibIUXnZKoZ6/SfjigYtDIyRRprnE cNwg== X-Gm-Message-State: AHPjjUi9QLgwv9kPYF+QqI1HGqReNM7HUw7WVtidBsp4QJlf3Q5b7H4U XWM9xHigjgpHSt8NT4+MIJ4= X-Google-Smtp-Source: AOwi7QB9265nltyWoyZR2yG69PWHZpQ/N+78X5Z1jqlaFI2JBmKOhYjVQ5iQ1Udy4vkKHrXHIBdDjg== X-Received: by 10.99.172.2 with SMTP id v2mr17190686pge.200.1507099808862; Tue, 03 Oct 2017 23:50:08 -0700 (PDT) Received: from aurora.jms.id.au ([203.0.153.9]) by smtp.gmail.com with ESMTPSA id j186sm24441418pfg.164.2017.10.03.23.50.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 03 Oct 2017 23:50:06 -0700 (PDT) Received: by aurora.jms.id.au (sSMTP sendmail emulation); Wed, 04 Oct 2017 17:19:58 +1030 From: Joel Stanley To: Joel Stanley , Rob Herring , Mark Rutland Subject: [PATCH v2 4/9] ARM: dts: aspeed-romulus: Add I2C devices Date: Wed, 4 Oct 2017 17:19:12 +1030 Message-Id: <20171004064917.2498-5-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 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. Reviewed-by: Brendan Higgins Signed-off-by: Joel Stanley Reviewed-by: Andrew Jeffery --- v2: - Use okay not enabled for the status --- 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..8b96baf7c4de 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 = "okay"; +}; + +&i2c7 { + /* PCIe slot 2 (x16) */ + status = "okay"; +}; + +&i2c8 { + /* PCIe slot 3 (x16) */ + status = "okay"; +}; + +&i2c9 { + /* PCIe slot 4 (x16) */ + status = "okay"; +}; + +&i2c10 { + /* PCIe slot 5 (x8) */ + status = "okay"; +}; + +&i2c11 { + status = "okay"; + + rtc@32 { + compatible = "epson,rx8900"; + reg = <0x32>; + }; +}; + +&i2c12 { + status = "okay"; +};