[PATCH 4/4] arm64: dts: ti: k3-am69-aquila: Add Lotus carrier board
Matheus Barbosa
code at matheusmbar.com
Wed Dec 2 07:42:21 PST 2026
From: Matheus Barbosa <matheus.barbosa at 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 at toradex.com>
Signed-off-by: Leonardo Costa <leonardo.costa at toradex.com>
Signed-off-by: Matheus Barbosa <matheus.barbosa at 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 = <®_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 at 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 at 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 at 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 at 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 at 4f {
+ compatible = "ti,tmp1075";
+ reg = <0x4f>;
+ };
+
+ /* USB-C DRP (TCPC USB PD PHY) */
+ tcpc at 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 at 0 {
+ reg = <0>;
+
+ usb_1_con_hs: endpoint {
+ remote-endpoint = <&usb0_hs>;
+ };
+ };
+
+ port at 1 {
+ reg = <1>;
+
+ usb_1_con_ss: endpoint {
+ remote-endpoint = <&usb0_ss_mux>;
+ };
+ };
+ };
+ };
+ };
+
+ carrier_eeprom: eeprom at 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 at 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
More information about the linux-arm-kernel
mailing list