Message ID | 1547663874-29411-4-git-send-email-fabrizio.castro@bp.renesas.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
Series | Add basic EK874 support | expand |
On Wed, Jan 16, 2019 at 7:38 PM Fabrizio Castro <fabrizio.castro@bp.renesas.com> wrote: > From: Biju Das <biju.das@bp.renesas.com> > > Basic support for the Si-Linux board based on RZ/G2E: > - Memory, > - Main crystal, > - Serial console > > Signed-off-by: Biju Das <biju.das@bp.renesas.com> > Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com> > Reviewed-by: Chris Paterson <Chris.Paterson2@renesas.com> Pending acceptance of the DT bindings Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> > --- /dev/null > +++ b/arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts > + chosen { > + bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp"; FWIW, the root and ip parameters won't do anything, until you add network support. > + stdout-path = "serial0:115200n8"; > + }; Gr{oetje,eeting}s, Geert
On Thu, Jan 17, 2019 at 12:04:51PM +0100, Geert Uytterhoeven wrote: > On Wed, Jan 16, 2019 at 7:38 PM Fabrizio Castro > <fabrizio.castro@bp.renesas.com> wrote: > > From: Biju Das <biju.das@bp.renesas.com> > > > > Basic support for the Si-Linux board based on RZ/G2E: > > - Memory, > > - Main crystal, > > - Serial console > > > > Signed-off-by: Biju Das <biju.das@bp.renesas.com> > > Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com> > > Reviewed-by: Chris Paterson <Chris.Paterson2@renesas.com> > > Pending acceptance of the DT bindings > Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> I have applied the binding patch locally and intend to include it in my next push. With that in mind I have also applied this patch for v5.1. > > > --- /dev/null > > +++ b/arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts > > > + chosen { > > + bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp"; > > FWIW, the root and ip parameters won't do anything, until you add network > support. True, but I don't think that warrants a respin. > > > + stdout-path = "serial0:115200n8"; > > + }; > > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org > > In personal conversations with technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like that. > -- Linus Torvalds >
diff --git a/arch/arm64/boot/dts/renesas/Makefile b/arch/arm64/boot/dts/renesas/Makefile index a8ce659..11997d7 100644 --- a/arch/arm64/boot/dts/renesas/Makefile +++ b/arch/arm64/boot/dts/renesas/Makefile @@ -1,4 +1,5 @@ # SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_R8A774C0) += r8a774c0-cat874.dtb dtb-$(CONFIG_ARCH_R8A7795) += r8a7795-salvator-x.dtb r8a7795-h3ulcb.dtb dtb-$(CONFIG_ARCH_R8A7795) += r8a7795-h3ulcb-kf.dtb dtb-$(CONFIG_ARCH_R8A7795) += r8a7795-salvator-xs.dtb diff --git a/arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts b/arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts new file mode 100644 index 0000000..6eababc --- /dev/null +++ b/arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts @@ -0,0 +1,37 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the Silicon Linux RZ/G2E 96board platform (CAT874) + * + * Copyright (C) 2019 Renesas Electronics Corp. + */ + +/dts-v1/; +#include "r8a774c0.dtsi" + +/ { + model = "Silicon Linux RZ/G2E 96board platform (CAT874)"; + compatible = "si-linux,cat874", "renesas,r8a774c0"; + + aliases { + serial0 = &scif2; + }; + + chosen { + bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp"; + stdout-path = "serial0:115200n8"; + }; + + memory@48000000 { + device_type = "memory"; + /* first 128MB is reserved for secure area. */ + reg = <0x0 0x48000000 0x0 0x78000000>; + }; +}; + +&extal_clk { + clock-frequency = <48000000>; +}; + +&scif2 { + status = "okay"; +};