mbox series

[0/3] add support for Theobroma Systems PX30-��Q7 (Ringneck) with Haikou devkit

Message ID 20220922101211.3215888-1-foss+kernel@0leil.net (mailing list archive)
Headers show
Series add support for Theobroma Systems PX30-��Q7 (Ringneck) with Haikou devkit | expand

Message

Quentin Schulz Sept. 22, 2022, 10:12 a.m. UTC
From: Quentin Schulz <quentin.schulz@theobroma-systems.com>

The PX30-uQ7 (Ringneck) SoM is a µQseven-compatible (40mmx70mm, MXM-230
connector) system-on-module from Theobroma Systems[1], featuring the
Rockchip PX30.

It provides the following feature set:
* up to 4GB DDR4
* up to 128GB on-module eMMC (with 8-bit 1.8V interface)
* SD card (on a baseboard) via edge connector
* Fast Ethernet with on-module TI DP83825I PHY
* MIPI-DSI/LVDS
* MIPI-CSI
* USB
- 1x USB 2.0 dual-role
- 3x USB 2.0 host
* on-module STM32 Cortex-M0 companion controller, implementing:
- low-power RTC functionality (ISL1208 emulation)
- fan controller (AMC6821 emulation)
- USB<->CAN bridge controller
* on-module Espressif ESP32 for Bluetooth + 2.4GHz WiFi
* on-module NXP SE05x Secure Element

[1] https://www.theobroma-systems.com/som-product/px30-%C2%B5q7/

The Haikou devkit has a switch "button" which allows to force the
BOOTROM to load the bootloader from SD card instead of trying first from eMMC.
The state of the switch is exposed to userspace via a GPIO but there's currently
no support for such an event, thus it is added in the first patch of
this series.

The Espressif ESP32 support is not added in this patch series as
there'll be some challenges around the Device Tree bindings that will
require its own patch series and discussion.

MIPI-DSI/CSI "consumers" will come later with an adapter board once it
is designed.

Cheers,
Quentin

Quentin Schulz (3):
  Input: add `SW_BOOT_ALT`
  arm64: dts: rockchip: add PX30-µQ7 (Ringneck) SoM with Haikou
    baseboard
  dt-bindings: arm: rockchip: add Theobroma Systems PX30-µQ7 (Ringneck)
    with Haikou

 .../devicetree/bindings/arm/rockchip.yaml     |   5 +
 arch/arm64/boot/dts/rockchip/Makefile         |   1 +
 .../dts/rockchip/px30-ringneck-haikou.dts     | 239 ++++++++++++
 .../boot/dts/rockchip/px30-ringneck.dtsi      | 347 ++++++++++++++++++
 include/linux/mod_devicetable.h               |   2 +-
 include/uapi/linux/input-event-codes.h        |   3 +-
 6 files changed, 595 insertions(+), 2 deletions(-)
 create mode 100644 arch/arm64/boot/dts/rockchip/px30-ringneck-haikou.dts
 create mode 100644 arch/arm64/boot/dts/rockchip/px30-ringneck.dtsi