From: cavokz@gmail.com (Domenico Andreoli)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 3/3] ARM: BCM5301X: add dts files for BCM4708 SoC
Date: Fri, 26 Jul 2013 03:01:56 +0200 [thread overview]
Message-ID: <20130726010156.GD22296@glitch> (raw)
In-Reply-To: <1374792135-30343-4-git-send-email-hauke@hauke-m.de>
On Fri, Jul 26, 2013 at 12:42:15AM +0200, Hauke Mehrtens wrote:
> This uses the newly added BCM5301X SoC code.
>
> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
> ---
> arch/arm/boot/dts/Makefile | 1 +
> arch/arm/boot/dts/bcm4708-netgear-r6250.dts | 20 ++++++++
> arch/arm/boot/dts/bcm4708.dtsi | 74 +++++++++++++++++++++++++++
> 3 files changed, 95 insertions(+)
> create mode 100644 arch/arm/boot/dts/bcm4708-netgear-r6250.dts
> create mode 100644 arch/arm/boot/dts/bcm4708.dtsi
>
> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
> index 641b3c9..6329f2d 100644
> --- a/arch/arm/boot/dts/Makefile
> +++ b/arch/arm/boot/dts/Makefile
> @@ -43,6 +43,7 @@ dtb-$(CONFIG_ARCH_AT91) += sama5d35ek.dtb
>
> dtb-$(CONFIG_ARCH_BCM2835) += bcm2835-rpi-b.dtb
> dtb-$(CONFIG_ARCH_BCM) += bcm11351-brt.dtb
> +dtb-$(CONFIG_ARCH_BCM5301X) += bcm4708-netgear-r6250.dtb
> dtb-$(CONFIG_ARCH_DAVINCI) += da850-enbw-cmc.dtb \
> da850-evm.dtb
> dtb-$(CONFIG_ARCH_DOVE) += dove-cm-a510.dtb \
> diff --git a/arch/arm/boot/dts/bcm4708-netgear-r6250.dts b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
> new file mode 100644
> index 0000000..34875f6
> --- /dev/null
> +++ b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
> @@ -0,0 +1,20 @@
> +/*
> + * Broadcom BCM470X / BCM5301X arm platform code.
> + *
> + * Copyright 2013 Hauke Mehrtens <hauke@hauke-m.de>
> + *
> + * Licensed under the GNU/GPL. See COPYING for details.
> + */
> +
> +/dts-v1/;
> +
> +#include "bcm4708.dtsi"
> +
> +/ {
> + compatible = "netgear,r6250v1", "brcm,bcm4708";
> + model = "Netgear R6250 V1 (BCM4708)";
> +
> + memory {
> + reg = <0x00000000 0x08000000>;
> + };
> +};
> diff --git a/arch/arm/boot/dts/bcm4708.dtsi b/arch/arm/boot/dts/bcm4708.dtsi
> new file mode 100644
> index 0000000..fbf1dcf
> --- /dev/null
> +++ b/arch/arm/boot/dts/bcm4708.dtsi
> @@ -0,0 +1,74 @@
> +/*
> + * Broadcom BCM470X / BCM5301X ARM platform code.
> + *
> + * Copyright 2013 Hauke Mehrtens <hauke@hauke-m.de>
> + *
> + * Licensed under the GNU/GPL. See COPYING for details.
> + */
> +
> +#include <dt-bindings/interrupt-controller/arm-gic.h>
> +#include <dt-bindings/interrupt-controller/irq.h>
> +
> +#include "skeleton.dtsi"
> +
> +/ {
> + compatible = "brcm,bcm4708";
> + model = "Broadcom BCM4708";
> + interrupt-parent = <&gic>;
> +
> + chosen {
> + bootargs = "console=ttyS0,115200 earlyprintk debug";
don't know if "earlyprintk debug" is appropriate here
> + };
> +
> + cpus {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + cpu at 0 {
> + device_type = "cpu";
> + compatible = "arm,cortex-a9";
> + reg = <0>;
> + };
> + };
> +
> + clocks {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + clk_periph: periph {
> + compatible = "fixed-clock";
> + #clock-cells = <0>;
> + clock-frequency = <400000000>;
> + };
> + };
> +
> + uart at 18000300 {
> + compatible = "ns16550";
> + reg = <0x18000300 0x100>;
> + interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
> + clock-frequency = <100000000>;
> + };
> +
> + uart at 18000400 {
> + compatible = "ns16550";
> + reg = <0x18000400 0x100>;
> + interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
> + clock-frequency = <100000000>;
> + };
> +
> + gic: interrupt-controller at 19021000 {
> + compatible = "arm,cortex-a9-gic";
> + #interrupt-cells = <3>;
> + #address-cells = <0>;
> + interrupt-controller;
> + reg = <0x19021000 0x1000>,
> + <0x19020100 0x100>;
> + };
> +
> + timer at 19020200 {
> + compatible = "arm,cortex-a9-global-timer";
> + reg = <0x19020200 0x100>;
> + interrupts = <GIC_PPI 11 IRQ_TYPE_LEVEL_HIGH>;
> + clocks = <&clk_periph>;
> + };
> +};
> --
> 1.7.10.4
prev parent reply other threads:[~2013-07-26 1:01 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-25 22:42 [PATCH v3 0/3] ARM: BCM5301X: initial support for the BCM5301X/BCM470X SoCs with ARM CPU Hauke Mehrtens
2013-07-25 22:42 ` [PATCH v3 1/3] " Hauke Mehrtens
2013-07-26 1:00 ` Domenico Andreoli
2013-07-26 8:55 ` Will Deacon
2013-07-26 14:39 ` Hauke Mehrtens
2013-07-26 16:53 ` Will Deacon
2013-07-27 19:49 ` Arnd Bergmann
2013-07-30 13:36 ` Will Deacon
2013-07-30 20:54 ` Hauke Mehrtens
2013-07-31 10:35 ` Will Deacon
2013-08-01 21:51 ` Hauke Mehrtens
2013-08-02 9:55 ` Will Deacon
2013-08-05 6:36 ` Afzal Mohammed
2013-07-25 22:42 ` [PATCH v3 2/3] ARM: BCM5301X: add early debugging support Hauke Mehrtens
2013-07-25 22:42 ` [PATCH v3 3/3] ARM: BCM5301X: add dts files for BCM4708 SoC Hauke Mehrtens
2013-07-26 1:01 ` Domenico Andreoli [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130726010156.GD22296@glitch \
--to=cavokz@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).