All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jagan Teki <jagan@amarulasolutions.com>
To: u-boot@lists.denx.de
Subject: [PATCH 2/3] sunxi: Add Libre Computer ALL-H3-IT H5 board
Date: Tue, 21 Jan 2020 12:59:42 +0530	[thread overview]
Message-ID: <CAMty3ZB6WjXmq=nj49q_L5CZYd2SEorsJusgJvPSCo=XZYxi-g@mail.gmail.com> (raw)
In-Reply-To: <20200112153615.9532-3-wens@kernel.org>

On Sun, Jan 12, 2020 at 9:06 PM Chen-Yu Tsai <wens@kernel.org> wrote:
>
> From: Chen-Yu Tsai <wens@csie.org>
>
> The Libre Computer ALL-H3-IT board is a small single board computer that
> is roughly the same size as the Raspberry Pi Zero, or around 20% smaller
> than a credit card.
>
> The board features:
>
>   - H2, H3, or H5 SoC from Allwinner
>   - 2 DDR3 DRAM chips
>   - Realtek RTL8821CU based WiFi module
>   - 128 Mbit SPI-NOR flash
>   - micro-SD card slot
>   - micro HDMI video output
>   - FPC connector for camera sensor module
>   - generic Raspberri-Pi style 40 pin GPIO header
>   - additional pin headers for extra USB host ports, ananlog audio and
>     IR receiver
>
> Only H5 variant test samples were made available, but the vendor does
> have plans to include at least an H3 variant. Thus the device tree is
> split much like the ALL-H3-CC, with a common dtsi file for the board
> design, and separate dts files including the common board file and the
> SoC dtsi file. The other variants will be added as they are made
> available.
>
> The device tree was synced over from the Linux kernel, along with other
> H3/H5 changes, in a previous patch. Thus only the defconfig and an entry
> to the MAINTAINERS file is added.
>
> Signed-off-by: Chen-Yu Tsai <wens@csie.org>
> ---
>  board/sunxi/MAINTAINERS                  |  5 +++++
>  configs/libretech_all_h3_it_h5_defconfig | 22 ++++++++++++++++++++++
>  2 files changed, 27 insertions(+)
>  create mode 100644 configs/libretech_all_h3_it_h5_defconfig
>
> diff --git a/board/sunxi/MAINTAINERS b/board/sunxi/MAINTAINERS
> index 4a89bb0e7b7e..ed620ade766c 100644
> --- a/board/sunxi/MAINTAINERS
> +++ b/board/sunxi/MAINTAINERS
> @@ -318,6 +318,11 @@ F: configs/libretech_all_h3_cc_h2_plus_defconfig
>  F:     configs/libretech_all_h3_cc_h3_defconfig
>  F:     configs/libretech_all_h3_cc_h5_defconfig
>
> +LIBRETECH ALL-H3-IT BOARDS
> +M:     Chen-Yu Tsai <wens@csie.org>
> +S:     Maintained
> +F:     configs/libretech_all_h3_it_h5_defconfig
> +
>  NANOPI-M1 BOARD
>  M:     Mylène Josserand <mylene.josserand@free-electrons.com>
>  S:     Maintained
> diff --git a/configs/libretech_all_h3_it_h5_defconfig b/configs/libretech_all_h3_it_h5_defconfig
> new file mode 100644
> index 000000000000..df13f4a0d307
> --- /dev/null
> +++ b/configs/libretech_all_h3_it_h5_defconfig
> @@ -0,0 +1,22 @@
> +CONFIG_ARM=y
> +CONFIG_ARCH_SUNXI=y
> +CONFIG_NR_DRAM_BANKS=1
> +CONFIG_SPL=y
> +CONFIG_MACH_SUN50I_H5=y
> +CONFIG_DRAM_CLK=672
> +CONFIG_MMC_SUNXI_SLOT_EXTRA=2
> +CONFIG_SPL_SPI_SUNXI=y
> +# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
> +CONFIG_USE_PREBOOT=y
> +CONFIG_SYS_SPI_U_BOOT_OFFS=0x8000
> +# CONFIG_SPL_DOS_PARTITION is not set
> +# CONFIG_SPL_EFI_PARTITION is not set
> +CONFIG_DEFAULT_DEVICE_TREE="sun50i-h5-libretech-all-h3-it"
> +CONFIG_SYS_RELOC_GD_ENV_ADDR=y
> +CONFIG_DM_SPI_FLASH=y
> +CONFIG_SPI_FLASH_XMC=y
> +CONFIG_SPI=y
> +CONFIG_DM_SPI=y

We just enable SPI_FLASH_XMC and rest we can add it via arch Kconfig?
like A64 does.

  reply	other threads:[~2020-01-21  7:29 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-12 15:36 [PATCH 0/3] sunxi: Sync H3/H5 DT and add ALL-H3-IT and ALL-H5-CC Chen-Yu Tsai
2020-01-12 15:36 ` [PATCH 1/3] sunxi: H3/H5 Sync DT files from upstream Linux kernel as of next-20200108 Chen-Yu Tsai
2020-01-21  7:32   ` Jagan Teki
2020-01-12 15:36 ` [PATCH 2/3] sunxi: Add Libre Computer ALL-H3-IT H5 board Chen-Yu Tsai
2020-01-21  7:29   ` Jagan Teki [this message]
2020-01-21  7:41     ` Chen-Yu Tsai
2020-01-24  6:23       ` Jagan Teki
2020-01-24  8:32         ` Chen-Yu Tsai
2020-02-05  4:01           ` Chen-Yu Tsai
2020-01-24 17:45   ` Jagan Teki
2020-01-12 15:36 ` [PATCH 3/3] sunxi: Add Libre Computer ALL-H5-CC " Chen-Yu Tsai
2020-01-24 17:45   ` Jagan Teki
2020-01-20  2:35 ` [PATCH 0/3] sunxi: Sync H3/H5 DT and add ALL-H3-IT and ALL-H5-CC Chen-Yu Tsai

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='CAMty3ZB6WjXmq=nj49q_L5CZYd2SEorsJusgJvPSCo=XZYxi-g@mail.gmail.com' \
    --to=jagan@amarulasolutions.com \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.