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: 6394821 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 63CAF9F1C2 for ; Wed, 13 May 2015 08:06:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9AC922040F for ; Wed, 13 May 2015 08:06:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B4F22203F7 for ; Wed, 13 May 2015 08:06:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933319AbbEMIFw (ORCPT ); Wed, 13 May 2015 04:05:52 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:38655 "EHLO mail-wi0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753866AbbEMIE5 (ORCPT ); Wed, 13 May 2015 04:04:57 -0400 Received: by wicnf17 with SMTP id nf17so45171653wic.1 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=NwYz9rKWcBwqrZlILXlk9y4/KbV/0OaxNckcKPzXrQS86sgCAuW3Lnl7PjzZ1umwY1 3k2laxSB1MfJMfgofzsLIDSnWcyIAIZ9LcbEgkK/O+5pXFj28Yg2O3l145VfSBXXz8kB 1+k2U2BbpdKlWs2c+vv+xpHQFxvSDCwFT+BXNhWjA18oyyBnDgVDU49JBxTTraaEaE1Q vO0aR1FbQ6sibE411oYGLRexO+O19TryMi2q7skt3s1N46d+giW2YQYrXdmv/lw1gYO+ ml/HGrN0qED3ZbcGRsHseDFLWIkFPPbT2SusKCHQ6mQot0SYelvOlaVcNtt8Ms8M9/cY mFeA== X-Gm-Message-State: ALoCoQlrzLMOPOSIVC7ZyV5FaY4OiCEqEbI06NWz45Fe7XSxn6lWl33oEjcbMLlsckWLIy69t6zQ 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 Cc: Tony Lindgren , Rob Herring , Grant Likely , Matt Porter , Koen Kooi , Robert Nelson , Srinivas Kandagatla , Guenter Roeck , Geert Uytterhoeven , devicetree@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Pantelis Antoniou , Pantelis Antoniou 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 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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>; + }; + }; + }; +};