From patchwork Wed May 18 15:40:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Sperl X-Patchwork-Id: 9120681 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 DCBCCBF29F for ; Wed, 18 May 2016 15:42:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 159532034A for ; Wed, 18 May 2016 15:42:39 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DBA9520166 for ; Wed, 18 May 2016 15:42:34 +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 1b33ay-00037L-2b; Wed, 18 May 2016 15:41:12 +0000 Received: from 212-186-180-163.static.surfer.at ([212.186.180.163] helo=cgate.sperl.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1b33an-00031v-Tz; Wed, 18 May 2016 15:41:02 +0000 Received: from rasp3a.intern.sperl.org (account martin@sperl.org [10.10.10.43] verified) by sperl.org (CommuniGate Pro SMTP 6.1.2) with ESMTPSA id 6460084; Wed, 18 May 2016 15:40:35 +0000 From: kernel@martin.sperl.org To: Rob Herring , Pawel Moll , Mark Rutland , Stephen Warren , Lee Jones , Eric Anholt , Russell King , devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH-V2 1/6] dt: bindings: add bcm2835-memory-controller documentation Date: Wed, 18 May 2016 15:40:25 +0000 Message-Id: <1463586030-2778-2-git-send-email-kernel@martin.sperl.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1463586030-2778-1-git-send-email-kernel@martin.sperl.org> References: <1463586030-2778-1-git-send-email-kernel@martin.sperl.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160518_084102_158491_9C205441 X-CRM114-Status: UNSURE ( 9.05 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Martin Sperl 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=-5.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 From: Martin Sperl Add memory controller dt-binding documentation for the bcm2835 soc. Signed-off-by: Martin Sperl Changelog: V2 -> V3: added additional clock (for the Controller internal PLL) added clock-names added additional register ranges for the SDRAM Adress and Data PHY added reg-names Acked-by: Rob Herring --- .../memory-controllers/brcm,bcm2835-sdram.txt | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings/memory-controllers/brcm,bcm2835-sdram.txt diff --git a/Documentation/devicetree/bindings/memory-controllers/brcm,bcm2835-sdram.txt b/Documentation/devicetree/bindings/memory-controllers/brcm,bcm2835-sdram.txt new file mode 100644 index 0000000..5c4182f --- /dev/null +++ b/Documentation/devicetree/bindings/memory-controllers/brcm,bcm2835-sdram.txt @@ -0,0 +1,30 @@ +Binding for SDRAM driver for BCM2835 SoCs. + +Required parameters: +------------------- + +compatible : should be: "brcm,bcm2835-sdram" +reg : Address range of the register-set: + * SD + * APHY_CSR + * DPHY_CSR +reg-names : Names of the register ranges: + "sdram", "aphy_csr", "dphy_csr" +clocks : Phandle of the clocks used by the sdram + * low voltage clock + * pll parent clock +clock-names: Names of the clocks: + "low-voltage", "pll-parent" + +Example: + +memory-conroller@7ee00000 { + compatible = "brcm,bcm2835-sdram"; + reg = <0x7ee00000 0x18c>, + <0x7ee06000 0x94>, + <0x7ee07000 0x808>; + reg-names = "sdram", "aphy_csr", "dphy_csr"; + clocks = <&clocks BCM2835_CLOCK_SDRAM>, + <&clocks BCM2835_PLLD_CORE>; + clock-names = "low-voltage", "pll-parent"; +};