Devicetree
 help / color / mirror / Atom feed
* [PATCH 0/4] arm64: dts: ti: k3-am69-aquila: Add Lotus carrier board
@ 2026-12-02 15:42 Matheus Barbosa
  2026-12-02 15:42 ` [PATCH 1/4] dt-bindings: arm: ti: Add Aquila AM69 with Lotus board Matheus Barbosa
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Matheus Barbosa @ 2026-12-02 15:42 UTC (permalink / raw)
  To: Nishanth Menon, Vignesh Raghavendra, Tero Kristo, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-arm-kernel, devicetree, linux-kernel, Matheus Barbosa,
	Leonardo Costa

Add Lotus Carrier Board mated with Aquila AM69.

This patch series adds support for the Lotus Carrier Board with the
Toradex Aquila AM69 SoM. Lotus is a carrier board for the Aquila family
featuring a small form factor (Nano-ITX 120mm x 120mm) and built for
volume production.

The board features:

- 1x 1Gbit/s Ethernet
- 1x 10Gbit/s SFP+ cage
- 2x RS-485 (Isolated and Non-Isolated)
- 4x CAN (3x Non-Isolated, 1x Isolated)
- 3x isolated digital I/O
- 1x CSI
- 1x DSI
- 1x TPM 2.0 chip
- 1x microSD slot
- 1x USB-C DRP
- 1x USB 3 hub
- DisplayPort through a Mini DP connector
- 1x M.2 Key-B slot with USB / SIM card connector for a modem
- 1x M.2 Key-M slot for NVMe SSD

The SFP+ cage connects to the J784S4 CPSW port 2, on SERDES2 lane 3.
On the SoC side, this port is capable of 10 Gbit/s (10GBASE-R/XFI),
as documented in the AM69x Processors Datasheet (SPRSP92C), Device
Comparison table.

Driver support for 10GBASE-R in am65-cpsw-nuss and phy-gmii-sel is under
review on netdev [1].

The series does not depend on it at build time and can be merged as is.
Until the driver support lands, only the SFP+ port stays down; the rest
of the board works. Once it lands, the SFP+ port works with no DT change.

Additionally, this series adds pinctrl groups to the Aquila AM69 SoM
dtsi, muxing the I2S_1 and PWM_4_DP pins to their GPIO functions. On
Lotus, these pins carry the SFP+ low-speed control and status signals
and one of the isolated digital I/O readback signals.

Finally, it adds the aquila_adc label so the carrier board device trees
can reference it as an IIO channel provider (e.g. through io-channels in
voltage-divider nodes to measure Lotus board power rails).

Link: https://lore.kernel.org/all/20261130-v1-aquila-am69-add-xfi-support-v1-0-d2a3ca4f284f@toradex.com/ [1]
Link: https://www.toradex.com/computer-on-modules/aquila-arm-family/ti-am69
Link: https://www.toradex.com/products/carrier-board/lotus

---
Matheus Barbosa (4):
      dt-bindings: arm: ti: Add Aquila AM69 with Lotus board
      arm64: dts: ti: k3-am69-aquila: Add GPIO pingroups for the Lotus Carrier Board
      arm64: dts: ti: k3-am69-aquila: Add label to ADC node
      arm64: dts: ti: k3-am69-aquila: Add Lotus carrier board

 Documentation/devicetree/bindings/arm/ti/k3.yaml |   1 +
 arch/arm64/boot/dts/ti/Makefile                  |   1 +
 arch/arm64/boot/dts/ti/k3-am69-aquila-lotus.dts  | 566 +++++++++++++++++++++++
 arch/arm64/boot/dts/ti/k3-am69-aquila.dtsi       |  44 +-
 4 files changed, 611 insertions(+), 1 deletion(-)
---
base-commit: 451ff5cb486adb50d889e2884f811dc27aa9a43c
change-id: 20261124-am69-aquila-8818217cbe81

Best regards,
-- 
Matheus Barbosa <matheus.barbosa@toradex.com>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 1/4] dt-bindings: arm: ti: Add Aquila AM69 with Lotus board
  2026-12-02 15:42 [PATCH 0/4] arm64: dts: ti: k3-am69-aquila: Add Lotus carrier board Matheus Barbosa
@ 2026-12-02 15:42 ` Matheus Barbosa
  2026-12-02 15:42 ` [PATCH 2/4] arm64: dts: ti: k3-am69-aquila: Add GPIO pingroups for the Lotus Carrier Board Matheus Barbosa
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Matheus Barbosa @ 2026-12-02 15:42 UTC (permalink / raw)
  To: Nishanth Menon, Vignesh Raghavendra, Tero Kristo, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-arm-kernel, devicetree, linux-kernel, Matheus Barbosa

From: Matheus Barbosa <matheus.barbosa@toradex.com>

Add the Lotus Carrier Board mated with the Toradex Aquila AM69.

Link: https://www.toradex.com/computer-on-modules/aquila-arm-family/ti-am69
Link: https://www.toradex.com/products/carrier-board/lotus
Signed-off-by: Matheus Barbosa <matheus.barbosa@toradex.com>
---
 Documentation/devicetree/bindings/arm/ti/k3.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/arm/ti/k3.yaml b/Documentation/devicetree/bindings/arm/ti/k3.yaml
index 9a0d62234058..99894be6e9f8 100644
--- a/Documentation/devicetree/bindings/arm/ti/k3.yaml
+++ b/Documentation/devicetree/bindings/arm/ti/k3.yaml
@@ -187,6 +187,7 @@ properties:
           - enum:
               - toradex,aquila-am69-clover   # Aquila AM69 Module on Clover Board
               - toradex,aquila-am69-dev      # Aquila AM69 Module on Aquila Development Board
+              - toradex,aquila-am69-lotus    # Aquila AM69 Module on Lotus Board
           - const: toradex,aquila-am69       # Aquila AM69 Module
           - const: ti,j784s4
 

-- 
2.53.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 2/4] arm64: dts: ti: k3-am69-aquila: Add GPIO pingroups for the Lotus Carrier Board
  2026-12-02 15:42 [PATCH 0/4] arm64: dts: ti: k3-am69-aquila: Add Lotus carrier board Matheus Barbosa
  2026-12-02 15:42 ` [PATCH 1/4] dt-bindings: arm: ti: Add Aquila AM69 with Lotus board Matheus Barbosa
@ 2026-12-02 15:42 ` Matheus Barbosa
  2026-12-02 15:42 ` [PATCH 3/4] arm64: dts: ti: k3-am69-aquila: Add label to ADC node Matheus Barbosa
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Matheus Barbosa @ 2026-12-02 15:42 UTC (permalink / raw)
  To: Nishanth Menon, Vignesh Raghavendra, Tero Kristo, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-arm-kernel, devicetree, linux-kernel, Matheus Barbosa,
	Leonardo Costa

From: Matheus Barbosa <matheus.barbosa@toradex.com>

The PWM_4_DP and I2S_1_* signal pins, except for I2S_1_BCLK, are used as
GPIOs for SFP+ low-speed signals on boards which contain an SFP+ cage.

The I2S_1_BCLK pin (AQUILA_B20) is used as an Isolated Digital IO readback
on the Lotus Carrier Board.

Add pingroups muxing those pins to their GPIO functions.

Co-developed-by: Leonardo Costa <leonardo.costa@toradex.com>
Signed-off-by: Leonardo Costa <leonardo.costa@toradex.com>
Signed-off-by: Matheus Barbosa <matheus.barbosa@toradex.com>
---
 arch/arm64/boot/dts/ti/k3-am69-aquila.dtsi | 42 ++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/k3-am69-aquila.dtsi b/arch/arm64/boot/dts/ti/k3-am69-aquila.dtsi
index caedff90365d..c2410fa3d23e 100644
--- a/arch/arm64/boot/dts/ti/k3-am69-aquila.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am69-aquila.dtsi
@@ -278,6 +278,13 @@ J784S4_IOPAD(0x034, PIN_INPUT, 7) /* (AJ34) PMIC_WAKE0n.GPIO0_13 */ /* AQUILA B4
 		>;
 	};
 
+	/* Aquila PWM_4_DP as GPIO */
+	pinctrl_pwm4_dp_gpio: main-gpio0-16-default-pins {
+		pinctrl-single,pins = <
+			J784S4_IOPAD(0x040, PIN_INPUT, 7) /* (AF37) MCASP0_AXR0.GPIO0_16 */ /* AQUILA B58 */
+		>;
+	};
+
 	/* Aquila GPIO_02 */
 	pinctrl_gpio_02: main-gpio0-17-default-pins {
 		pinctrl-single,pins = <
@@ -299,6 +306,20 @@ J784S4_IOPAD(0x054, PIN_INPUT, 7) /* (AD37) MCASP2_ACLKX.GPIO0_21 */ /* AQUILA B
 		>;
 	};
 
+	/* Aquila I2S_1_D_OUT as GPIO */
+	pinctrl_i2s1_d_out_gpio: main-gpio0-26-default-pins {
+		pinctrl-single,pins = <
+			J784S4_IOPAD(0x068, PIN_INPUT, 7) /* (AE38) MCAN0_RX.GPIO0_26 */ /* AQUILA B22 */
+		>;
+	};
+
+	/* Aquila I2S_1_SYNC as GPIO */
+	pinctrl_i2s1_sync_gpio: main-gpio0-27-default-pins {
+		pinctrl-single,pins = <
+			J784S4_IOPAD(0x06c, PIN_INPUT, 7) /* (AJ37) MCAN1_TX.GPIO0_27 */ /* AQUILA B21 */
+		>;
+	};
+
 	/* Aquila USB_1_INT# */
 	pinctrl_usb1_int: main-gpio0-28-default-pins {
 		pinctrl-single,pins = <
@@ -313,6 +334,13 @@ J784S4_IOPAD(0x074, PIN_INPUT, 7) /* (AC33) MCAN2_TX.GPIO0_29 */ /* AQUILA D25 *
 		>;
 	};
 
+	/* Aquila I2S_1_MCLK as GPIO */
+	pinctrl_i2s1_mclk_gpio: main-gpio0-30-default-pins {
+		pinctrl-single,pins = <
+			J784S4_IOPAD(0x078, PIN_INPUT, 7) /* (AH37) MCAN2_RX.GPIO0_30 */ /* AQUILA B24 */
+		>;
+	};
+
 	/* Aquila GPIO_18_DSI_1 */
 	pinctrl_gpio_18_dsi_1: main-gpio0-31-default-pins {
 		pinctrl-single,pins = <
@@ -369,6 +397,20 @@ J784S4_IOPAD(0x0c0, PIN_INPUT, 7) /* (AD38) MCASP1_AXR0.GPIO0_48 */ /* AQUILA B1
 		>;
 	};
 
+	/* Aquila I2S_1_D_IN as GPIO */
+	pinctrl_i2s1_d_in_gpio: main-gpio0-49-default-pins {
+		pinctrl-single,pins = <
+			J784S4_IOPAD(0x0c4, PIN_INPUT, 7) /* (AD36) ECAP0_IN_APWM_OUT.GPIO0_49 */ /* AQUILA B23 */
+		>;
+	};
+
+	/* Aquila I2S_1_BCLK as GPIO */
+	pinctrl_i2s1_bclk_gpio: main-gpio0-50-default-pins {
+		pinctrl-single,pins = <
+			J784S4_IOPAD(0x0c8, PIN_INPUT, 7) /* (AJ32) EXT_REFCLK1.GPIO0_50 */ /* AQUILA B20 */
+		>;
+	};
+
 	/* Aquila SD_1_PWR_EN */
 	pinctrl_sd1_pwr_en: main-gpio0-52-default-pins {
 		pinctrl-single,pins = <

-- 
2.53.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 3/4] arm64: dts: ti: k3-am69-aquila: Add label to ADC node
  2026-12-02 15:42 [PATCH 0/4] arm64: dts: ti: k3-am69-aquila: Add Lotus carrier board Matheus Barbosa
  2026-12-02 15:42 ` [PATCH 1/4] dt-bindings: arm: ti: Add Aquila AM69 with Lotus board Matheus Barbosa
  2026-12-02 15:42 ` [PATCH 2/4] arm64: dts: ti: k3-am69-aquila: Add GPIO pingroups for the Lotus Carrier Board Matheus Barbosa
@ 2026-12-02 15:42 ` Matheus Barbosa
  2026-12-02 15:42 ` [PATCH 4/4] arm64: dts: ti: k3-am69-aquila: Add Lotus carrier board Matheus Barbosa
  2026-12-03  7:59 ` [PATCH 0/4] " Francesco Dolcini
  4 siblings, 0 replies; 6+ messages in thread
From: Matheus Barbosa @ 2026-12-02 15:42 UTC (permalink / raw)
  To: Nishanth Menon, Vignesh Raghavendra, Tero Kristo, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-arm-kernel, devicetree, linux-kernel, Matheus Barbosa

From: Matheus Barbosa <matheus.barbosa@toradex.com>

Add the aquila_adc label to the tscadc0 adc child node, so carrier board
device trees can reference it as an IIO channel provider (e.g. through
io-channels in voltage-divider nodes).

The label is needed because the IIO channel provider is the adc child
node, which has #io-channel-cells, and not its tscadc0 parent.

This will be used by the Lotus Carrier Board to monitor its power rails.

Signed-off-by: Matheus Barbosa <matheus.barbosa@toradex.com>
---
 arch/arm64/boot/dts/ti/k3-am69-aquila.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/ti/k3-am69-aquila.dtsi b/arch/arm64/boot/dts/ti/k3-am69-aquila.dtsi
index c2410fa3d23e..e6da45d62970 100644
--- a/arch/arm64/boot/dts/ti/k3-am69-aquila.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am69-aquila.dtsi
@@ -1566,7 +1566,7 @@ &tscadc0 {
 	pinctrl-0 = <&pinctrl_mcu_adc0>;
 	status = "disabled";
 
-	adc {
+	aquila_adc: adc {
 		ti,adc-channels = <0 1 2 3>;
 	};
 };

-- 
2.53.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 4/4] arm64: dts: ti: k3-am69-aquila: Add Lotus carrier board
  2026-12-02 15:42 [PATCH 0/4] arm64: dts: ti: k3-am69-aquila: Add Lotus carrier board Matheus Barbosa
                   ` (2 preceding siblings ...)
  2026-12-02 15:42 ` [PATCH 3/4] arm64: dts: ti: k3-am69-aquila: Add label to ADC node Matheus Barbosa
@ 2026-12-02 15:42 ` Matheus Barbosa
  2026-12-03  7:59 ` [PATCH 0/4] " Francesco Dolcini
  4 siblings, 0 replies; 6+ messages in thread
From: Matheus Barbosa @ 2026-12-02 15:42 UTC (permalink / raw)
  To: Nishanth Menon, Vignesh Raghavendra, Tero Kristo, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-arm-kernel, devicetree, linux-kernel, Matheus Barbosa,
	Leonardo Costa

From: Matheus Barbosa <matheus.barbosa@toradex.com>

Add support for the Aquila AM69 SoM mated with the Lotus Carrier Board.
Lotus is a carrier board for the Aquila family featuring a small form
factor (Nano-ITX 120mm x 120mm) and built for volume production.

It features 1x 1Gbit/s Ethernet, 1x 10Gbit/s SFP+ cage, 2x RS-485 (Isolated
and Non-Isolated), 4x CAN (3x Non-Isolated, 1x Isolated), 3x isolated
digital I/O, 1x CSI, 1x DSI, 1x TPM 2.0 chip, 1x microSD slot,
1x USB-C DRP, 1x USB 3 hub, DisplayPort through a Mini DP connector,
1x M.2 Key-B slot with USB / SIM card connector for a modem and
1x M.2 Key-M slot for NVMe SSD.

Route CPSW9G port 2 to SERDES2 lane 3 for the ETH_2 SFP+ cage (10 Gbps).
No other SGMII port can be routed into SERDES1 lane 3, so MSP_9 is unused.

Link: https://www.toradex.com/computer-on-modules/aquila-arm-family/ti-am69
Link: https://www.toradex.com/products/carrier-board/lotus
Co-developed-by: Leonardo Costa <leonardo.costa@toradex.com>
Signed-off-by: Leonardo Costa <leonardo.costa@toradex.com>
Signed-off-by: Matheus Barbosa <matheus.barbosa@toradex.com>
---

The description of main_cpsw0_port2 matches the hardware: the SFP+ cage
is wired to CPSW9G port 2 through SERDES2 lane 3, and "10gbase-r" is the
correct phy-mode for it. The binding already accepts it, and dtbs_check
is clean.

Driver support for 10GBASE-R in am65-cpsw-nuss and phy-gmii-sel is under
review on netdev:
https://lore.kernel.org/all/20261130-v1-aquila-am69-add-xfi-support-v1-0-d2a3ca4f284f@toradex.com/

The series does not depend on it at build time and can be merged as is.
Until the driver support lands, only the SFP+ port stays down; the rest
of the board works. Once it lands, the SFP+ port works with no DT change.
---
 arch/arm64/boot/dts/ti/Makefile                 |   1 +
 arch/arm64/boot/dts/ti/k3-am69-aquila-lotus.dts | 566 ++++++++++++++++++++++++
 2 files changed, 567 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/Makefile b/arch/arm64/boot/dts/ti/Makefile
index da654153a35b..e18facaa2c6b 100644
--- a/arch/arm64/boot/dts/ti/Makefile
+++ b/arch/arm64/boot/dts/ti/Makefile
@@ -230,6 +230,7 @@ dtb-$(CONFIG_ARCH_K3) += k3-am69-aquila-dev-dsi-to-hdmi.dtb
 dtb-$(CONFIG_ARCH_K3) += k3-am69-aquila-dsi-to-hdmi.dtbo
 dtb-$(CONFIG_ARCH_K3) += k3-am69-aquila-dsi-to-lvds-panel-cap-touch-10inch.dtbo
 dtb-$(CONFIG_ARCH_K3) += k3-am69-aquila-dsi-to-lvds-v2-panel-cap-touch-10inch.dtbo
+dtb-$(CONFIG_ARCH_K3) += k3-am69-aquila-lotus.dtb
 dtb-$(CONFIG_ARCH_K3) += k3-am69-aquila-panel-cap-touch-10inch-dsi.dtbo
 dtb-$(CONFIG_ARCH_K3) += k3-am69-aquila-panel-cap-touch-7inch-dsi.dtbo
 dtb-$(CONFIG_ARCH_K3) += k3-am69-sk.dtb
diff --git a/arch/arm64/boot/dts/ti/k3-am69-aquila-lotus.dts b/arch/arm64/boot/dts/ti/k3-am69-aquila-lotus.dts
new file mode 100644
index 000000000000..9550adc11915
--- /dev/null
+++ b/arch/arm64/boot/dts/ti/k3-am69-aquila-lotus.dts
@@ -0,0 +1,566 @@
+// SPDX-License-Identifier: GPL-2.0-only OR MIT
+/*
+ * Copyright (c) Toradex
+ *
+ * https://www.toradex.com/computer-on-modules/aquila-arm-family/ti-am69
+ * https://www.toradex.com/products/carrier-board/lotus
+ */
+
+/dts-v1/;
+
+#include <dt-bindings/phy/phy.h>
+#include <dt-bindings/pwm/pwm.h>
+#include "k3-am69-aquila.dtsi"
+
+/ {
+	model = "Toradex Aquila AM69 on Lotus Board";
+	compatible = "toradex,aquila-am69-lotus",
+		     "toradex,aquila-am69",
+		     "ti,j784s4";
+
+	aliases {
+		eeprom1 = &carrier_eeprom;
+		ethernet1 = &main_cpsw0_port2;
+	};
+
+	/* Aquila DP_1 */
+	dp-connector {
+		compatible = "dp-connector";
+		dp-pwr-supply = <&reg_3v3_dp>;
+		label = "Display Port";
+		type = "mini";
+
+		port {
+			dp_connector_in: endpoint {
+				remote-endpoint = <&dp0_out>;
+			};
+		};
+	};
+
+	lotus-1v8-voltage {
+		compatible = "voltage-divider";
+		full-ohms = <39000>; /* 12k + 27k */
+		/* Aquila ADC_3 */
+		io-channels = <&aquila_adc 2>;
+		output-ohms = <27000>;
+	};
+
+	lotus-3v3-voltage {
+		compatible = "voltage-divider";
+		full-ohms = <54000>; /* 27k + 27k */
+		/* Aquila ADC_2 */
+		io-channels = <&aquila_adc 1>;
+		output-ohms = <27000>;
+	};
+
+	lotus-5v-voltage {
+		compatible = "voltage-divider";
+		full-ohms = <39000>; /* 27k + 12k */
+		/* Aquila ADC_1 */
+		io-channels = <&aquila_adc 0>;
+		output-ohms = <12000>;
+	};
+
+	reg_3v3_dp: regulator-3v3-dp {
+		compatible = "regulator-fixed";
+		pinctrl-names = "default";
+		pinctrl-0 = <&pinctrl_gpio_21_dp>;
+		/* Aquila GPIO_21_DP (AQUILA B57) */
+		gpio = <&main_gpio0 21 GPIO_ACTIVE_HIGH>;
+		enable-active-high;
+		regulator-always-on;
+		regulator-boot-on;
+		regulator-max-microvolt = <3300000>;
+		regulator-min-microvolt = <3300000>;
+		regulator-name = "DP_3V3";
+		startup-delay-us = <10000>;
+	};
+
+	sfp: sfp {
+		compatible = "sff,sfp";
+		pinctrl-names = "default";
+		pinctrl-0 = <&pinctrl_i2s1_sync_gpio>,
+			    <&pinctrl_i2s1_d_out_gpio>,
+			    <&pinctrl_i2s1_d_in_gpio>,
+			    <&pinctrl_i2s1_mclk_gpio>,
+			    <&pinctrl_gpio_19_dsi_1>,
+			    <&pinctrl_pwm4_dp_gpio>;
+		i2c-bus = <&mcu_i2c0>;
+		los-gpios = <&main_gpio0 13 GPIO_ACTIVE_HIGH>;
+		maximum-power-milliwatt = <4000>;
+		mod-def0-gpios = <&main_gpio0 27 GPIO_ACTIVE_LOW>;
+		rate-select0-gpios = <&main_gpio0 49 GPIO_ACTIVE_HIGH>;
+		rate-select1-gpios = <&main_gpio0 16 GPIO_ACTIVE_HIGH>;
+		tx-disable-gpios = <&main_gpio0 30 GPIO_ACTIVE_HIGH>;
+		tx-fault-gpios = <&main_gpio0 26 GPIO_ACTIVE_HIGH>;
+	};
+};
+
+/* On-module ETH_1 MDIO */
+&davinci_mdio {
+	status = "okay";
+};
+
+&dp0_ports {
+	port@4 {
+		reg = <4>;
+
+		dp0_out: endpoint {
+			remote-endpoint = <&dp_connector_in>;
+		};
+	};
+};
+
+&dss {
+	status = "okay";
+};
+
+&main0_thermal {
+	cooling-maps {
+		map0 {
+			cooling-device = <&fan 1 1>;
+			trip = <&main0_alert0>;
+		};
+
+		map1 {
+			cooling-device = <&fan 2 2>;
+			trip = <&main0_alert1>;
+		};
+	};
+};
+
+&main1_thermal {
+	cooling-maps {
+		map0 {
+			cooling-device = <&fan 1 1>;
+			trip = <&main1_alert0>;
+		};
+
+		map1 {
+			cooling-device = <&fan 2 2>;
+			trip = <&main1_alert1>;
+		};
+	};
+};
+
+&main2_thermal {
+	cooling-maps {
+		map0 {
+			cooling-device = <&fan 1 1>;
+			trip = <&main2_alert0>;
+		};
+
+		map1 {
+			cooling-device = <&fan 2 2>;
+			trip = <&main2_alert1>;
+		};
+	};
+};
+
+&main3_thermal {
+	cooling-maps {
+		map0 {
+			cooling-device = <&fan 1 1>;
+			trip = <&main3_alert0>;
+		};
+
+		map1 {
+			cooling-device = <&fan 2 2>;
+			trip = <&main3_alert1>;
+		};
+	};
+};
+
+&main4_thermal {
+	cooling-maps {
+		map0 {
+			cooling-device = <&fan 1 1>;
+			trip = <&main4_alert0>;
+		};
+
+		map1 {
+			cooling-device = <&fan 2 2>;
+			trip = <&main4_alert1>;
+		};
+	};
+};
+
+&main_cpsw0 {
+	status = "okay";
+};
+
+/* Aquila ETH_2_XGMII, SFP+ cage */
+&main_cpsw0_port2 {
+	managed = "in-band-status";
+	phy-mode = "10gbase-r";
+	phys = <&cpsw0_phy_gmii_sel 2>, <&serdes2_sgmii_link>;
+	phy-names = "mac", "serdes";
+	sfp = <&sfp>;
+
+	status = "okay";
+};
+
+/* Aquila PWM_1 */
+&main_ehrpwm0 {
+	status = "okay";
+};
+
+/* Aquila PWM_2 */
+&main_ehrpwm1 {
+	status = "okay";
+};
+
+&main_gpio0 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_gpio_01>,
+		    <&pinctrl_gpio_02>,
+		    <&pinctrl_gpio_03>,
+		    <&pinctrl_i2s1_bclk_gpio>; /* DI1_RB */
+};
+
+/* Aquila I2C_3_DSI1 */
+&main_i2c0 {
+	status = "okay";
+};
+
+/* Aquila I2C_4_CSI1 */
+&main_i2c1 {
+	status = "okay";
+};
+
+/* Aquila I2C_5_CSI2 */
+&main_i2c2 {
+	status = "okay";
+};
+
+/* Aquila I2C_6 */
+&main_i2c5 {
+	status = "okay";
+};
+
+/* Aquila CAN_1 */
+&main_mcan10 {
+	status = "okay";
+};
+
+/* Aquila CAN_3 */
+&main_mcan13 {
+	status = "okay";
+};
+
+/* Aquila SD_1 */
+&main_sdhci1 {
+	status = "okay";
+};
+
+/* Aquila SPI_2 */
+&main_spi0 {
+	status = "okay";
+};
+
+/* Aquila SPI_1 */
+&main_spi2 {
+	pinctrl-0 = <&pinctrl_main_spi2>,
+		    <&pinctrl_main_spi2_cs0>,
+		    <&pinctrl_gpio_05>;
+	/* Aquila SPI_1_CS (Aquila D09), Aquila GPIO_05 (Aquila C21) */
+	cs-gpios = <&main_gpio0 39 GPIO_ACTIVE_LOW>,
+		   <&wkup_gpio0 29 GPIO_ACTIVE_LOW>;
+
+	status = "okay";
+
+	tpm@1 {
+		compatible = "infineon,slb9670", "tcg,tpm_tis-spi";
+		reg = <1>;
+		pinctrl-names = "default";
+		pinctrl-0 = <&pinctrl_gpio_06>;
+		/* Aquila GPIO_06 (Aquila C22) */
+		interrupt-parent = <&wkup_gpio0>;
+		interrupts = <30 IRQ_TYPE_EDGE_FALLING>;
+		spi-max-frequency = <12000000>;
+	};
+};
+
+/* Aquila UART_1 as Non-Isolated RS-485 */
+&main_uart4 {
+	rs485-rts-active-low;
+	linux,rs485-enabled-at-boot-time;
+
+	status = "okay";
+};
+
+/* Aquila UART_3, used as the Linux console */
+&main_uart8 {
+	status = "okay";
+};
+
+&mcu_cpsw {
+	status = "okay";
+};
+
+/* On-module ETH_1 RGMII */
+&mcu_cpsw_port1 {
+	status = "okay";
+};
+
+/* Aquila I2C_1 */
+&mcu_i2c0 {
+	clock-frequency = <100000>;
+
+	status = "okay";
+
+	fan_controller: fan@18 {
+		compatible = "ti,amc6821";
+		reg = <0x18>;
+		#pwm-cells = <2>;
+
+		fan: fan {
+			cooling-levels = <102 179 255>;
+			#cooling-cells = <2>;
+			pwms = <&fan_controller 40000 PWM_POLARITY_INVERTED>;
+		};
+	};
+
+	gpio@20 {
+		compatible = "ti,tca6408";
+		reg = <0x20>;
+		#gpio-cells = <2>;
+		gpio-controller;
+		gpio-line-names =
+			"DO1_EN",
+			"DO2_EN",
+			"DO3_EN",
+			"",
+			"DI1_EN",
+			"DI2_EN",
+			"DI3_EN",
+			"";
+	};
+
+	temperature-sensor@4f {
+		compatible = "ti,tmp1075";
+		reg = <0x4f>;
+	};
+
+	/* USB-C DRP (TCPC USB PD PHY) */
+	tcpc@52 {
+		compatible = "nxp,ptn5110", "tcpci";
+		reg = <0x52>;
+		pinctrl-names = "default";
+		pinctrl-0 = <&pinctrl_usb1_int>;
+		interrupt-parent = <&main_gpio0>;
+		interrupts = <28 IRQ_TYPE_EDGE_FALLING>;
+
+		connector {
+			compatible = "usb-c-connector";
+			data-role = "dual";
+			op-sink-microwatt = <0>;
+			power-role = "dual";
+			self-powered;
+			sink-pdos = <PDO_FIXED(5000, 0, PDO_FIXED_USB_COMM)>;
+			source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>;
+			try-power-role = "sink";
+
+			ports {
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+				port@0 {
+					reg = <0>;
+
+					usb_1_con_hs: endpoint {
+						remote-endpoint = <&usb0_hs>;
+					};
+				};
+
+				port@1 {
+					reg = <1>;
+
+					usb_1_con_ss: endpoint {
+						remote-endpoint = <&usb0_ss_mux>;
+					};
+				};
+			};
+		};
+	};
+
+	carrier_eeprom: eeprom@57 {
+		compatible = "st,24c02", "atmel,24c02";
+		reg = <0x57>;
+		pagesize = <16>;
+	};
+};
+
+/* Aquila I2C_2 */
+&mcu_i2c1 {
+	status = "okay";
+};
+
+/* Aquila CAN_2 */
+&mcu_mcan0 {
+	status = "okay";
+};
+
+/* Aquila CAN_4 */
+&mcu_mcan1 {
+	status = "okay";
+};
+
+/* Aquila UART_4 */
+&mcu_uart0 {
+	status = "okay";
+};
+
+&mhdp {
+	status = "okay";
+};
+
+/* Aquila QSPI_1 */
+&ospi0 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_mcu_ospi0_4bit>, <&pinctrl_mcu_ospi0_cs0>;
+
+	status = "okay";
+
+	flash@0 {
+		compatible = "jedec,spi-nor";
+		reg = <0>;
+		spi-max-frequency = <66000000>;
+		spi-rx-bus-width = <4>;
+		spi-tx-bus-width = <4>;
+		cdns,read-delay = <0>;
+		cdns,tchsh-ns = <3>;
+		cdns,tsd2d-ns = <10>;
+		cdns,tshsl-ns = <30>;
+		cdns,tslch-ns = <8>;
+	};
+};
+
+/* Aquila PCIE_1, M.2 Key-M */
+&pcie0_rc {
+	status = "okay";
+};
+
+/* Aquila PCIE_2, M.2 Key-B */
+&pcie1_rc {
+	status = "okay";
+};
+
+&serdes2 {
+	status = "okay";
+};
+
+/* Aquila ETH_2_XGMII. USXGMII shares the 10GBASE-R PHY layer */
+&serdes2_sgmii_link {
+	cdns,phy-type = <PHY_TYPE_USXGMII>;
+};
+
+&serdes4 {
+	status = "okay";
+};
+
+/*
+ * Route CPSW9G port 2 to SERDES2 lane 3 for the ETH_2 SFP+ cage (10 Gbps).
+ * SERDES1 lane 3 (MSP_9) can only carry port 2, so it is left unused.
+ */
+&serdes_ln_ctrl {
+	idle-states = <J784S4_SERDES0_LANE0_PCIE1_LANE0>,     /* Aquila PCIE_2 L0          */
+		      <J784S4_SERDES0_LANE1_PCIE1_LANE1>,     /* Aquila PCIE_2 L1          */
+		      <J784S4_SERDES0_LANE2_PCIE3_LANE0>,     /* On-module PCIe Wi-Fi      */
+		      <J784S4_SERDES0_LANE3_USB>,             /* Aquila USB0 SS            */
+		      <J784S4_SERDES1_LANE0_PCIE0_LANE0>,     /* Aquila PCIE_1 L0          */
+		      <J784S4_SERDES1_LANE1_PCIE0_LANE1>,     /* Aquila PCIE_1 L1          */
+		      <J784S4_SERDES1_LANE2_PCIE2_LANE0>,     /* On-module PCIe USB Bridge */
+		      <J784S4_SERDES1_LANE3_IP4_UNUSED>,      /* Aquila SGMII MSP_9        */
+		      <J784S4_SERDES2_LANE0_QSGMII_LANE5>,    /* Aquila SGMII MSP_6        */
+		      <J784S4_SERDES2_LANE1_QSGMII_LANE6>,    /* Aquila SGMII MSP_7        */
+		      <J784S4_SERDES2_LANE2_QSGMII_LANE7>,    /* Aquila SGMII MSP_8        */
+		      <J784S4_SERDES2_LANE3_QSGMII_LANE2>,    /* Aquila ETH_2 xGMII        */
+		      <J784S4_SERDES4_LANE0_EDP_LANE0>,       /* Aquila DP L0              */
+		      <J784S4_SERDES4_LANE1_EDP_LANE1>,       /* Aquila DP L1              */
+		      <J784S4_SERDES4_LANE2_EDP_LANE2>,       /* Aquila DP L2              */
+		      <J784S4_SERDES4_LANE3_EDP_LANE3>;       /* Aquila DP L3              */
+};
+
+&serdes_wiz2 {
+	/* 156.25 MHz reference clock required for USXGMII/XFI */
+	assigned-clock-parents = <&k3_clks 406 9>;
+
+	status = "okay";
+};
+
+&serdes_wiz4 {
+	status = "okay";
+};
+
+/* Aquila ADC_[1-4] */
+&tscadc0 {
+	status = "okay";
+};
+
+&usb0 {
+	status = "okay";
+
+	port {
+		usb0_hs: endpoint {
+			remote-endpoint = <&usb_1_con_hs>;
+		};
+	};
+};
+
+&usb0ss_mux {
+	status = "okay";
+
+	port {
+		usb0_ss_mux: endpoint {
+			remote-endpoint = <&usb_1_con_ss>;
+		};
+	};
+};
+
+&usbss0 {
+	status = "okay";
+};
+
+&wkup0_thermal {
+	cooling-maps {
+		map0 {
+			cooling-device = <&fan 1 1>;
+			trip = <&wkup0_alert0>;
+		};
+
+		map1 {
+			cooling-device = <&fan 2 2>;
+			trip = <&wkup0_alert1>;
+		};
+	};
+};
+
+&wkup1_thermal {
+	cooling-maps {
+		map0 {
+			cooling-device = <&fan 1 1>;
+			trip = <&wkup1_alert0>;
+		};
+
+		map1 {
+			cooling-device = <&fan 2 2>;
+			trip = <&wkup1_alert1>;
+		};
+	};
+};
+
+&wkup_gpio0 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_gpio_04>,
+		    <&pinctrl_gpio_07>, /* DI2_RB */
+		    <&pinctrl_gpio_08>; /* DI3_RB */
+};
+
+/* Aquila UART_2 as Isolated RS-485 */
+&wkup_uart0 {
+	rs485-rts-active-low;
+	linux,rs485-enabled-at-boot-time;
+
+	status = "okay";
+};

-- 
2.53.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 0/4] arm64: dts: ti: k3-am69-aquila: Add Lotus carrier board
  2026-12-02 15:42 [PATCH 0/4] arm64: dts: ti: k3-am69-aquila: Add Lotus carrier board Matheus Barbosa
                   ` (3 preceding siblings ...)
  2026-12-02 15:42 ` [PATCH 4/4] arm64: dts: ti: k3-am69-aquila: Add Lotus carrier board Matheus Barbosa
@ 2026-12-03  7:59 ` Francesco Dolcini
  4 siblings, 0 replies; 6+ messages in thread
From: Francesco Dolcini @ 2026-12-03  7:59 UTC (permalink / raw)
  To: Matheus Barbosa
  Cc: Nishanth Menon, Vignesh Raghavendra, Tero Kristo, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, linux-arm-kernel, devicetree,
	linux-kernel, Matheus Barbosa, Leonardo Costa

On Wed, Dec 02, 2026 at 12:42:17PM -0300, Matheus Barbosa wrote:
> Add Lotus Carrier Board mated with Aquila AM69.
> 
> This patch series adds support for the Lotus Carrier Board with the
> Toradex Aquila AM69 SoM. Lotus is a carrier board for the Aquila family
> featuring a small form factor (Nano-ITX 120mm x 120mm) and built for
> volume production.

Reviewed-by: Francesco Dolcini <francesco.dolcini@toradex.com>


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-12-03  7:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-02 15:42 [PATCH 0/4] arm64: dts: ti: k3-am69-aquila: Add Lotus carrier board Matheus Barbosa
2026-12-02 15:42 ` [PATCH 1/4] dt-bindings: arm: ti: Add Aquila AM69 with Lotus board Matheus Barbosa
2026-12-02 15:42 ` [PATCH 2/4] arm64: dts: ti: k3-am69-aquila: Add GPIO pingroups for the Lotus Carrier Board Matheus Barbosa
2026-12-02 15:42 ` [PATCH 3/4] arm64: dts: ti: k3-am69-aquila: Add label to ADC node Matheus Barbosa
2026-12-02 15:42 ` [PATCH 4/4] arm64: dts: ti: k3-am69-aquila: Add Lotus carrier board Matheus Barbosa
2026-12-03  7:59 ` [PATCH 0/4] " Francesco Dolcini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox