From patchwork Thu May 14 16:11:05 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 48513 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f197.google.com (mail-wi0-f197.google.com [209.85.212.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 764A6214BA for ; Thu, 14 May 2015 16:11:35 +0000 (UTC) Received: by wizk4 with SMTP id k4sf24317742wiz.2 for ; Thu, 14 May 2015 09:11:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=gTGdvhKTfr+cPaRidz9NHLpp6ACXsk32krm/tOBggSI=; b=KCmujxWjsQFxqJ/SxVm7Kxb+Qb4jsuVqPc4MXiNuqXtvExyxm3tivoVMt0anuJqGca ahNDQTDgWs1VAMOBJPNPyd+P4uYOWtqk6BG1lQLIQpmX/KrllXgdJAvI6xdn+AkgC/WD RgUOrmfAC1yRd+VDUmZYjG9IromVxhtrVVpgIvcl8+ib6u2xS1qazj7NqG1ZUoN4YPR2 Fn3PGzfSFB7tGnLCj1EvALr4pFEl9YxMCu7zw2iRbLAbCpq6ThzGzSmJFoHD6Gl3SwLI eC0IUpmoucyBilNA4gEdMoUmASKE7dXqjA4zdlEocpo0H+VC+KEEuugtSDV4IiQ600lm pCNQ== X-Gm-Message-State: ALoCoQnEFahLvHxffB7YUnKlleDz8OoqNP8zG0SRzu9oSWdMFeth0TebnkIqVAPpRSlekN38GjZp X-Received: by 10.180.216.12 with SMTP id om12mr9638671wic.1.1431619894755; Thu, 14 May 2015 09:11:34 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.23.197 with SMTP id o5ls397952laf.66.gmail; Thu, 14 May 2015 09:11:34 -0700 (PDT) X-Received: by 10.153.11.163 with SMTP id ej3mr3723102lad.105.1431619894599; Thu, 14 May 2015 09:11:34 -0700 (PDT) Received: from mail-la0-f52.google.com (mail-la0-f52.google.com. [209.85.215.52]) by mx.google.com with ESMTPS id p9si14824049laj.176.2015.05.14.09.11.34 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 May 2015 09:11:34 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.52 as permitted sender) client-ip=209.85.215.52; Received: by lagv1 with SMTP id v1so74854119lag.3 for ; Thu, 14 May 2015 09:11:34 -0700 (PDT) X-Received: by 10.112.140.231 with SMTP id rj7mr3766059lbb.76.1431619894497; Thu, 14 May 2015 09:11:34 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp1375766lbb; Thu, 14 May 2015 09:11:33 -0700 (PDT) X-Received: by 10.66.102.36 with SMTP id fl4mr9533035pab.71.1431619892736; Thu, 14 May 2015 09:11:32 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v1si33041366pbs.72.2015.05.14.09.11.31; Thu, 14 May 2015 09:11:32 -0700 (PDT) Received-SPF: none (google.com: devicetree-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965132AbbENQLX (ORCPT + 7 others); Thu, 14 May 2015 12:11:23 -0400 Received: from mail-la0-f43.google.com ([209.85.215.43]:35559 "EHLO mail-la0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965135AbbENQLV (ORCPT ); Thu, 14 May 2015 12:11:21 -0400 Received: by labbd9 with SMTP id bd9so74954581lab.2 for ; Thu, 14 May 2015 09:11:20 -0700 (PDT) X-Received: by 10.112.157.164 with SMTP id wn4mr3822457lbb.100.1431619880344; Thu, 14 May 2015 09:11:20 -0700 (PDT) Received: from localhost.localdomain ([85.235.11.236]) by mx.google.com with ESMTPSA id ew6sm6259045lbc.40.2015.05.14.09.11.18 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 May 2015 09:11:19 -0700 (PDT) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Cc: Linus Walleij Subject: [PATCH 2/4] ARM: ux500: add board documentation Date: Thu, 14 May 2015 18:11:05 +0200 Message-Id: <1431619867-14700-3-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1431619867-14700-1-git-send-email-linus.walleij@linaro.org> References: <1431619867-14700-1-git-send-email-linus.walleij@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: linus.walleij@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.52 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This documents the device tree bindings on the top level of the Ux500 boards. Signed-off-by: Linus Walleij --- .../devicetree/bindings/arm/ux500/boards.txt | 83 ++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/ux500/boards.txt diff --git a/Documentation/devicetree/bindings/arm/ux500/boards.txt b/Documentation/devicetree/bindings/arm/ux500/boards.txt new file mode 100644 index 000000000000..b8737a8de718 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/ux500/boards.txt @@ -0,0 +1,83 @@ +ST-Ericsson Ux500 boards +------------------------ + +Required properties (in root node) one of these: + compatible = "st-ericsson,mop500" (legacy) + compatible = "st-ericsson,u8500" + +Required node (under root node): + +soc: represents the system-on-chip and contains the chip +peripherals + +Required property of soc node, one of these: + compatible = "stericsson,db8500" + +Required subnodes under soc node: + +backupram: (used for CPU spin tables and for storing data +during retention, system won't boot without this): + compatible = "ste,dbx500-backupram" + +scu: + see binding for arm/scu.txt + +interrupt-controller: + see binding for arm/gic.txt + +timer: + see binding for arm/twd.txt + +clocks: + see binding for clocks/ux500.txt + +Example: + +/dts-v1/; + +/ { + model = "ST-Ericsson HREF (pre-v60) and ST UIB"; + compatible = "st-ericsson,mop500", "st-ericsson,u8500"; + + soc { + #address-cells = <1>; + #size-cells = <1>; + compatible = "stericsson,db8500"; + interrupt-parent = <&intc>; + ranges; + + backupram@80150000 { + compatible = "ste,dbx500-backupram"; + reg = <0x80150000 0x2000>; + }; + + intc: interrupt-controller@a0411000 { + compatible = "arm,cortex-a9-gic"; + #interrupt-cells = <3>; + #address-cells = <1>; + interrupt-controller; + reg = <0xa0411000 0x1000>, + <0xa0410100 0x100>; + }; + + scu@a04100000 { + compatible = "arm,cortex-a9-scu"; + reg = <0xa0410000 0x100>; + }; + + timer@a0410600 { + compatible = "arm,cortex-a9-twd-timer"; + reg = <0xa0410600 0x20>; + interrupts = <1 13 0x304>; /* IRQ level high per-CPU */ + clocks = <&smp_twd_clk>; + }; + + clocks { + compatible = "stericsson,u8500-clks"; + + smp_twd_clk: smp-twd-clock { + #clock-cells = <0>; + }; + }; + }; +};