Linux kernel and device drivers for NXP i.MX platforms
 help / color / mirror / Atom feed
From: Josua Mayer <josua@solid-run.com>
To: Shawn Guo <shawnguo@kernel.org>, Li Yang <leoyang.li@nxp.com>,
	Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Conor Dooley <conor+dt@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Frank Li <Frank.Li@nxp.com>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	Fabio Estevam <festevam@gmail.com>
Cc: Yazan Shhady <yazan.shhady@solid-run.com>,
	Jon Nettleton <jon@solid-run.com>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"imx@lists.linux.dev" <imx@lists.linux.dev>
Subject: Re: [PATCH v5 10/10] arm64: dts: Add support for LX2160 Twins board in single configuration
Date: Sun, 10 May 2026 15:23:40 +0000	[thread overview]
Message-ID: <8e338f0c-eeea-4d0e-bbc9-0e4987d2bba8@solid-run.com> (raw)
In-Reply-To: <20260510-lx2160-pci-v5-10-540b83852227@solid-run.com>

Am 10.05.26 um 17:12 schrieb Josua Mayer:
> Add support for the SolidRun LX2160A Twins board in its single cpu
> configuration.
>
> The twins board is designed to host a pair of LX2160A CEX-7 modules,
> sharing a single PCI-E connector in multi-host mode.
>
> It may be assembled in two configurations (different assembly options
> facilitating signal re-routing), with a single or with dual CEX-7
> module. Their marketing names are:
>
> - SolidWAN Single LX2160
> - SolidWAN Dual LX2160
>
> This patch adds the single configuration, featuring:
> - 8x SFP (1Gbps)
> - 8x SFP+ (1/10Gbps)
> - PCI-E OCP card connector
> - USB-3.0 front-panel header with single port
> - microSD
> - dual hot-swappable power supplies
>
> Signed-off-by: Josua Mayer <josua@solid-run.com>
> ---
>  arch/arm64/boot/dts/freescale/Makefile             |   2 +
>  .../boot/dts/freescale/fsl-lx2160a-clearfog-cx.dts |   2 +-
>  .../boot/dts/freescale/fsl-lx2160a-half-twins.dts  | 822 +++++++++++++++++++++
>  3 files changed, 825 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile
> index 711e36cc2c990..59eee431562ef 100644
> --- a/arch/arm64/boot/dts/freescale/Makefile
> +++ b/arch/arm64/boot/dts/freescale/Makefile
> @@ -51,6 +51,8 @@ DTC_FLAGS_fsl-lx2160a-bluebox3-rev-a := -Wno-interrupt_map
>  dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2160a-bluebox3-rev-a.dtb
>  DTC_FLAGS_fsl-lx2160a-clearfog-cx := -Wno-interrupt_map
>  dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2160a-clearfog-cx.dtb
> +DTC_FLAGS_fsl-lx2160a-half-twins := -Wno-interrupt_map
> +dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2160a-half-twins.dtb
>  DTC_FLAGS_fsl-lx2160a-honeycomb := -Wno-interrupt_map
>  dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2160a-honeycomb.dtb
>  DTC_FLAGS_fsl-lx2160a-qds := -Wno-interrupt_map
> diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a-clearfog-cx.dts b/arch/arm64/boot/dts/freescale/fsl-lx2160a-clearfog-cx.dts
> index 802d7611c6479..6078ce47fabf1 100644
> --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-clearfog-cx.dts
> +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-clearfog-cx.dts
> @@ -6,7 +6,7 @@
>  
>  /dts-v1/;
>  
> -#include "fsl-lx2160a.dtsi"
> +#include "fsl-lx2160a-rev2.dtsi"
>  #include "fsl-lx2160a-cex7.dtsi"
>  #include "fsl-lx2160a-clearfog-itx.dtsi"
This was accidental leftover from testing pci  patch, and will be removed in next version.
The clearfog-cx may have either silicon revision 1 or 2.
> diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a-half-twins.dts b/arch/arm64/boot/dts/freescale/fsl-lx2160a-half-twins.dts
> new file mode 100644
> index 0000000000000..434b3f4873008
> --- /dev/null
> +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-half-twins.dts
> @@ -0,0 +1,822 @@
> +// SPDX-License-Identifier: (GPL-2.0 OR MIT)
> +//
> +// Device Tree file for single LX2160A CEX-7 on Twins board.
> +//
> +// Copyright 2022 SolidRun Ltd.
> +
> +/dts-v1/;
> +
> +#include <dt-bindings/leds/common.h>
> +
> +#include "fsl-lx2160a-rev2.dtsi"
> +#include "fsl-lx2160a-cex7.dtsi"
> +
> +/ {
> +	compatible = "solidrun,twins-single", "solidrun,lx2160a-cex7", "fsl,lx2160a";
> +	model = "SolidRun LX2160A SolidWAN Single";
> +
> +	aliases {
> +		gpio0 = &gpio0;
> +		gpio1 = &gpio1;
> +		gpio2 = &gpio2;
> +		gpio3 = &gpio3;
> +		gpio4 = &expander0;
> +		gpio5 = &expander1;
> +		gpio6 = &expander2;
> +		gpio7 = &expander3;
> +		i2c0 = &i2c0;
> +		i2c1 = &i2c2;
> +		i2c2 = &i2c4;
> +		i2c3 = &fan_i2c;
> +		i2c4 = &power_i2c;
> +		i2c5 = &i2c_smb;
> +		i2c6 = &sfp0_i2c;
> +		i2c7 = &sfp1_i2c;
> +		i2c8 = &sfp2_i2c;
> +		i2c9 = &sfp3_i2c;
> +		i2c10 = &twins_sfp_c1_at_i2c;
> +		i2c11 = &twins_sfp_c1_ab_i2c;
> +		i2c12 = &twins_sfp_c1_bt_i2c;
> +		i2c13 = &twins_sfp_c1_bb_i2c;
> +		i2c14 = &twins_sfp_c2_at_i2c;
> +		i2c15 = &twins_sfp_c2_ab_i2c;
> +		i2c16 = &twins_sfp_c2_bt_i2c;
> +		i2c17 = &twins_sfp_c2_bb_i2c;
> +		i2c18 = &twins_sfp_c3_at_i2c;
> +		i2c19 = &twins_sfp_c3_ab_i2c;
> +		i2c20 = &twins_sfp_c3_bt_i2c;
> +		i2c21 = &twins_sfp_c3_bb_i2c;
> +		i2c22 = &htwins_sfp_c3_at_i2c;
> +		i2c23 = &htwins_sfp_c3_ab_i2c;
> +		i2c24 = &htwins_sfp_c3_bt_i2c;
> +		i2c25 = &htwins_sfp_c3_bb_i2c;
> +		i2c26 = &ddr_i2c;
> +		mmc0 = &esdhc0;
> +		mmc1 = &esdhc1;
> +		serial0 = &uart0;
> +		serial1 = &uart1;
> +	};
> +
> +	chosen {
> +		stdout-path = "serial0:115200n8";
> +	};
> +
> +	leds {
> +		compatible = "gpio-leds";
> +
> +		led_ht_c3_bt: led-sfp-1 {
> +			color = <LED_COLOR_ID_GREEN>;
> +			default-state = "off";
> +			function = LED_FUNCTION_LAN;
> +			function-enumerator = <1>;
> +			gpios = <&expander3 14 GPIO_ACTIVE_LOW>;
> +			trigger-sources = <&dpmac5>;
> +			linux,default-trigger = "netdev";
> +		};
> +
> +		led_ht_c3_bb: led-sfp-2 {
> +			color = <LED_COLOR_ID_GREEN>;
> +			default-state = "off";
> +			function = LED_FUNCTION_LAN;
> +			function-enumerator = <2>;
> +			gpios = <&expander3 13 GPIO_ACTIVE_LOW>;
> +			trigger-sources = <&dpmac15>;
> +			linux,default-trigger = "netdev";
> +		};
> +
> +		led_ht_c3_at: led-sfp-3 {
> +			color = <LED_COLOR_ID_GREEN>;
> +			default-state = "off";
> +			function = LED_FUNCTION_LAN;
> +			function-enumerator = <2>;
> +			gpios = <&expander3 11 GPIO_ACTIVE_LOW>;
> +			trigger-sources = <&dpmac6>;
> +			linux,default-trigger = "netdev";
> +		};
> +
> +		led_ht_c3_ab: led-sfp-4 {
> +			color = <LED_COLOR_ID_GREEN>;
> +			default-state = "off";
> +			function = LED_FUNCTION_LAN;
> +			function-enumerator = <4>;
> +			gpios = <&expander3 12 GPIO_ACTIVE_LOW>;
> +			trigger-sources = <&dpmac11>;
> +			linux,default-trigger = "netdev";
> +		};
> +
> +		led_c1_bt: led-sfp-9 {
> +			color = <LED_COLOR_ID_GREEN>;
> +			default-state = "off";
> +			function = LED_FUNCTION_LAN;
> +			function-enumerator = <9>;
> +			gpios = <&expander1 4 GPIO_ACTIVE_LOW>;
> +			trigger-sources = <&dpmac4>;
> +			linux,default-trigger = "netdev";
> +		};
> +
> +		led_c1_bb: led-sfp-10 {
> +			color = <LED_COLOR_ID_GREEN>;
> +			default-state = "off";
> +			function = LED_FUNCTION_LAN;
> +			function-enumerator = <10>;
> +			gpios = <&expander1 3 GPIO_ACTIVE_LOW>;
> +			trigger-sources = <&dpmac17>;
> +			linux,default-trigger = "netdev";
> +		};
> +
> +		led_c1_at: led-sfp-11 {
> +			color = <LED_COLOR_ID_GREEN>;
> +			default-state = "off";
> +			function = LED_FUNCTION_LAN;
> +			function-enumerator = <11>;
> +			gpios = <&expander1 1 GPIO_ACTIVE_LOW>;
> +			trigger-sources = <&dpmac3>;
> +			linux,default-trigger = "netdev";
> +		};
> +
> +		led_c1_ab: led-sfp-12 {
> +			color = <LED_COLOR_ID_GREEN>;
> +			default-state = "off";
> +			function = LED_FUNCTION_LAN;
> +			function-enumerator = <12>;
> +			gpios = <&expander1 2 GPIO_ACTIVE_LOW>;
> +			trigger-sources = <&dpmac12>;
> +			linux,default-trigger = "netdev";
> +		};
> +
> +		led_c2_bt: led-sfp-13 {
> +			color = <LED_COLOR_ID_GREEN>;
> +			default-state = "off";
> +			function = LED_FUNCTION_LAN;
> +			function-enumerator = <13>;
> +			gpios = <&expander1 10 GPIO_ACTIVE_LOW>;
> +			trigger-sources = <&dpmac8>;
> +			linux,default-trigger = "netdev";
> +		};
> +
> +		led_c2_bb: led-sfp-14 {
> +			color = <LED_COLOR_ID_GREEN>;
> +			default-state = "off";
> +			function = LED_FUNCTION_LAN;
> +			function-enumerator = <14>;
> +			gpios = <&expander1 9 GPIO_ACTIVE_LOW>;
> +			trigger-sources = <&dpmac16>;
> +			linux,default-trigger = "netdev";
> +		};
> +
> +		led_c2_at: led-sfp-15 {
> +			color = <LED_COLOR_ID_GREEN>;
> +			default-state = "off";
> +			function = LED_FUNCTION_LAN;
> +			function-enumerator = <15>;
> +			gpios = <&expander1 5 GPIO_ACTIVE_LOW>;
> +			trigger-sources = <&dpmac7>;
> +			linux,default-trigger = "netdev";
> +		};
> +
> +		led_c2_ab: led-sfp-16 {
> +			color = <LED_COLOR_ID_GREEN>;
> +			default-state = "off";
> +			function = LED_FUNCTION_LAN;
> +			function-enumerator = <16>;
> +			gpios = <&expander1 6 GPIO_ACTIVE_LOW>;
> +			trigger-sources = <&dpmac18>;
> +			linux,default-trigger = "netdev";
> +		};
> +
> +		led_c3_bt: led-sfp-17 {
> +			color = <LED_COLOR_ID_GREEN>;
> +			default-state = "off";
> +			function = LED_FUNCTION_LAN;
> +			function-enumerator = <17>;
> +			gpios = <&expander1 14 GPIO_ACTIVE_LOW>;
> +			trigger-sources = <&dpmac10>;
> +			linux,default-trigger = "netdev";
> +		};
> +
> +		led_c3_bb: led-sfp-18 {
> +			color = <LED_COLOR_ID_GREEN>;
> +			default-state = "off";
> +			function = LED_FUNCTION_LAN;
> +			function-enumerator = <18>;
> +			gpios = <&expander1 13 GPIO_ACTIVE_LOW>;
> +			trigger-sources = <&dpmac14>;
> +			linux,default-trigger = "netdev";
> +		};
> +
> +		led_c3_at: led-sfp-19 {
> +			color = <LED_COLOR_ID_GREEN>;
> +			default-state = "off";
> +			function = LED_FUNCTION_LAN;
> +			function-enumerator = <19>;
> +			gpios = <&expander1 11 GPIO_ACTIVE_LOW>;
> +			trigger-sources = <&dpmac9>;
> +			linux,default-trigger = "netdev";
> +		};
> +
> +		led_c3_ab: led-sfp-20 {
> +			color = <LED_COLOR_ID_GREEN>;
> +			default-state = "off";
> +			function = LED_FUNCTION_LAN;
> +			function-enumerator = <20>;
> +			gpios = <&expander1 12 GPIO_ACTIVE_LOW>;
> +			trigger-sources = <&dpmac13>;
> +			linux,default-trigger = "netdev";
> +		};
> +
> +		led-status {
> +			color = <LED_COLOR_ID_GREEN>;
> +			default-state = "off";
> +			function = LED_FUNCTION_STATUS;
> +			function-enumerator = <0>;
> +			gpios = <&gpio2 10 GPIO_ACTIVE_LOW>;
> +			linux,default-trigger = "heartbeat";
> +		};
> +
> +		led-status-twin {
> +			color = <LED_COLOR_ID_GREEN>;
> +			default-state = "off";
> +			function = LED_FUNCTION_STATUS;
> +			function-enumerator = <1>;
> +			gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
> +		};
> +
> +		led-fault {
> +			color = <LED_COLOR_ID_YELLOW>;
> +			default-state = "off";
> +			function = LED_FUNCTION_FAULT;
> +			function-enumerator = <0>;
> +			gpios = <&gpio2 11 GPIO_ACTIVE_LOW>;
> +			panic-indicator;
> +		};
> +
> +		led-fault-twin {
> +			color = <LED_COLOR_ID_YELLOW>;
> +			default-state = "off";
> +			function = LED_FUNCTION_FAULT;
> +			function-enumerator = <1>;
> +			gpios = <&gpio2 9 GPIO_ACTIVE_LOW>;
> +		};
> +	};
> +
> +	mux-controller {
> +		compatible = "gpio-mux";
> +		#mux-control-cells = <0>;
> +		/*
> +		 * This gpio controlled mux can route the tacho signals of 6 PWM FAN connectors
> +		 * to the tacho inputs of both CEX-7 modules (twins).
> +		 *
> +		 * The first twin controls this mux and monitors four fan connectors, two intended
> +		 * for itself, and two for the OCP card.
> +		 *
> +		 * The second twin monitors only two fan connectors intended for itself.
> +		 *
> +		 * The table below maps selector GPIO states to monitored fan connector per twin:
> +		 *
> +		 * | SEL1 | SEL0 | Twin 1 | Twin 2 |
> +		 * | ---: | ---: | :------| ------ |
> +		 * |    0 |    0 | J10    |  J5024 |
> +		 * |    0 |    1 | J5016  |  J5024 |
> +		 * |    1 |    0 | J5026  |  J5025 |
> +		 * |    1 |    1 | J5013  |  J5025 |
> +		 */
> +		mux-gpios = <&expander0 8 GPIO_ACTIVE_HIGH>, /* SEL0 */
> +			    <&expander0 15 GPIO_ACTIVE_HIGH>; /* SEL1 */
> +	};
> +
> +	ht_c3_bt_sfp: sfp-1 {
> +		compatible = "sff,sfp";
> +		i2c-bus = <&htwins_sfp_c3_bt_i2c>;
> +		maximum-power-milliwatt = <2000>;
> +		mod-def0-gpios = <&expander2 13 GPIO_ACTIVE_LOW>;
> +	};
> +
> +	ht_c3_bb_sfp: sfp-2 {
> +		compatible = "sff,sfp";
> +		i2c-bus = <&htwins_sfp_c3_bb_i2c>;
> +		maximum-power-milliwatt = <2000>;
> +		mod-def0-gpios = <&expander2 14 GPIO_ACTIVE_LOW>;
> +	};
> +
> +	ht_c3_at_sfp: sfp-3 {
> +		compatible = "sff,sfp";
> +		i2c-bus = <&htwins_sfp_c3_at_i2c>;
> +		maximum-power-milliwatt = <2000>;
> +		mod-def0-gpios = <&expander2 11 GPIO_ACTIVE_LOW>;
> +	};
> +
> +	ht_c3_ab_sfp: sfp-4 {
> +		compatible = "sff,sfp";
> +		i2c-bus = <&htwins_sfp_c3_ab_i2c>;
> +		maximum-power-milliwatt = <2000>;
> +		mod-def0-gpios = <&expander2 12 GPIO_ACTIVE_LOW>;
> +	};
> +
> +	c1_bt_sfp: sfp-9 {
> +		compatible = "sff,sfp";
> +		i2c-bus = <&twins_sfp_c1_bt_i2c>;
> +		maximum-power-milliwatt = <2000>;
> +		mod-def0-gpios = <&expander0 3 GPIO_ACTIVE_LOW>;
> +	};
> +
> +	c1_bb_sfp: sfp-10 {
> +		compatible = "sff,sfp";
> +		i2c-bus = <&twins_sfp_c1_bb_i2c>;
> +		maximum-power-milliwatt = <2000>;
> +		mod-def0-gpios = <&expander0 4 GPIO_ACTIVE_LOW>;
> +	};
> +
> +	c1_at_sfp: sfp-11 {
> +		compatible = "sff,sfp";
> +		i2c-bus = <&twins_sfp_c1_at_i2c>;
> +		maximum-power-milliwatt = <2000>;
> +		mod-def0-gpios = <&expander0 1 GPIO_ACTIVE_LOW>;
> +	};
> +
> +	c1_ab_sfp: sfp-12 {
> +		compatible = "sff,sfp";
> +		i2c-bus = <&twins_sfp_c1_ab_i2c>;
> +		maximum-power-milliwatt = <2000>;
> +		mod-def0-gpios = <&expander0 2 GPIO_ACTIVE_LOW>;
> +	};
> +
> +	c2_bt_sfp: sfp-13 {
> +		compatible = "sff,sfp";
> +		i2c-bus = <&twins_sfp_c2_bt_i2c>;
> +		maximum-power-milliwatt = <2000>;
> +		mod-def0-gpios = <&expander0 9 GPIO_ACTIVE_LOW>;
> +	};
> +
> +	c2_bb_sfp: sfp-14 {
> +		compatible = "sff,sfp";
> +		i2c-bus = <&twins_sfp_c2_bb_i2c>;
> +		maximum-power-milliwatt = <2000>;
> +		mod-def0-gpios = <&expander0 10 GPIO_ACTIVE_LOW>;
> +	};
> +
> +	c2_at_sfp: sfp-15 {
> +		compatible = "sff,sfp";
> +		i2c-bus = <&twins_sfp_c2_at_i2c>;
> +		maximum-power-milliwatt = <2000>;
> +		mod-def0-gpios = <&expander0 5 GPIO_ACTIVE_LOW>;
> +	};
> +
> +	c2_ab_sfp: sfp-16 {
> +		compatible = "sff,sfp";
> +		i2c-bus = <&twins_sfp_c2_ab_i2c>;
> +		maximum-power-milliwatt = <2000>;
> +		mod-def0-gpios = <&expander0 6 GPIO_ACTIVE_LOW>;
> +	};
> +
> +	c3_bt_sfp: sfp-17 {
> +		compatible = "sff,sfp";
> +		i2c-bus = <&twins_sfp_c3_bt_i2c>;
> +		maximum-power-milliwatt = <2000>;
> +		mod-def0-gpios = <&expander0 13 GPIO_ACTIVE_LOW>;
> +	};
> +
> +	c3_bb_sfp: sfp-18 {
> +		compatible = "sff,sfp";
> +		i2c-bus = <&twins_sfp_c3_bb_i2c>;
> +		maximum-power-milliwatt = <2000>;
> +		mod-def0-gpios = <&expander0 14 GPIO_ACTIVE_LOW>;
> +	};
> +
> +	c3_at_sfp: sfp-19 {
> +		compatible = "sff,sfp";
> +		i2c-bus = <&twins_sfp_c3_at_i2c>;
> +		maximum-power-milliwatt = <2000>;
> +		mod-def0-gpios = <&expander0 11 GPIO_ACTIVE_LOW>;
> +	};
> +
> +	c3_ab_sfp: sfp-20 {
> +		compatible = "sff,sfp";
> +		i2c-bus = <&twins_sfp_c3_ab_i2c>;
> +		maximum-power-milliwatt = <2000>;
> +		mod-def0-gpios = <&expander0 12 GPIO_ACTIVE_LOW>;
> +	};
> +};
> +
> +/*
> + * This board supports industrial grade temperatures,
> + * the LX2160A SoC maximum junction temperature is 105°C.
> + *
> + * Raise thermal thresholds to allow operation near maximum temperature.
> + */
> +&ccn_dpaa_alert {
> +	temperature = <100000>;
> +};
> +
> +&ccn_dpaa_crit {
> +	temperature = <105000>;
> +};
> +
> +&cluster2_3_alert {
> +	temperature = <100000>;
> +};
> +
> +&cluster2_3_crit {
> +	temperature = <105000>;
> +};
> +
> +&cluster4_alert {
> +	temperature = <100000>;
> +};
> +
> +&cluster4_crit {
> +	temperature = <105000>;
> +};
> +
> +&cluster5_alert {
> +	temperature = <100000>;
> +};
> +
> +&cluster5_crit {
> +	temperature = <105000>;
> +};
> +
> +&cluster6_7_alert {
> +	temperature = <100000>;
> +};
> +
> +&cluster6_7_crit {
> +	temperature = <105000>;
> +};
> +
> +&dce_qbman_alert {
> +	temperature = <100000>;
> +};
> +
> +&dce_qbman_crit {
> +	temperature = <105000>;
> +};
> +
> +/* sfp port 11 */
> +&dpmac3 {
> +	managed = "in-band-status";
> +	phys = <&serdes_1 7>;
> +	sfp = <&c1_at_sfp>;
> +};
> +
> +/* sfp port 9 */
> +&dpmac4 {
> +	managed = "in-band-status";
> +	phys = <&serdes_1 6>;
> +	sfp = <&c1_bt_sfp>;
> +};
> +
> +/* sfp port 1 */
> +&dpmac5 {
> +	managed = "in-band-status";
> +	phys = <&serdes_1 5>;
> +	sfp = <&ht_c3_bt_sfp>;
> +};
> +
> +/* sfp port 3 */
> +&dpmac6 {
> +	managed = "in-band-status";
> +	phys = <&serdes_1 4>;
> +	sfp = <&ht_c3_at_sfp>;
> +};
> +
> +/* sfp port 15 */
> +&dpmac7 {
> +	managed = "in-band-status";
> +	phys = <&serdes_1 3>;
> +	sfp = <&c2_at_sfp>;
> +};
> +
> +/* sfp port 13 */
> +&dpmac8 {
> +	managed = "in-band-status";
> +	phys = <&serdes_1 2>;
> +	sfp = <&c2_bt_sfp>;
> +};
> +
> +/* sfp port 19 */
> +&dpmac9 {
> +	managed = "in-band-status";
> +	phys = <&serdes_1 1>;
> +	sfp = <&c3_at_sfp>;
> +};
> +
> +/* sfp port 17 */
> +&dpmac10 {
> +	managed = "in-band-status";
> +	phys = <&serdes_1 0>;
> +	sfp = <&c3_bt_sfp>;
> +};
> +
> +/* sfp port 4 */
> +&dpmac11 {
> +	managed = "in-band-status";
> +	phys = <&serdes_2 0>;
> +	sfp = <&ht_c3_ab_sfp>;
> +};
> +
> +/* sfp port 12 */
> +&dpmac12 {
> +	managed = "in-band-status";
> +	phys = <&serdes_2 1>;
> +	sfp = <&c1_ab_sfp>;
> +};
> +
> +/* sfp port 20 */
> +&dpmac13 {
> +	managed = "in-band-status";
> +	phys = <&serdes_2 6>;
> +	sfp = <&c3_ab_sfp>;
> +};
> +
> +/* sfp port 18 */
> +&dpmac14 {
> +	managed = "in-band-status";
> +	phys = <&serdes_2 7>;
> +	sfp = <&c3_bb_sfp>;
> +};
> +
> +/* sfp port 2 */
> +&dpmac15 {
> +	managed = "in-band-status";
> +	phys = <&serdes_2 4>;
> +	sfp = <&ht_c3_bb_sfp>;
> +};
> +
> +/* sfp port 14 */
> +&dpmac16 {
> +	managed = "in-band-status";
> +	phys = <&serdes_2 5>;
> +	sfp = <&c2_bb_sfp>;
> +};
> +
> +/* sfp port 10 */
> +&dpmac17 {
> +	/* override connection to on-COM phy */
> +	/delete-property/ phy-handle;
> +	/delete-property/ phy-connection-type;
> +	managed = "in-band-status";
> +	phys = <&serdes_2 2>;
> +	sfp = <&c1_bb_sfp>;
> +};
> +
> +/* sfp port 16 */
> +&dpmac18 {
> +	managed = "in-band-status";
> +	phys = <&serdes_2 3>;
> +	sfp = <&c2_ab_sfp>;
> +};
> +
> +&esdhc0 {
> +	pinctrl-0 = <&esdhc0_cd_wp_pins>, <&esdhc0_cmd_data30_clk_vsel_pins>;
> +	pinctrl-names = "default";
> +	/*
> +	 * Disable 1.8V modes so that microsd state is same between
> +	 * power-on-reset, u-boot and linux.
> +	 * This avoids sporadic read errors after hard reset with some cards.
> +	 */
> +	no-1-8-v;
> +	status = "okay";
> +};
> +
> +&i2c2 {
> +	expander0: gpio@20 {
> +		compatible = "nxp,pca9555";
> +		reg = <0x20>;
> +		#gpio-cells = <2>;
> +		gpio-controller;
> +	};
> +
> +	expander1: gpio@21 {
> +		compatible = "nxp,pca9555";
> +		reg = <0x21>;
> +		#gpio-cells = <2>;
> +		gpio-controller;
> +	};
> +
> +	expander2: gpio@24 {
> +		compatible = "nxp,pca9555";
> +		reg = <0x24>;
> +		#gpio-cells = <2>;
> +		gpio-controller;
> +	};
> +
> +	expander3: gpio@25 {
> +		compatible = "nxp,pca9555";
> +		reg = <0x25>;
> +		#gpio-cells = <2>;
> +		gpio-controller;
> +	};
> +
> +	/* Half twins configuration; take over c3 from the other twin side */
> +	i2c-mux@73 {
> +		compatible = "nxp,pca9547";
> +		reg = <0x73>;
> +		#address-cells = <1>;
> +		#size-cells = <0>;
> +		i2c-mux-idle-disconnect;
> +
> +		htwins_sfp_c3_at_i2c: i2c@3 {
> +			reg = <3>;
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +		};
> +
> +		htwins_sfp_c3_ab_i2c: i2c@4 {
> +			reg = <4>;
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +		};
> +
> +		htwins_sfp_c3_bt_i2c: i2c@5 {
> +			reg = <5>;
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +		};
> +
> +		htwins_sfp_c3_bb_i2c: i2c@6 {
> +			reg = <6>;
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +		};
> +	};
> +
> +	i2c-mux@76 {
> +		compatible = "nxp,pca9547";
> +		reg = <0x76>;
> +		#address-cells = <1>;
> +		#size-cells = <0>;
> +		i2c-mux-idle-disconnect;
> +
> +		twins_sfp_c1_at_i2c: i2c@1 {
> +			reg = <1>;
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +		};
> +
> +		twins_sfp_c1_ab_i2c: i2c@2 {
> +			reg = <2>;
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +		};
> +
> +		twins_sfp_c1_bt_i2c: i2c@3 {
> +			reg = <3>;
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +		};
> +
> +		twins_sfp_c1_bb_i2c: i2c@4 {
> +			reg = <4>;
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +		};
> +
> +		twins_sfp_c2_at_i2c: i2c@5 {
> +			reg = <5>;
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +		};
> +
> +		twins_sfp_c2_ab_i2c: i2c@6 {
> +			reg = <6>;
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +		};
> +	};
> +
> +	i2c-mux@77 {
> +		compatible = "nxp,pca9547";
> +		reg = <0x77>;
> +		#address-cells = <1>;
> +		#size-cells = <0>;
> +		i2c-mux-idle-disconnect;
> +
> +		twins_sfp_c2_bt_i2c: i2c@1 {
> +			reg = <1>;
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +		};
> +
> +		twins_sfp_c2_bb_i2c: i2c@2 {
> +			reg = <2>;
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +		};
> +
> +		twins_sfp_c3_at_i2c: i2c@3 {
> +			reg = <3>;
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +		};
> +
> +		twins_sfp_c3_ab_i2c: i2c@4 {
> +			reg = <4>;
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +		};
> +
> +		twins_sfp_c3_bt_i2c: i2c@5 {
> +			reg = <5>;
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +		};
> +
> +		twins_sfp_c3_bb_i2c: i2c@6 {
> +			reg = <6>;
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +		};
> +	};
> +};
> +
> +&pcs_mdio3 {
> +	status = "okay";
> +};
> +
> +&pcs_mdio4 {
> +	status = "okay";
> +};
> +
> +&pcs_mdio5 {
> +	status = "okay";
> +};
> +
> +&pcs_mdio6 {
> +	status = "okay";
> +};
> +
> +&pcs_mdio7 {
> +	status = "okay";
> +};
> +
> +&pcs_mdio8 {
> +	status = "okay";
> +};
> +
> +&pcs_mdio9 {
> +	status = "okay";
> +};
> +
> +&pcs_mdio10 {
> +	status = "okay";
> +};
> +
> +&pcs_mdio11 {
> +	status = "okay";
> +};
> +
> +&pcs_mdio12 {
> +	status = "okay";
> +};
> +
> +&pcs_mdio13 {
> +	status = "okay";
> +};
> +
> +&pcs_mdio14 {
> +	status = "okay";
> +};
> +
> +&pcs_mdio15 {
> +	status = "okay";
> +};
> +
> +&pcs_mdio16 {
> +	status = "okay";
> +};
> +
> +&pcs_mdio17 {
> +	status = "okay";
> +};
> +
> +&pcs_mdio18 {
> +	status = "okay";
> +};
> +
> +&rgmii_phy1 {
> +	/*
> +	 * COM has a phy at address 1 connected to SoC Ethernet Controller 1.
> +	 * It competes for WRIOP MAC17, and no connector has been wired.
> +	 */
> +	status = "disabled";
> +};
> +
> +&serdes_2 {
> +	status = "okay";
> +};
> +
> +&uart0 {
> +	status = "okay";
> +};
> +
> +&uart1 {
> +	status = "okay";
> +};
> +
> +&wriop_alert {
> +	temperature = <100000>;
> +};
> +
> +&wriop_crit {
> +	temperature = <105000>;
> +};
>

      reply	other threads:[~2026-05-10 15:23 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-10 15:12 [PATCH v5 00/10] arm64: dts: lx2160a: cleanups, add new board, large pci bars Josua Mayer
2026-05-10 15:12 ` [PATCH v5 01/10] arm64: dts: lx2160a: extend 32-bit, and add 64-bit pci regions Josua Mayer
2026-05-10 15:12 ` [PATCH v5 02/10] arm64: dts: lx2162a-clearfog: use rev2 SoC dtsi Josua Mayer
2026-05-10 15:12 ` [PATCH v5 03/10] arm64: dts: lx2162a-clearfog: cleanup superfluous status properties Josua Mayer
2026-05-10 15:12 ` [PATCH v5 04/10] arm64: dts: lx2162a-clearfog: specify sfp ports led colour and function Josua Mayer
2026-05-10 15:12 ` [PATCH v5 05/10] dt-bindings: arm: fsl: Add solidrun lx2160a twins board Josua Mayer
2026-05-10 15:12 ` [PATCH v5 06/10] arm64: dts: lx2160a-clearfog-itx: remove redundant dts version tag Josua Mayer
2026-05-10 15:12 ` [PATCH v5 07/10] arm64: dts: lx2160a-clearfog-itx: move shared includes to dts Josua Mayer
2026-05-10 15:12 ` [PATCH v5 08/10] arm64: dts: lx2160a: add labels to thermal trip-point nodes Josua Mayer
2026-05-10 15:12 ` [PATCH v5 09/10] arm64: dts: lx2160a-cex7: add labels to i2c buses behind mux Josua Mayer
2026-05-10 15:12 ` [PATCH v5 10/10] arm64: dts: Add support for LX2160 Twins board in single configuration Josua Mayer
2026-05-10 15:23   ` Josua Mayer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8e338f0c-eeea-4d0e-bbc9-0e4987d2bba8@solid-run.com \
    --to=josua@solid-run.com \
    --cc=Frank.Li@nxp.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.com \
    --cc=imx@lists.linux.dev \
    --cc=jon@solid-run.com \
    --cc=kernel@pengutronix.de \
    --cc=krzk+dt@kernel.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=leoyang.li@nxp.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=robh@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@kernel.org \
    --cc=yazan.shhady@solid-run.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox