* [PATCH 2/2] arm64: dts: meson: add initial device-tree for Tanix TX9 Pro
2025-09-27 12:50 [PATCH 1/2] dt-bindings: arm: amlogic: add support for Tanix TX9 Pro Christian Hewitt
@ 2025-09-27 12:50 ` Christian Hewitt
2025-09-28 21:12 ` Martin Blumenstingl
2025-10-04 20:00 ` Martin Blumenstingl
2025-09-29 17:49 ` [PATCH 1/2] dt-bindings: arm: amlogic: add support " Conor Dooley
` (2 subsequent siblings)
3 siblings, 2 replies; 9+ messages in thread
From: Christian Hewitt @ 2025-09-27 12:50 UTC (permalink / raw)
To: Neil Armstrong, Kevin Hilman, Jerome Brunet, Martin Blumenstingl,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, devicetree,
linux-arm-kernel, linux-amlogic, linux-kernel
Oranth Tanix TX9 Pro is based on the Amlogic Q200 reference design with
an S912 chip and the following specs:
- 3GB DDR3 RAM
- 32GB eMMC
- 10/100/1000 Base-T Ethernet
- AP6356 Wireless (802.11 b/g/n/ac, BT 5.0)
- HDMI 2.0a video
- VFD for clock/status
- 2x USB 2.0 ports
- IR receiver
- 1x Power LED (white)
- 1x Update/Reset button (underside)
- 1x micro SD card slot
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
---
Checkpatch generates the 'phy-mode "rgmii" without comment'
warning but this dts is using the same rgmii format as all
other Amlogic boards, so I have omitted a comment.
arch/arm64/boot/dts/amlogic/Makefile | 1 +
.../boot/dts/amlogic/meson-gxm-tx9-pro.dts | 90 +++++++++++++++++++
2 files changed, 91 insertions(+)
create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxm-tx9-pro.dts
diff --git a/arch/arm64/boot/dts/amlogic/Makefile b/arch/arm64/boot/dts/amlogic/Makefile
index 619dce79b020..219fb088c704 100644
--- a/arch/arm64/boot/dts/amlogic/Makefile
+++ b/arch/arm64/boot/dts/amlogic/Makefile
@@ -80,6 +80,7 @@ dtb-$(CONFIG_ARCH_MESON) += meson-gxm-q200.dtb
dtb-$(CONFIG_ARCH_MESON) += meson-gxm-q201.dtb
dtb-$(CONFIG_ARCH_MESON) += meson-gxm-rbox-pro.dtb
dtb-$(CONFIG_ARCH_MESON) += meson-gxm-s912-libretech-pc.dtb
+dtb-$(CONFIG_ARCH_MESON) += meson-gxm-tx9-pro.dtb
dtb-$(CONFIG_ARCH_MESON) += meson-gxm-ugoos-am3.dtb
dtb-$(CONFIG_ARCH_MESON) += meson-gxm-vega-s96.dtb
dtb-$(CONFIG_ARCH_MESON) += meson-gxm-wetek-core2.dtb
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-tx9-pro.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-tx9-pro.dts
new file mode 100644
index 000000000000..9a62176cfe5a
--- /dev/null
+++ b/arch/arm64/boot/dts/amlogic/meson-gxm-tx9-pro.dts
@@ -0,0 +1,90 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (c) 2016 Endless Computers, Inc.
+ * Author: Carlo Caione <carlo@endlessm.com>
+ */
+
+/dts-v1/;
+
+#include "meson-gxm.dtsi"
+#include "meson-gx-p23x-q20x.dtsi"
+#include <dt-bindings/input/input.h>
+
+/ {
+ compatible = "oranth,tx9-pro", "amlogic,s912", "amlogic,meson-gxm";
+ model = "Tanix TX9 Pro";
+
+ adc-keys {
+ compatible = "adc-keys";
+ io-channels = <&saradc 0>;
+ io-channel-names = "buttons";
+ keyup-threshold-microvolt = <1710000>;
+
+ button-function {
+ label = "Update";
+ linux,code = <KEY_VENDOR>;
+ press-threshold-microvolt = <10000>;
+ };
+ };
+
+ gpio-keys-polled {
+ compatible = "gpio-keys-polled";
+ poll-interval = <100>;
+
+ button {
+ label = "power";
+ linux,code = <KEY_POWER>;
+ gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_LOW>;
+ };
+ };
+};
+
+ðmac {
+ pinctrl-0 = <ð_pins>;
+ pinctrl-names = "default";
+ phy-handle = <&external_phy>;
+ amlogic,tx-delay-ns = <2>;
+ phy-mode = "rgmii";
+};
+
+&external_mdio {
+ external_phy: ethernet-phy@0 {
+ /* Realtek RTL8211F (0x001cc916) */
+ reg = <0>;
+ max-speed = <1000>;
+
+ reset-assert-us = <10000>;
+ reset-deassert-us = <80000>;
+ reset-gpios = <&gpio GPIOZ_14 GPIO_ACTIVE_LOW>;
+
+ interrupt-parent = <&gpio_intc>;
+ /* MAC_INTR on GPIOZ_15 */
+ interrupts = <25 IRQ_TYPE_LEVEL_LOW>;
+ };
+};
+
+&ir {
+ linux,rc-map-name = "rc-tanix-tx3mini";
+};
+
+&sd_emmc_a {
+ brcmf: wifi@1 {
+ reg = <1>;
+ compatible = "brcm,bcm4329-fmac";
+ };
+};
+
+&uart_A {
+ status = "okay";
+ pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
+ pinctrl-names = "default";
+ uart-has-rtscts;
+
+ bluetooth {
+ compatible = "brcm,bcm43438-bt";
+ shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
+ max-speed = <2000000>;
+ clocks = <&wifi32k>;
+ clock-names = "lpo";
+ };
+};
--
2.34.1
^ permalink raw reply related [flat|nested] 9+ messages in thread* Re: [PATCH 2/2] arm64: dts: meson: add initial device-tree for Tanix TX9 Pro
2025-09-27 12:50 ` [PATCH 2/2] arm64: dts: meson: add initial device-tree " Christian Hewitt
@ 2025-09-28 21:12 ` Martin Blumenstingl
2025-09-28 23:43 ` Christian Hewitt
2025-10-04 20:00 ` Martin Blumenstingl
1 sibling, 1 reply; 9+ messages in thread
From: Martin Blumenstingl @ 2025-09-28 21:12 UTC (permalink / raw)
To: Christian Hewitt
Cc: Neil Armstrong, Kevin Hilman, Jerome Brunet, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, devicetree, linux-arm-kernel,
linux-amlogic, linux-kernel
Hi Christian,
thank you for the patch!
On Sat, Sep 27, 2025 at 2:50 PM Christian Hewitt
<christianshewitt@gmail.com> wrote:
[...]
> +++ b/arch/arm64/boot/dts/amlogic/meson-gxm-tx9-pro.dts
> @@ -0,0 +1,90 @@
> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
> +/*
> + * Copyright (c) 2016 Endless Computers, Inc.
> + * Author: Carlo Caione <carlo@endlessm.com>
Is Carlo really the author?
Best regards,
Martin
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 2/2] arm64: dts: meson: add initial device-tree for Tanix TX9 Pro
2025-09-28 21:12 ` Martin Blumenstingl
@ 2025-09-28 23:43 ` Christian Hewitt
2025-10-04 19:58 ` Martin Blumenstingl
0 siblings, 1 reply; 9+ messages in thread
From: Christian Hewitt @ 2025-09-28 23:43 UTC (permalink / raw)
To: Martin Blumenstingl
Cc: Neil Armstrong, Kevin Hilman, Jerome Brunet, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, devicetree, linux-arm-kernel,
linux-amlogic, linux-kernel
> On 29 Sep 2025, at 1:12 am, Martin Blumenstingl <martin.blumenstingl@googlemail.com> wrote:
>
> Hi Christian,
>
> thank you for the patch!
>
> On Sat, Sep 27, 2025 at 2:50 PM Christian Hewitt
> <christianshewitt@gmail.com> wrote:
> [...]
>> +++ b/arch/arm64/boot/dts/amlogic/meson-gxm-tx9-pro.dts
>> @@ -0,0 +1,90 @@
>> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
>> +/*
>> + * Copyright (c) 2016 Endless Computers, Inc.
>> + * Author: Carlo Caione <carlo@endlessm.com>
> Is Carlo really the author?
He’s the author of the original device tree that 95%
of the content for this one is taken from; as is the
case for most older Amlogic hardware. The decision
on which bits to copy and paste was all mine, but I’m
not sure that skill deserves too much credit :)
I can resend with my own name (or mine appended) if
that would be preferred?
Christian
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 2/2] arm64: dts: meson: add initial device-tree for Tanix TX9 Pro
2025-09-28 23:43 ` Christian Hewitt
@ 2025-10-04 19:58 ` Martin Blumenstingl
0 siblings, 0 replies; 9+ messages in thread
From: Martin Blumenstingl @ 2025-10-04 19:58 UTC (permalink / raw)
To: Christian Hewitt
Cc: Neil Armstrong, Kevin Hilman, Jerome Brunet, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, devicetree, linux-arm-kernel,
linux-amlogic, linux-kernel
On Mon, Sep 29, 2025 at 1:43 AM Christian Hewitt
<christianshewitt@gmail.com> wrote:
>
> > On 29 Sep 2025, at 1:12 am, Martin Blumenstingl <martin.blumenstingl@googlemail.com> wrote:
> >
> > Hi Christian,
> >
> > thank you for the patch!
> >
> > On Sat, Sep 27, 2025 at 2:50 PM Christian Hewitt
> > <christianshewitt@gmail.com> wrote:
> > [...]
> >> +++ b/arch/arm64/boot/dts/amlogic/meson-gxm-tx9-pro.dts
> >> @@ -0,0 +1,90 @@
> >> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
> >> +/*
> >> + * Copyright (c) 2016 Endless Computers, Inc.
> >> + * Author: Carlo Caione <carlo@endlessm.com>
> > Is Carlo really the author?
>
> He’s the author of the original device tree that 95%
> of the content for this one is taken from; as is the
> case for most older Amlogic hardware. The decision
> on which bits to copy and paste was all mine, but I’m
> not sure that skill deserves too much credit :)
I just wasn't sure whether it was a left-over or on purpose.
> I can resend with my own name (or mine appended) if
> that would be preferred?
I'll ultimately leave it up to Neil. Maybe if he wants your name in
too, he can just append it when applying?
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 2/2] arm64: dts: meson: add initial device-tree for Tanix TX9 Pro
2025-09-27 12:50 ` [PATCH 2/2] arm64: dts: meson: add initial device-tree " Christian Hewitt
2025-09-28 21:12 ` Martin Blumenstingl
@ 2025-10-04 20:00 ` Martin Blumenstingl
1 sibling, 0 replies; 9+ messages in thread
From: Martin Blumenstingl @ 2025-10-04 20:00 UTC (permalink / raw)
To: Christian Hewitt
Cc: Neil Armstrong, Kevin Hilman, Jerome Brunet, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, devicetree, linux-arm-kernel,
linux-amlogic, linux-kernel
On Sat, Sep 27, 2025 at 2:50 PM Christian Hewitt
<christianshewitt@gmail.com> wrote:
>
> Oranth Tanix TX9 Pro is based on the Amlogic Q200 reference design with
> an S912 chip and the following specs:
>
> - 3GB DDR3 RAM
> - 32GB eMMC
> - 10/100/1000 Base-T Ethernet
> - AP6356 Wireless (802.11 b/g/n/ac, BT 5.0)
> - HDMI 2.0a video
> - VFD for clock/status
> - 2x USB 2.0 ports
> - IR receiver
> - 1x Power LED (white)
> - 1x Update/Reset button (underside)
> - 1x micro SD card slot
>
> Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
> ---
> Checkpatch generates the 'phy-mode "rgmii" without comment'
> warning but this dts is using the same rgmii format as all
> other Amlogic boards, so I have omitted a comment.
So far we've been mimicking the vendor kernel (which sets up the MAC
to generate the delays and disables them on PHY level).
If we change it we should do so for all devices.
Best regards,
Martin
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 1/2] dt-bindings: arm: amlogic: add support for Tanix TX9 Pro
2025-09-27 12:50 [PATCH 1/2] dt-bindings: arm: amlogic: add support for Tanix TX9 Pro Christian Hewitt
2025-09-27 12:50 ` [PATCH 2/2] arm64: dts: meson: add initial device-tree " Christian Hewitt
@ 2025-09-29 17:49 ` Conor Dooley
2025-10-04 20:00 ` Martin Blumenstingl
2025-10-21 12:29 ` Neil Armstrong
3 siblings, 0 replies; 9+ messages in thread
From: Conor Dooley @ 2025-09-29 17:49 UTC (permalink / raw)
To: Christian Hewitt
Cc: Neil Armstrong, Kevin Hilman, Jerome Brunet, Martin Blumenstingl,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, devicetree,
linux-arm-kernel, linux-amlogic, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 52 bytes --]
Acked-by: Conor Dooley <conor.dooley@microchip.com>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 1/2] dt-bindings: arm: amlogic: add support for Tanix TX9 Pro
2025-09-27 12:50 [PATCH 1/2] dt-bindings: arm: amlogic: add support for Tanix TX9 Pro Christian Hewitt
2025-09-27 12:50 ` [PATCH 2/2] arm64: dts: meson: add initial device-tree " Christian Hewitt
2025-09-29 17:49 ` [PATCH 1/2] dt-bindings: arm: amlogic: add support " Conor Dooley
@ 2025-10-04 20:00 ` Martin Blumenstingl
2025-10-21 12:29 ` Neil Armstrong
3 siblings, 0 replies; 9+ messages in thread
From: Martin Blumenstingl @ 2025-10-04 20:00 UTC (permalink / raw)
To: Christian Hewitt
Cc: Neil Armstrong, Kevin Hilman, Jerome Brunet, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, devicetree, linux-arm-kernel,
linux-amlogic, linux-kernel
On Sat, Sep 27, 2025 at 2:50 PM Christian Hewitt
<christianshewitt@gmail.com> wrote:
>
> The Oranth Tanix TX9 Pro is an Android STB using the Amlogic S912 chip
>
> Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 1/2] dt-bindings: arm: amlogic: add support for Tanix TX9 Pro
2025-09-27 12:50 [PATCH 1/2] dt-bindings: arm: amlogic: add support for Tanix TX9 Pro Christian Hewitt
` (2 preceding siblings ...)
2025-10-04 20:00 ` Martin Blumenstingl
@ 2025-10-21 12:29 ` Neil Armstrong
3 siblings, 0 replies; 9+ messages in thread
From: Neil Armstrong @ 2025-10-21 12:29 UTC (permalink / raw)
To: Kevin Hilman, Jerome Brunet, Martin Blumenstingl, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, devicetree, linux-arm-kernel,
linux-amlogic, linux-kernel, Christian Hewitt
Hi,
On Sat, 27 Sep 2025 12:50:05 +0000, Christian Hewitt wrote:
> The Oranth Tanix TX9 Pro is an Android STB using the Amlogic S912 chip
>
>
Thanks, Applied to https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git (v6.19/arm64-dt)
[1/2] dt-bindings: arm: amlogic: add support for Tanix TX9 Pro
https://git.kernel.org/amlogic/c/beaea75ddc2a483e7b2b08a040d418f323510316
[2/2] arm64: dts: meson: add initial device-tree for Tanix TX9 Pro
https://git.kernel.org/amlogic/c/afd1e16c6d3f53810ea29b5269dfcfc233e9b6b9
These changes has been applied on the intermediate git tree [1].
The v6.19/arm64-dt branch will then be sent via a formal Pull Request to the Linux SoC maintainers
for inclusion in their intermediate git branches in order to be sent to Linus during
the next merge window, or sooner if it's a set of fixes.
In the cases of fixes, those will be merged in the current release candidate
kernel and as soon they appear on the Linux master branch they will be
backported to the previous Stable and Long-Stable kernels [2].
The intermediate git branches are merged daily in the linux-next tree [3],
people are encouraged testing these pre-release kernels and report issues on the
relevant mailing-lists.
If problems are discovered on those changes, please submit a signed-off-by revert
patch followed by a corrective changeset.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
[3] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
--
Neil
^ permalink raw reply [flat|nested] 9+ messages in thread