public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Michael Walle <mwalle@kernel.org>
To: Tom Rini <trini@konsulko.com>, Simon Glass <sjg@chromium.org>
Cc: u-boot@lists.denx.de, Michael Walle <mwalle@kernel.org>
Subject: [PATCH 0/4] board: kontron: add initial SMARC-sAM67 support
Date: Tue, 27 Jan 2026 16:02:29 +0100	[thread overview]
Message-ID: <20260127150401.1177176-1-mwalle@kernel.org> (raw)

Add initial support for the SMARC-sAM67 board (enineering name
sa67).

The board has different RAM options. The exact configuration is
tri-state encoded with strapping options. u-boot already has support
for that, but unfortunately, the pull-ups/-downs can only be
configured by the pinmux and not by the gpio controller. Therefore,
this will introduce another method to read the tri-state encoded
strappings by switching the pinmux configurations on the fly.

There is also a sysinfo driver to read the remaining board options
and is used to apply corresponding device tree overlays.

The device tree itself is picked from the last tag of the
dt-rebasing tree.

Michael Walle (4):
  arm64: dts: ti: Add support for Kontron SMARC-sAM67
  sysinfo: add driver for the Kontron SMARC-sAM67 board
  gpio: 3way strapping: add pinctrl method
  board: kontron: initial commit for the SMARC-sAM67

 .../k3-am67a-kontron-sa67-base-u-boot.dtsi    |  127 +
 .../arm/dts/k3-am67a-kontron-sa67-binman.dtsi |  202 ++
 ...m67a-kontron-sa67-ddr-mt53e256m32d1ks.dtsi | 2797 +++++++++++++++++
 ...-am67a-kontron-sa67-ddr-mt53e2g32d4de.dtsi | 2797 +++++++++++++++++
 ...-am67a-r5-kontron-sa67-mt53e256m32d1ks.dts |   16 +
 ...k3-am67a-r5-kontron-sa67-mt53e2g32d4de.dts |   17 +
 arch/arm/dts/k3-am67a-r5-kontron-sa67.dtsi    |  104 +
 arch/arm/mach-k3/j722s/Kconfig                |   18 +
 board/kontron/sa67/Kconfig                    |   21 +
 board/kontron/sa67/MAINTAINERS                |    7 +
 board/kontron/sa67/Makefile                   |    5 +
 board/kontron/sa67/board-cfg.yaml             |   36 +
 board/kontron/sa67/common.c                   |   41 +
 board/kontron/sa67/pm-cfg.yaml                |   12 +
 board/kontron/sa67/r5.c                       |  144 +
 board/kontron/sa67/rm-cfg.yaml                | 1137 +++++++
 board/kontron/sa67/sa67.c                     |  311 ++
 board/kontron/sa67/sa67.env                   |   21 +
 board/kontron/sa67/sec-cfg.yaml               |  379 +++
 board/kontron/sa67/tifs-rm-cfg.yaml           |  993 ++++++
 configs/kontron_sa67_a53_defconfig            |  211 ++
 configs/kontron_sa67_r5_defconfig             |  126 +
 doc/board/kontron/index.rst                   |    1 +
 doc/board/kontron/sa67.rst                    |   62 +
 doc/board/ti/k3.rst                           |    1 +
 drivers/gpio/gpio-uclass.c                    |   31 +-
 drivers/sysinfo/Kconfig                       |    7 +
 drivers/sysinfo/Makefile                      |    1 +
 drivers/sysinfo/sa67.c                        |  149 +
 .../arm64/ti/k3-am67a-kontron-sa67-base.dts   | 1091 +++++++
 .../arm64/ti/k3-am67a-kontron-sa67-gbe1.dtso  |   26 +
 .../arm64/ti/k3-am67a-kontron-sa67-gpios.dtso |   61 +
 .../ti/k3-am67a-kontron-sa67-rtc-rv8263.dtso  |   31 +
 include/asm-generic/gpio.h                    |    4 +
 include/configs/kontron_sa67.h                |   13 +
 include/sysinfo/sa67.h                        |   21 +
 36 files changed, 11014 insertions(+), 7 deletions(-)
 create mode 100644 arch/arm/dts/k3-am67a-kontron-sa67-base-u-boot.dtsi
 create mode 100644 arch/arm/dts/k3-am67a-kontron-sa67-binman.dtsi
 create mode 100644 arch/arm/dts/k3-am67a-kontron-sa67-ddr-mt53e256m32d1ks.dtsi
 create mode 100644 arch/arm/dts/k3-am67a-kontron-sa67-ddr-mt53e2g32d4de.dtsi
 create mode 100644 arch/arm/dts/k3-am67a-r5-kontron-sa67-mt53e256m32d1ks.dts
 create mode 100644 arch/arm/dts/k3-am67a-r5-kontron-sa67-mt53e2g32d4de.dts
 create mode 100644 arch/arm/dts/k3-am67a-r5-kontron-sa67.dtsi
 create mode 100644 board/kontron/sa67/Kconfig
 create mode 100644 board/kontron/sa67/MAINTAINERS
 create mode 100644 board/kontron/sa67/Makefile
 create mode 100644 board/kontron/sa67/board-cfg.yaml
 create mode 100644 board/kontron/sa67/common.c
 create mode 100644 board/kontron/sa67/pm-cfg.yaml
 create mode 100644 board/kontron/sa67/r5.c
 create mode 100644 board/kontron/sa67/rm-cfg.yaml
 create mode 100644 board/kontron/sa67/sa67.c
 create mode 100644 board/kontron/sa67/sa67.env
 create mode 100644 board/kontron/sa67/sec-cfg.yaml
 create mode 100644 board/kontron/sa67/tifs-rm-cfg.yaml
 create mode 100644 configs/kontron_sa67_a53_defconfig
 create mode 100644 configs/kontron_sa67_r5_defconfig
 create mode 100644 doc/board/kontron/sa67.rst
 create mode 100644 drivers/sysinfo/sa67.c
 create mode 100644 dts/upstream/src/arm64/ti/k3-am67a-kontron-sa67-base.dts
 create mode 100644 dts/upstream/src/arm64/ti/k3-am67a-kontron-sa67-gbe1.dtso
 create mode 100644 dts/upstream/src/arm64/ti/k3-am67a-kontron-sa67-gpios.dtso
 create mode 100644 dts/upstream/src/arm64/ti/k3-am67a-kontron-sa67-rtc-rv8263.dtso
 create mode 100644 include/configs/kontron_sa67.h
 create mode 100644 include/sysinfo/sa67.h

-- 
2.47.3


             reply	other threads:[~2026-01-27 15:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-27 15:02 Michael Walle [this message]
2026-01-27 15:02 ` [PATCH 1/4] arm64: dts: ti: Add support for Kontron SMARC-sAM67 Michael Walle
2026-01-27 15:02 ` [PATCH 2/4] gpio: 3way strapping: add pinctrl method Michael Walle
2026-01-27 15:02 ` [PATCH 3/4] sysinfo: add driver for the Kontron SMARC-sAM67 board Michael Walle
2026-01-27 15:02 ` [PATCH 4/4] board: kontron: initial commit for the SMARC-sAM67 Michael Walle
2026-01-28  9:44 ` [PATCH 0/4] board: kontron: add initial SMARC-sAM67 support Michael Walle

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=20260127150401.1177176-1-mwalle@kernel.org \
    --to=mwalle@kernel.org \
    --cc=sjg@chromium.org \
    --cc=trini@konsulko.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox