From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Andr=c3=a9_Przywara?= Date: Mon, 14 Jan 2019 22:57:47 +0000 Subject: [U-Boot] [PATCH v2 6/9] arm: add Cubieboard7 board support In-Reply-To: <1547469671-1487-6-git-send-email-amittomer25@gmail.com> References: <1547469671-1487-1-git-send-email-amittomer25@gmail.com> <1547469671-1487-6-git-send-email-amittomer25@gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: u-boot@lists.denx.de On 14/01/2019 12:41, Amit Singh Tomar wrote: > The Cubieboard is a single board computer containing a > Actions S700 SoC(with 4 ARMv8 Cortex-A53 cores). >=20 > This patch adds respective defconfig alongwith device tree(sync with > Linux 4.20). This should come later in the series, as patch 8/9, just _after_ everything works. It compiles at this point, but you still need the next two patches for it to work. The _defconfig is still a bit too crowded, but so is the S900 version, so: > Signed-off-by: Amit Singh Tomar Reviewed-by: Andre Przywara Cheers, Andre. > --- > Changes since v1: > * No changes. > --- > arch/arm/dts/s700-cubieboard7.dts | 39 +++++++++++++++++++++++++++++++++= ++++++ > configs/cubieboard7_defconfig | 16 ++++++++++++++++ > 2 files changed, 55 insertions(+) > create mode 100644 arch/arm/dts/s700-cubieboard7.dts > create mode 100644 configs/cubieboard7_defconfig >=20 > diff --git a/arch/arm/dts/s700-cubieboard7.dts b/arch/arm/dts/s700-cubieb= oard7.dts > new file mode 100644 > index 0000000..28f3f4a > --- /dev/null > +++ b/arch/arm/dts/s700-cubieboard7.dts > @@ -0,0 +1,39 @@ > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > +/* > + * Copyright (c) 2017 Andreas F=C3=A4rber > + */ > + > +/dts-v1/; > + > +#include "s700.dtsi" > + > +/ { > + compatible =3D "cubietech,cubieboard7", "actions,s700"; > + model =3D "CubieBoard7"; > + > + aliases { > + serial3 =3D &uart3; > + }; > + > + chosen { > + stdout-path =3D "serial3:115200n8"; > + }; > + > + memory at 0 { > + device_type =3D "memory"; > + reg =3D <0x0 0x0 0x0 0x80000000>; > + }; > + > + memory at 1,e0000000 { > + device_type =3D "memory"; > + reg =3D <0x1 0xe0000000 0x0 0x0>; > + }; > +}; > + > +&timer { > + clocks =3D <&hosc>; > +}; > + > +&uart3 { > + status =3D "okay"; > +}; > diff --git a/configs/cubieboard7_defconfig b/configs/cubieboard7_defconfig > new file mode 100644 > index 0000000..0459997 > --- /dev/null > +++ b/configs/cubieboard7_defconfig > @@ -0,0 +1,16 @@ > +CONFIG_ARM=3Dy > +CONFIG_ARCH_OWL=3Dy > +CONFIG_MACH_S700=3Dy > +CONFIG_IDENT_STRING=3D"\ncubieboard7" > +CONFIG_DISTRO_DEFAULTS=3Dy > +CONFIG_NR_DRAM_BANKS=3D1 > +CONFIG_BOOTDELAY=3D5 > +CONFIG_USE_BOOTARGS=3Dy > +CONFIG_BOOTARGS=3D"console=3DttyOWL3,115200n8" > +# CONFIG_DISPLAY_CPUINFO is not set > +# CONFIG_DISPLAY_BOARDINFO is not set > +CONFIG_SYS_PROMPT=3D"U-Boot =3D> " > +CONFIG_CMD_MD5SUM=3Dy > +CONFIG_CMD_MEMINFO=3Dy > +CONFIG_CMD_TIMER=3Dy > +CONFIG_DEFAULT_DEVICE_TREE=3D"s700-cubieboard7" >=20