public inbox for cip-dev@lists.cip-project.org
 help / color / mirror / Atom feed
From: ben.hutchings@codethink.co.uk (Ben Hutchings)
To: cip-dev@lists.cip-project.org
Subject: [cip-dev] [PATCH 01/14] ARM: dts: r8a7743: initial SoC device tree
Date: Tue, 22 Aug 2017 19:07:33 +0100	[thread overview]
Message-ID: <1503425253.2047.148.camel@codethink.co.uk> (raw)
In-Reply-To: <1502185828-45443-2-git-send-email-biju.das@bp.renesas.com>

On Tue, 2017-08-08 at 10:50 +0100, Biju Das wrote:
> The  initial r8A7743 SoC device tree including CPU0, GIC and timer.
> 
> Signed-off-by: Biju Das <biju.das@bp.renesas.com>

I compared this to the upstream version (commit
34e8d993a68ae459ad98c27afc07647e439deacc) and I roughly understand why
the clocks are described differently, but can you explain why there's no
soc node?

Ben.

> ---
>  arch/arm/boot/dts/r8a7743.dtsi | 56 ++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 56 insertions(+)
>  create mode 100644 arch/arm/boot/dts/r8a7743.dtsi
> 
> diff --git a/arch/arm/boot/dts/r8a7743.dtsi b/arch/arm/boot/dts/r8a7743.dtsi
> new file mode 100644
> index 0000000..8575a2f
> --- /dev/null
> +++ b/arch/arm/boot/dts/r8a7743.dtsi
> @@ -0,0 +1,56 @@
> +/*
> + * Device Tree Source for the r8a7743 SoC
> + *
> + * Copyright (C) 2017 Renesas Electronics Corp.
> + *
> + * This file is licensed under the terms of the GNU General Public License
> + * version 2.  This program is licensed "as is" without any warranty of any
> + * kind, whether express or implied.
> + */
> +
> +#include <dt-bindings/interrupt-controller/arm-gic.h>
> +#include <dt-bindings/interrupt-controller/irq.h>
> +
> +/ {
> +	compatible = "renesas,r8a7743";
> +	interrupt-parent = <&gic>;
> +	#address-cells = <2>;
> +	#size-cells = <2>;
> +
> +	cpus {
> +		#address-cells = <1>;
> +		#size-cells = <0>;
> +
> +		cpu0: cpu at 0 {
> +			device_type = "cpu";
> +			compatible = "arm,cortex-a15";
> +			reg = <0>;
> +			clock-frequency = <1500000000>;
> +		};
> +	};
> +
> +	gic: interrupt-controller at f1001000 {
> +		compatible = "arm,gic-400";
> +		#interrupt-cells = <3>;
> +		#address-cells = <0>;
> +		interrupt-controller;
> +		reg = <0 0xf1001000 0 0x1000>,
> +		      <0 0xf1002000 0 0x1000>,
> +		      <0 0xf1004000 0 0x2000>,
> +		      <0 0xf1006000 0 0x2000>;
> +		interrupts = <1 9 (GIC_CPU_MASK_SIMPLE(2) |
> +				   IRQ_TYPE_LEVEL_HIGH)>;
> +	};
> +
> +	timer {
> +		compatible = "arm,armv7-timer";
> +		interrupts = <1 13 (GIC_CPU_MASK_SIMPLE(2) |
> +				    IRQ_TYPE_LEVEL_LOW)>,
> +			     <1 14 (GIC_CPU_MASK_SIMPLE(2) |
> +				    IRQ_TYPE_LEVEL_LOW)>,
> +			     <1 11 (GIC_CPU_MASK_SIMPLE(2) |
> +				    IRQ_TYPE_LEVEL_LOW)>,
> +			     <1 10 (GIC_CPU_MASK_SIMPLE(2) |
> +				    IRQ_TYPE_LEVEL_LOW)>;
> +	};
> +};

-- 
Ben Hutchings
Software Developer, Codethink Ltd.

  reply	other threads:[~2017-08-22 18:07 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-08  9:50 [cip-dev] [PATCH 00/14] Add Device tree support for iWave G20D-Q7 board Biju Das
2017-08-08  9:50 ` [cip-dev] [PATCH 01/14] ARM: dts: r8a7743: initial SoC device tree Biju Das
2017-08-22 18:07   ` Ben Hutchings [this message]
2017-08-23  7:36     ` Biju Das
2017-08-25 15:40       ` Ben Hutchings
2017-08-25 15:52         ` Biju Das
2017-08-08  9:50 ` [cip-dev] [PATCH 02/14] ARM: shmobile: r8a7743: Add clock index macros for DT sources Biju Das
2017-08-08  9:50 ` [cip-dev] [PATCH 03/14] clk: shmobile: Document r8a7743 CPG clock support Biju Das
2017-08-08  9:50 ` [cip-dev] [PATCH 04/14] clk: shmobile: Document r8a7743 CPG DIV6 " Biju Das
2017-08-08  9:50 ` [cip-dev] [PATCH 05/14] clk: shmobile: Document r8a7743 MSTP " Biju Das
2017-08-08  9:50 ` [cip-dev] [PATCH 06/14] ARM: dts: r8a7743: Add clocks Biju Das
2017-08-08  9:50 ` [cip-dev] [PATCH 07/14] ARM: dts: r8a7743: add SYS-DMAC support Biju Das
2017-08-08  9:50 ` [cip-dev] [PATCH 08/14] ARM: dts: r8a7743: add [H]SCIF{A|B} support Biju Das
2017-08-08  9:50 ` [cip-dev] [PATCH 09/14] ARM: dts: r8a7743: add Ether support Biju Das
2017-08-08  9:50 ` [cip-dev] [PATCH 10/14] ARM: dts: r8a7743: add IRQC support Biju Das
2017-08-08  9:50 ` [cip-dev] [PATCH 11/14] ARM: dts: iwg20m: Add iWave RZG1M Qseven SOM Biju Das
2017-08-08  9:50 ` [cip-dev] [PATCH 12/14] ARM: dts: iwg20d-q7: Add support for iWave G20D-Q7 board based on RZ/G1M Biju Das
2017-08-08  9:50 ` [cip-dev] [PATCH 13/14] ARM: shmobile: defconfig: Enable r8a774[35] SoCs Biju Das
2017-08-08  9:50 ` [cip-dev] [PATCH 14/14] ARM: multi_v7_defconfig: " Biju Das
2017-08-08 10:18 ` [cip-dev] [PATCH 00/14] Add Device tree support for iWave G20D-Q7 board Chris Paterson

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=1503425253.2047.148.camel@codethink.co.uk \
    --to=ben.hutchings@codethink.co.uk \
    --cc=cip-dev@lists.cip-project.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