From patchwork Wed Oct 4 06:49:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 114749 Delivered-To: patch@linaro.org Received: by 10.80.163.150 with SMTP id s22csp5636412edb; Tue, 3 Oct 2017 23:50:34 -0700 (PDT) X-Received: by 10.98.49.67 with SMTP id x64mr19935813pfx.11.1507099834440; Tue, 03 Oct 2017 23:50:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507099834; cv=none; d=google.com; s=arc-20160816; b=mh5R9vEEg2Z1jfcXY07zcvsl5gSD7raKiwp9rzCoyn8l83g8Pd0405QhIOByFdj6mL IGM5nurjPrcl/i7Y5KiYz0hwrgyCCZ2viYMG3bVlyAVOhdh2QWfswet/0xXCdn8GFgf1 stVXhJxOBA9JTqoaMlvYA2uVMZEByv8QqXmTv4lC/Pz9XquEJ+HtoIx9M17ReBE9FX54 cNvy7UIdHUbIKLl6SQTQCkzVSUh3KnZuHBHg9+UxqpnDWY18I433xAhcEsBuC9xs+75B gFuiMHEq0DHyT+14h3xtw+uwvbBXkbgD+tQB5OySJPU6POf3YHfOJMh57u+i3cjtBNu+ QM2Q== 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=AgMB7LCAp6oK6UrLoY76Z/WgmNH3ZVH6WihZgVJN8X0=; b=0pofJv6kRPUToscTAjBf2aQPAn7+S9VnNPPZ95Dz2c++G+ZvruQwiIXkGld3+kHn3D FLKi4YeEWP/FhFRgGeqQJgOH7SyiY4e5AhvGrCYz0q1s3ff/2VGeB/jr0bs+XVEqM2o4 uv42JfdkinXkzPe0A5NuxW8iJKI87eK/9lEjYjSwcfY3cX6v0zMBO3ipqKmKqL4vs8sh JzJSQlwK/DcmcmmUel1LMeQNgp5+fhAKx2mQ27XrY71fC4ccwKPDTwgvGXdEr86cm7MK bd7UBtzhNXhs/qvok/xoEOQ8raM8+9ZwINov9Dt/jAKQoQNlYNwPd2Dlp9AX8XAW5qpI UGIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=c/mWVa4A; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 l89si11231472pfk.260.2017.10.03.23.50.34; Tue, 03 Oct 2017 23:50:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=c/mWVa4A; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751770AbdJDGuc (ORCPT + 26 others); Wed, 4 Oct 2017 02:50:32 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:35550 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751177AbdJDGuT (ORCPT ); Wed, 4 Oct 2017 02:50:19 -0400 Received: by mail-pf0-f196.google.com with SMTP id i23so11545524pfi.2; Tue, 03 Oct 2017 23:50:19 -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=AgMB7LCAp6oK6UrLoY76Z/WgmNH3ZVH6WihZgVJN8X0=; b=c/mWVa4AbgXBZ8cD5spmmW6sthFQsoZuDgbTUeAklrbotyJzAeJD4Ayo2HnKlNFjRK vGEuEagc3Irn6Hc8MusgdwOTk2wlelPaFG3ZuuMnJtItwbzF71mSQAi3OCpDJkeTT123 ya4tkQcmEe/BL7IP5AAwSXReU4S/VddJsx2LWE6UI/M4eBMSuZ3TtEXXP+TBdRQKcamd mleOwq+NfTQ2g4+D4+H8riB2X+RP9GCiwJEh7mLJQhsVCYUJu8P0U0S2qTJ58yftaAMb Il5rppuRWAR1EYTjKXxakqHZBRsQqFb5ljlFddRM4GavkOm4X+VgS1Huzzqk4SGvnDcg MQng== 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=AgMB7LCAp6oK6UrLoY76Z/WgmNH3ZVH6WihZgVJN8X0=; b=cpPAsF31RdTkr7CkJoCH8ExfE7QMmXnIbmAH7Gvk0di0EKlz47aaEJTKWyF6wqjnpE jepSVk8/e4++vTLf6q2QGtpoXtz9qmdA0NIKbhPodkP72ZC920n8w93lbcTKR595XTP8 eOd8hvioM+ulLDx/dM/ooDw4bANqScIKWZxrrDe6CDYRMLOT0hjAGK+aS/FG8fTHpu0d qARgMw3Qqpa7ZIXK3bCK+Ruf+rxQ67VyZDoW8dob5cRh0j7+pdnU8dn4l1EnNWkFvqAK 0ff+8Rb1DR2jFjFQyvm8FLJunjeu+zHUHWWKg9HuvyiF0tD2eW90Jj0MH27dQYQsyPHR UNTA== X-Gm-Message-State: AMCzsaUcJ5Ctbs0AJk9tozHnWD52oC43BCVKoADo0pv9hypXIjxuC1mw njnqOqookTw9zbzzTKFWFXw= X-Google-Smtp-Source: AOwi7QDIHF6G/XrWEKU0Lh+wxJRLC/oZ/Pf8hSsccWkLw5XccpdGpq7jcaorgU/2N0KG5YalrMvZ3w== X-Received: by 10.101.78.130 with SMTP id b2mr10964936pgs.160.1507099818894; Tue, 03 Oct 2017 23:50:18 -0700 (PDT) Received: from aurora.jms.id.au ([203.0.153.9]) by smtp.gmail.com with ESMTPSA id l12sm22894629pgr.10.2017.10.03.23.50.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 03 Oct 2017 23:50:16 -0700 (PDT) Received: by aurora.jms.id.au (sSMTP sendmail emulation); Wed, 04 Oct 2017 17:20:09 +1030 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 v2 5/9] ARM: dts: aspeed-palmetto: Add I2C devices Date: Wed, 4 Oct 2017 17:19:13 +1030 Message-Id: <20171004064917.2498-6-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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk 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 includes the battery backed RTC, temperature measurement and EEPROM. 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 Reviewed-by: Andrew Jeffery Signed-off-by: Joel Stanley --- arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts | 48 +++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) -- 2.14.1 diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts b/arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts index 112551766275..e387c80b7f4f 100644 --- a/arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts +++ b/arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts @@ -61,3 +61,51 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_rmii1_default>; }; + +&i2c0 { + status = "okay"; + + eeprom@50 { + compatible = "atmel,24c256"; + reg = <0x50>; + pagesize = <64>; + }; + + rtc@68 { + compatible = "dallas,ds3231"; + reg = <0x68>; + }; +}; + +&i2c1 { + status = "okay"; +}; + +&i2c2 { + status = "okay"; + + tmp423@4c { + compatible = "ti,tmp423"; + reg = <0x4c>; + }; +}; + +&i2c3 { + status = "okay"; +}; + +&i2c4 { + status = "okay"; +}; + +&i2c5 { + status = "okay"; +}; + +&i2c6 { + status = "okay"; +}; + +&i2c7 { + status = "okay"; +};