[PATCH 00/15] MediaTek: Introduce MT8395 Radxa NIO 12L devicetree

From: AngeloGioacchino Del Regno
Date: Fri Jan 12 2024 - 04:46:50 EST


This series adds a device tree for the Radxa NIO 12L SBC, powered by
the MediaTek Genio 1200 (MT8395).
Not all features of this board are included in this first series but
it's already quite usable, as the eMMC internal storage works and can
be used to boot the system (as much as MicroSD external storage), the
connectivity via ethernet and WiFi (PCI-Express) are working as well.

The two I2C, two SPI and the two UART ports are also ok.

What is missing (and what's next...!):
- UFS storage is not working yet (but eMMC works)
- Type-C role switching is not yet implemented, driver is there but
mt8195.dtsi has no MTU3 yet, needs some research to avoid breaking
compatibility with MT8195 Chromebooks
- HDMI Input port: no driver yet
- HDMI Output (from SoC HDMI IP): no driver yet
- Audio (sound card driver needs some love)
- MIPI Camera
- System LEDs
- "F15" Button

This series depends on the MT6360 TCPC series at [1].

[1]: https://lore.kernel.org/all/20240112094538.65639-1-angelogioacchino.delregno@xxxxxxxxxxxxx

Cheers,
Angelo

AngeloGioacchino Del Regno (15):
dt-bindings: arm64: mediatek: Add MT8395 Radxa NIO 12L board
compatible
arm64: dts: mediatek: Introduce the MT8395 Radxa NIO 12L board
arm64: dts: mediatek: radxa-nio-12l: Enable I2C 2/4/6 busses
arm64: dts: mediatek: radxa-nio-12l: Add external MT6360 PMIC on I2C6
arm64: dts: mediatek: radxa-nio-12l: Configure board regulators
arm64: dts: mediatek: radxa-nio-12l: Add Ethernet controller and
Xceiver
arm64: dts: mediatek: radxa-nio-12l: Add MT6360 battery charger
arm64: dts: mediatek: radxa-nio-12l: Add support for eMMC and MicroSD
arm64: dts: mediatek: radxa-nio-12l: Enable System Companion Processor
arm64: dts: mediatek: radxa-nio-12l: Enable PCI-Express 0 for USB HUB
arm64: dts: mediatek: radxa-nio-12l: Enable the USB XHCI controllers
arm64: dts: mediatek: radxa-nio-12l: Enable PCI-Express 1 for WiFi
arm64: dts: mediatek: radxa-nio-12l: Enable SPI1/2 for 40pin header
arm64: dts: mediatek: radxa-nio-12l: Enable UART1 for 40pin header
arm64: dts: mediatek: radxa-nio-12l: Enable Panfrost for Mali GPU

.../devicetree/bindings/arm/mediatek.yaml | 1 +
arch/arm64/boot/dts/mediatek/Makefile | 1 +
.../dts/mediatek/mt8395-radxa-nio-12l.dts | 747 ++++++++++++++++++
3 files changed, 749 insertions(+)
create mode 100644 arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts

--
2.43.0