From mboxrd@z Thu Jan 1 00:00:00 1970 From: kernel-TqfNSX0MhmxHKSADF0wUEw@public.gmane.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> References: <1463586030-2778-1-git-send-email-kernel@martin.sperl.org> Return-path: In-Reply-To: <1463586030-2778-1-git-send-email-kernel-TqfNSX0MhmxHKSADF0wUEw@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Rob Herring , Pawel Moll , Mark Rutland , Stephen Warren , Lee Jones , Eric Anholt , Russell King , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org Cc: Martin Sperl List-Id: devicetree@vger.kernel.org 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 --- .../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"; +}; -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html