From patchwork Mon Dec 1 13:24:56 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 416446 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 0BAB514017F for ; Tue, 2 Dec 2014 00:26:14 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753437AbaLANZU (ORCPT ); Mon, 1 Dec 2014 08:25:20 -0500 Received: from mail-wg0-f47.google.com ([74.125.82.47]:58929 "EHLO mail-wg0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753698AbaLANZR (ORCPT ); Mon, 1 Dec 2014 08:25:17 -0500 Received: by mail-wg0-f47.google.com with SMTP id n12so14148147wgh.20 for ; Mon, 01 Dec 2014 05:25:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:in-reply-to:references:content-type; bh=RcnUwQ1ufrDLTxB9KFmyegC/wzZMahAnGmEBMMg/FwU=; b=ZQp9W9F45WYHghhegg/4fWjT3jS0WCyUSr+EQiVJk3vxyxTlVhHCijVB3UfD2XemOd pFUScXqah2Q19BYehzvywu77RQH1Cyw0S17Bvu6VqcYecYtGho0ojrb62Dhpyt0cVkPT dhwa0cpNumcvrYOX/RRAeHQce0cU9v3OQRF5w2hT17tpe4f4CbmNKKXHArRceYqUAl// fbyBKERuqILdbMkOP7Hi7AJcm5Ilo7KGQcOPtVF6xaTQvjGuKdIGKMYOGm+ynW5u/cJB hCiry9IlKxdxliXAB1g1+EzT939ftZxwM4+eeJYAg/lPWxI0hECuHHMww/0wybWQga8U OoZw== X-Gm-Message-State: ALoCoQnsFMoz+c6iYL+eW3NjfA1Rp7PGYyQcYD7x4fc7iu7n7/7loxx3/Lgx8Yoq2Zz0KCB0WnKa X-Received: by 10.194.250.105 with SMTP id zb9mr94448403wjc.123.1417440315050; Mon, 01 Dec 2014 05:25:15 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by mx.google.com with ESMTPSA id ud1sm27593157wjc.7.2014.12.01.05.25.13 for (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Mon, 01 Dec 2014 05:25:14 -0800 (PST) From: Michal Simek To: linux-arm-kernel@lists.infradead.org, Soren Brinkmann , Olof Johansson , Arnd Bergmann Cc: Michal Simek , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 5/7] devicetree: bindings: Add zynq ocmc node description Date: Mon, 1 Dec 2014 14:24:56 +0100 Message-Id: X-Mailer: git-send-email 1.8.2.3 In-Reply-To: References: In-Reply-To: References: Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add binding for Zynq On Chip Memory controller driver which is taking care about On Chip Memory. Signed-off-by: Michal Simek --- Changes in v5: - Separate binding from the driver Changes in v4: None Changes in v3: None Changes in v2: None .../devicetree/bindings/arm/zynq/xlnx,zynq-ocmc.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/zynq/xlnx,zynq-ocmc.txt -- 1.8.2.3 diff --git a/Documentation/devicetree/bindings/arm/zynq/xlnx,zynq-ocmc.txt b/Documentation/devicetree/bindings/arm/zynq/xlnx,zynq-ocmc.txt new file mode 100644 index 000000000000..dcf221e8a16e --- /dev/null +++ b/Documentation/devicetree/bindings/arm/zynq/xlnx,zynq-ocmc.txt @@ -0,0 +1,17 @@ +Device tree bindings for Zynq's OCM controller + +The OCM is divided to 4 64kB segments which can be separately configured +to low or high location. Location is controlled via SLCR. + +Required properties: + compatible: Compatibility string. Must be "xlnx,zynq-ocmc-1.0". + reg: Specify the base and size of the OCMC registers in the memory map. + E.g.: reg = <0xf800c000 0x1000>; + +Example: +ocmc: memory-controller@f800c000 { + compatible = "xlnx,zynq-ocmc-1.0"; + interrupt-parent = <&intc>; + interrupts = <0 3 4>; + reg = <0xf800c000 0x1000>; +};