[RFC PATCH 0/9] arm64: dts: meson: add support for aac2xx devices
From: Christian Hewitt
Date: Tue Nov 30 2021 - 01:05:47 EST
This series adds support for several popular Amlogic S905X3 (SM1) Android
Set-Top Box devices. Like most Android box devices, they ship in variants
with multiple RAM, eMMC, WiFi and BT configurations. RAM and eMMC are not
something we need to consider to get a working boot, but we do need to get
the correct connectivity spec. Broadly speaking we see boxes with Higher
and Lower spec connectivity; High spec is Gigabit Ethernet and Faster dual
antennna WiFi, and Lower spec is Megabit Ethernet and a single antenna. In
some low-end boxes BT is ommitted.
The main reason for the RFC tag is to solicit feedback on the choice of
the -100 and -1000 suffixes which are used to distinguish between devices
with 10/100 Mbit (Internal PHY) or 10/100/1000 Gbit (External PHY) NIC
configurations; which is important to get correct else the box will have
no connectivity. I'm not a big fan of the suffixes, but earlier versions
where I used -int/-ext and -mbit/-gbit resulted in users having no idea
what the difference was. I'd like to informally establish a convention for
this naming before doing similar things with some S905X2 devices.
NB: At the current time the Realtek 8822CS and MT7668 WiFi/BT chips we
have seen on 'AIR' devices are not supported in the kernel so these are
deliberately ommitted. The H96-Max uses a conventional Broadcom module
so has more complete support. I'm also still exploring / learning about
alsa userspace configuration so for now the boxes have simple HDMI audio
support; wiring up the Headphone socket will be done at a later date.
Christian Hewitt (9):
arm64: dts: meson: add common SM1 ac2xx dtsi
dt-bindings: arm: amlogic: add X96-AIR bindings
arm64: dts: meson: add initial device-trees for X96-AIR
dt-bindings: vendor-prefixes: add cyx prefix
dt-bindings: arm: amlogic: add A95XF3-AIR bindings
arm64: dts: meson: add initial device-trees for A95XF3-AIR
dt-bindings: vendor-prefixes: add haochuangyi prefix
dt-bindings: arm: amlogic: add H96-Max bindings
arm64: dts: meson: add initial device-tree for H96-Max
.../devicetree/bindings/arm/amlogic.yaml | 5 +
.../devicetree/bindings/vendor-prefixes.yaml | 4 +
arch/arm64/boot/dts/amlogic/Makefile | 5 +
.../dts/amlogic/meson-sm1-a95xf3-air-100.dts | 108 +++++++
.../dts/amlogic/meson-sm1-a95xf3-air-1000.dts | 129 ++++++++
.../boot/dts/amlogic/meson-sm1-ac2xx.dtsi | 300 ++++++++++++++++++
.../boot/dts/amlogic/meson-sm1-h96-max.dts | 145 +++++++++
.../dts/amlogic/meson-sm1-x96-air-100.dts | 112 +++++++
.../dts/amlogic/meson-sm1-x96-air-1000.dts | 133 ++++++++
9 files changed, 941 insertions(+)
create mode 100644 arch/arm64/boot/dts/amlogic/meson-sm1-a95xf3-air-100.dts
create mode 100644 arch/arm64/boot/dts/amlogic/meson-sm1-a95xf3-air-1000.dts
create mode 100644 arch/arm64/boot/dts/amlogic/meson-sm1-ac2xx.dtsi
create mode 100644 arch/arm64/boot/dts/amlogic/meson-sm1-h96-max.dts
create mode 100644 arch/arm64/boot/dts/amlogic/meson-sm1-x96-air-100.dts
create mode 100644 arch/arm64/boot/dts/amlogic/meson-sm1-x96-air-1000.dts
--
2.17.1