Message ID | 1599470390-29719-15-git-send-email-yoshihiro.shimoda.uh@renesas.com (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Geert Uytterhoeven |
Headers | show |
Series | treewide: add initial support for R-Car V3U | expand |
Hi Shimoda-san, On Mon, Sep 7, 2020 at 11:20 AM Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> wrote: > Initial support for the Renesas Falcon CPU and BreakOut boards > support. > > Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Thanks for your patch! > --- /dev/null > +++ b/arch/arm64/boot/dts/renesas/falcon-cpu.dtsi > @@ -0,0 +1,44 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * Device Tree Source for the Falcon CPU board > + * > + * Copyright (C) 2020 Renesas Electronics Corp. > + */ As this board contains the CPU, I had expected #include "r8a779a0.dtsi" here. > + > +/ { > + model = "Renesas Falcon CPU board"; > + compatible = "renesas,falcon-cpu"; + renesas,r8a779a0. Gr{oetje,eeting}s, Geert
Hi Geert-san, Thank you for your review! > From: Geert Uytterhoeven, Sent: Wednesday, September 9, 2020 2:21 AM > > Hi Shimoda-san, > > On Mon, Sep 7, 2020 at 11:20 AM Yoshihiro Shimoda > <yoshihiro.shimoda.uh@renesas.com> wrote: > > Initial support for the Renesas Falcon CPU and BreakOut boards > > support. > > > > Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> > > Thanks for your patch! > > > --- /dev/null > > +++ b/arch/arm64/boot/dts/renesas/falcon-cpu.dtsi > > @@ -0,0 +1,44 @@ > > +// SPDX-License-Identifier: GPL-2.0 > > +/* > > + * Device Tree Source for the Falcon CPU board > > + * > > + * Copyright (C) 2020 Renesas Electronics Corp. > > + */ > > As this board contains the CPU, I had expected > > #include "r8a779a0.dtsi" > > here. I got it. I'll add it. > > + > > +/ { > > + model = "Renesas Falcon CPU board"; > > + compatible = "renesas,falcon-cpu"; > > + renesas,r8a779a0. Oops. I'll add it. Also, I'll fix a compatible in the r8a779a0-falcon.dts. Best regards, Yoshihiro Shimoda
Hi Shimoda-san, On Thu, Sep 10, 2020 at 1:04 PM Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> wrote: > > From: Geert Uytterhoeven, Sent: Wednesday, September 9, 2020 2:21 AM > > On Mon, Sep 7, 2020 at 11:20 AM Yoshihiro Shimoda > > <yoshihiro.shimoda.uh@renesas.com> wrote: > > > Initial support for the Renesas Falcon CPU and BreakOut boards > > > support. > > > > > > Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> > > > > Thanks for your patch! > > > > > --- /dev/null > > > +++ b/arch/arm64/boot/dts/renesas/falcon-cpu.dtsi > > > @@ -0,0 +1,44 @@ > > > +// SPDX-License-Identifier: GPL-2.0 > > > +/* > > > + * Device Tree Source for the Falcon CPU board > > > + * > > > + * Copyright (C) 2020 Renesas Electronics Corp. > > > + */ > > > > As this board contains the CPU, I had expected > > > > #include "r8a779a0.dtsi" > > > > here. > > I got it. I'll add it. Thanks! BTW, I forgot to mention that the file should probably be named r8a779a0-falcon-cpu.dtsi, i.e. incl. the SoC part number prefix. Gr{oetje,eeting}s, Geert
Hi Geert-san, > From: Geert Uytterhoeven, Sent: Thursday, September 10, 2020 8:14 PM > > Hi Shimoda-san, > > On Thu, Sep 10, 2020 at 1:04 PM Yoshihiro Shimoda > <yoshihiro.shimoda.uh@renesas.com> wrote: > > > From: Geert Uytterhoeven, Sent: Wednesday, September 9, 2020 2:21 AM > > > On Mon, Sep 7, 2020 at 11:20 AM Yoshihiro Shimoda > > > <yoshihiro.shimoda.uh@renesas.com> wrote: > > > > Initial support for the Renesas Falcon CPU and BreakOut boards > > > > support. > > > > > > > > Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> > > > > > > Thanks for your patch! > > > > > > > --- /dev/null > > > > +++ b/arch/arm64/boot/dts/renesas/falcon-cpu.dtsi > > > > @@ -0,0 +1,44 @@ > > > > +// SPDX-License-Identifier: GPL-2.0 > > > > +/* > > > > + * Device Tree Source for the Falcon CPU board > > > > + * > > > > + * Copyright (C) 2020 Renesas Electronics Corp. > > > > + */ > > > > > > As this board contains the CPU, I had expected > > > > > > #include "r8a779a0.dtsi" > > > > > > here. > > > > I got it. I'll add it. > > Thanks! > > BTW, I forgot to mention that the file should probably be named > r8a779a0-falcon-cpu.dtsi, i.e. incl. the SoC part number prefix. I got it. I'll rename the file on v2 patch. Best regards, Yoshihiro Shimoda
diff --git a/arch/arm64/boot/dts/renesas/Makefile b/arch/arm64/boot/dts/renesas/Makefile index d790229..6757d66 100644 --- a/arch/arm64/boot/dts/renesas/Makefile +++ b/arch/arm64/boot/dts/renesas/Makefile @@ -53,3 +53,5 @@ dtb-$(CONFIG_ARCH_R8A77980) += r8a77980-v3hsk.dtb dtb-$(CONFIG_ARCH_R8A77990) += r8a77990-ebisu.dtb dtb-$(CONFIG_ARCH_R8A77995) += r8a77995-draak.dtb + +dtb-$(CONFIG_ARCH_R8A779A0) += r8a779a0-falcon.dtb diff --git a/arch/arm64/boot/dts/renesas/falcon-cpu.dtsi b/arch/arm64/boot/dts/renesas/falcon-cpu.dtsi new file mode 100644 index 0000000..0286279 --- /dev/null +++ b/arch/arm64/boot/dts/renesas/falcon-cpu.dtsi @@ -0,0 +1,44 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the Falcon CPU board + * + * Copyright (C) 2020 Renesas Electronics Corp. + */ + +/ { + model = "Renesas Falcon CPU board"; + compatible = "renesas,falcon-cpu"; + + memory@48000000 { + device_type = "memory"; + /* first 128MB is reserved for secure area. */ + reg = <0x0 0x48000000 0x0 0x78000000>; + }; + + memory@500000000 { + device_type = "memory"; + reg = <0x5 0x00000000 0x0 0x80000000>; + }; + + memory@600000000 { + device_type = "memory"; + reg = <0x6 0x00000000 0x0 0x80000000>; + }; + + memory@700000000 { + device_type = "memory"; + reg = <0x7 0x00000000 0x0 0x80000000>; + }; +}; + +&extal_clk { + clock-frequency = <16666666>; +}; + +&extalr_clk { + clock-frequency = <32768>; +}; + +&scif0 { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/renesas/r8a779a0-falcon.dts b/arch/arm64/boot/dts/renesas/r8a779a0-falcon.dts new file mode 100644 index 0000000..56c0e5f --- /dev/null +++ b/arch/arm64/boot/dts/renesas/r8a779a0-falcon.dts @@ -0,0 +1,23 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the Falcon board + * + * Copyright (C) 2020 Renesas Electronics Corp. + */ + +/dts-v1/; +#include "r8a779a0.dtsi" +#include "falcon-cpu.dtsi" + +/ { + model = "Renesas Falcon board based on r8a779a0"; + compatible = "renesas,falcon-cpu", "renesas,r8a779a0"; + + aliases { + serial0 = &scif0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +};
Initial support for the Renesas Falcon CPU and BreakOut boards support. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> --- arch/arm64/boot/dts/renesas/Makefile | 2 ++ arch/arm64/boot/dts/renesas/falcon-cpu.dtsi | 44 +++++++++++++++++++++++++ arch/arm64/boot/dts/renesas/r8a779a0-falcon.dts | 23 +++++++++++++ 3 files changed, 69 insertions(+) create mode 100644 arch/arm64/boot/dts/renesas/falcon-cpu.dtsi create mode 100644 arch/arm64/boot/dts/renesas/r8a779a0-falcon.dts