From patchwork Wed May 13 08:04:52 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pantelis Antoniou X-Patchwork-Id: 6394841 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id BF980BEEE1 for ; Wed, 13 May 2015 08:08:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EC9E7203FB for ; Wed, 13 May 2015 08:08:01 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 26A13203F7 for ; Wed, 13 May 2015 08:08:01 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YsRfc-0006sT-Sp; Wed, 13 May 2015 08:05:37 +0000 Received: from mail-wi0-f174.google.com ([209.85.212.174]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YsRfL-0005XA-Qk for linux-arm-kernel@lists.infradead.org; Wed, 13 May 2015 08:05:20 +0000 Received: by widdi4 with SMTP id di4so45103486wid.0 for ; Wed, 13 May 2015 01:04:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=CKNXZ5sbU6q6atN5QiPOgx7q+j+ByaHtuCyGoNhBngs=; b=QELPq5evO8oXbqw+Ktsl46+M0oXG4HENkiCZHTvtiAddJ+HFl4vr4Vbxh2SoSFjmfg nc6xoPHn1qeysTVW/a31X0+Gc6ETyPYcVa4Ctv5/tVEVuvL1xTCxYHxjs5YzSFgcApK0 JEGEFg+qknDI6bJh8mX9WoqLeSKXRmjQDI8vACVB6cdDi1CvDUvRLufs/V9jHHkpK/OB CF+QyTawL/Ri7SxFVhTuZx6yGntWFoMYwPI1cReSLdCzfbhNsj6PJCw9l+977d+0FDyo o7OsgduOjbdreYV3k8pKBbT+YwnA3arsI6iEdhDUPEKJu+1aE4JEvFAjzLA5tCt0EYKC VIdA== X-Gm-Message-State: ALoCoQncVlNFgwxMCW0IfBk3v8TyVqFdtzxZLYoQ/KDHmU+Um0Nge8fY2WbKPSCxnUMss+swWlL9 X-Received: by 10.181.13.113 with SMTP id ex17mr12480055wid.12.1431504296853; Wed, 13 May 2015 01:04:56 -0700 (PDT) Received: from sles11esa.localdomain ([195.97.110.117]) by mx.google.com with ESMTPSA id u9sm31574353wjx.15.2015.05.13.01.04.53 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 13 May 2015 01:04:56 -0700 (PDT) From: Pantelis Antoniou To: Benoit Cousson Subject: [PATCH] arm: dts: Enable beaglebone cape-manager Date: Wed, 13 May 2015 11:04:52 +0300 Message-Id: <1431504292-32132-1-git-send-email-pantelis.antoniou@konsulko.com> X-Mailer: git-send-email 1.7.12 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150513_010520_081084_B8282C6B X-CRM114-Status: UNSURE ( 8.60 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.3 (/) Cc: devicetree@vger.kernel.org, Geert Uytterhoeven , Tony Lindgren , Pantelis Antoniou , Koen Kooi , Pantelis Antoniou , linux-kernel@vger.kernel.org, Grant Likely , linux-arm-kernel@lists.infradead.org, Matt Porter , Srinivas Kandagatla , linux-omap@vger.kernel.org, Robert Nelson , Guenter Roeck X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Enable the cape manager on the beaglebone family of boards. Signed-off-by: Pantelis Antoniou --- arch/arm/boot/dts/am335x-bone-common.dtsi | 42 +++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi index 236b7db..28d9764 100644 --- a/arch/arm/boot/dts/am335x-bone-common.dtsi +++ b/arch/arm/boot/dts/am335x-bone-common.dtsi @@ -375,3 +375,45 @@ &sham { status = "okay"; }; + +/* the cape manager */ +/ { + bone_capemgr { + compatible = "ti,bone-capemgr"; + status = "okay"; + + eeprom = <&baseboard_data>; + + /* map board revisions to compatible definitions */ + baseboardmaps { + baseboard_beaglebone: board@0 { + board-name = "A335BONE"; + compatible-name = "ti,beaglebone"; + }; + + baseboard_beaglebone_black: board@1 { + board-name = "A335BNLT"; + compatible-name = "ti,beaglebone-black"; + }; + }; + + /* only 4 slots defined */ + slots { + slot@0 { + eeprom = <&cape0_data>; + }; + + slot@1 { + eeprom = <&cape1_data>; + }; + + slot@2 { + eeprom = <&cape2_data>; + }; + + slot@3 { + eeprom = <&cape3_data>; + }; + }; + }; +};