Message ID | 1463629845-7115-3-git-send-email-horms+renesas@verge.net.au (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Thu, May 19, 2016 at 5:50 AM, Simon Horman <horms+renesas@verge.net.au> wrote: > --- /dev/null > +++ b/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts > @@ -0,0 +1,45 @@ > + chosen { > + bootargs = "ignore_loglevel"; Perhaps you want this to be consistent with the other Renesas boards? git grep bootargs -- $(git grep -l renesas, -- arch/arm*/*dts) > + 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
On Thu, May 19, 2016 at 06:58:11PM +0200, Geert Uytterhoeven wrote: > On Thu, May 19, 2016 at 5:50 AM, Simon Horman > <horms+renesas@verge.net.au> wrote: > > --- /dev/null > > +++ b/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts > > @@ -0,0 +1,45 @@ > > > + chosen { > > + bootargs = "ignore_loglevel"; > > Perhaps you want this to be consistent with the other Renesas boards? > > git grep bootargs -- $(git grep -l renesas, -- arch/arm*/*dts) I omitted "rw root=/dev/nfs ip=dhcp" which I believe should be added when the board gets network and thus NFS-root support. > > > + 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 >
Hi Simon, On Fri, May 20, 2016 at 6:14 AM, Simon Horman <horms@verge.net.au> wrote: > On Thu, May 19, 2016 at 06:58:11PM +0200, Geert Uytterhoeven wrote: >> On Thu, May 19, 2016 at 5:50 AM, Simon Horman >> <horms+renesas@verge.net.au> wrote: >> > --- /dev/null >> > +++ b/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts >> > @@ -0,0 +1,45 @@ >> >> > + chosen { >> > + bootargs = "ignore_loglevel"; >> >> Perhaps you want this to be consistent with the other Renesas boards? >> >> git grep bootargs -- $(git grep -l renesas, -- arch/arm*/*dts) > > I omitted "rw root=/dev/nfs ip=dhcp" which I believe should be added > when the board gets network and thus NFS-root support. Fair enough. Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> 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 9ce1890a650e..17139f7003a6 100644 --- a/arch/arm64/boot/dts/renesas/Makefile +++ b/arch/arm64/boot/dts/renesas/Makefile @@ -1,4 +1,5 @@ dtb-$(CONFIG_ARCH_R8A7795) += r8a7795-salvator-x.dtb +dtb-$(CONFIG_ARCH_R8A7796) += r8a7796-salvator-x.dtb always := $(dtb-y) clean-files := *.dtb diff --git a/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts b/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts new file mode 100644 index 000000000000..9c52613fb88c --- /dev/null +++ b/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts @@ -0,0 +1,45 @@ +/* + * Device Tree Source for the Salvator-X board + * + * Copyright (C) 2016 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. + */ + +/dts-v1/; +#include "r8a7796.dtsi" + +/ { + model = "Renesas Salvator-X board based on r8a7796"; + compatible = "renesas,salvator-x", "renesas,r8a7796"; + + aliases { + serial0 = &scif2; + }; + + chosen { + bootargs = "ignore_loglevel"; + 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 = <16666666>; +}; + +&scif2 { + status = "okay"; +}; + +&scif_clk { + clock-frequency = <14745600>; + status = "okay"; +};