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: 114397 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp434694qgf; Thu, 28 Sep 2017 00:52:50 -0700 (PDT) X-Received: by 10.98.158.26 with SMTP id s26mr3504992pfd.284.1506585170088; Thu, 28 Sep 2017 00:52:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506585170; cv=none; d=google.com; s=arc-20160816; b=upfPK9wRKPG0SXECpemNw6sFVizRIes5JOWVEFHJq86J16Tu9EEosOpuDXf8Y0ssnS PGzpLUwpBjP0XMKkwPhIbNy8roJrhL5SeD2PO93nCTB3D6XtCjSetrdqGdH/RjRrIv6f Z9/VuJMI+OSmTfUpv3HxZ6GFyRLuLdnv9nUWxg5jNUtRGcl4cDL6vAtXmsMTJjLdXFIU 1OvaTfDYBGlvLVAgPyVvm8jrqMdeQDaimd+Rr+AGo2Ece2D8NbbD76gr+9wgzANwEdIb l+ioA9YRhGgd4ceAB8cnlOtRkdGWxLDpRtLsMPP14Nmvo9jEKYavYLN4f+OZtV146j4S FxSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=KdRXjtGaXXPO4SRa756a4AJhztvQ/rPKdgqrQKa1Qak=; b=cXfpwm6VT391o7bSbNJxscam43OYYiGAz9RzI484Hrb9o/GJr7OptoWSbypRTcoQzs 4M5ssMgVwJkM4psAjUXWM2r03twuFFUFbL1dgkuh3nviVbQ3fMLmDoBiMtjs28Aa3l7+ WZ9WwMbC3EGLKMpDptN3ep08ZJ+tpxhjVtKGNsaaOCgdaa/JMUkDUVSsQL5KrqRdfg8Z /LlqlKQxWMldp3tUAAgD1eHIHfEgrAJ9Ib1FBOUHW0RwkPRzZg8azy/fy/vCEQ4PH61o CRSxnFCWzmZ1lF1xFNZYd+Y2pzqj/RMU2vzmmvKsmIWd0ZY1hNbcgKd1wlnvMYL3C35t yAJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=fitJLvKT; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e62si875233pfa.483.2017.09.28.00.52.49; Thu, 28 Sep 2017 00:52:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=fitJLvKT; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751880AbdI1Hws (ORCPT + 6 others); Thu, 28 Sep 2017 03:52:48 -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 Received: by mail-pf0-f193.google.com with SMTP id e69so788555pfg.4; 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=II2ZBmuT/s/wSLlQ5gXKuybr5CA6iT56Pi3EvqOoTBs5SJshQmmoHpbquMjIzWAVFn rzNDAUhqvpccP6upAjQLbt1iKnc0NXHjv7F607fXePkTpme/DPDxTXQehTrBRvzUELWN WACWsh7QFq46kGDg/1VxoKK391+S1wjT5qd4p9qG277jLojFJq3dJ5sYQHj3zIcbRi9l GcmZE345ULqhntC3pcHjlDDUVpdlBupIRcYYW2y1Nk4PzkkAeCM/mbaH0X+CKRM1pv2Q gVEfVvrPh38UvN1NuFoPHgWqD+aRanQSbhEIDDu8yuQYHe/0Q44eA1vYAPwAU+qu181q rMuw== X-Gm-Message-State: AHPjjUhUQW0cHEDKFC5khHkc/65a6ji2Y7fCDE0Bfui64q2PfwBhUu/u q0JsR0GaidXgESStsPnIWtY= 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 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_Le_?= =?utf-8?q?Goater?= , 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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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(+) -- 2.14.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Reviewed-by: Brendan Higgins 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"; +};