[PATCH v2 7/9] arm64: dts: ls1046a-qds: describe the FPGA based GPIO controller

Ioana Ciornei posted 9 patches 2 weeks, 3 days ago
There is a newer version of this series
[PATCH v2 7/9] arm64: dts: ls1046a-qds: describe the FPGA based GPIO controller
Posted by Ioana Ciornei 2 weeks, 3 days ago
The QIXIS FPGA node is extended so that it describes the GPIO controller
responsible for all the status presence lines on both SFP+ cages as well
as the IO SLOTs present on the board.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
---
Changes in v2:
- none

 arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts
index 736722b58e77..64133e63da96 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts
@@ -166,8 +166,20 @@ nand@1,0 {
 
 	fpga: board-control@2,0 {
 		compatible = "fsl,ls1046aqds-fpga", "fsl,fpga-qixis", "simple-mfd";
+		#address-cells = <1>;
+		#size-cells = <1>;
 		reg = <0x2 0x0 0x0000100>;
 		ranges = <0 2 0 0x100>;
+
+		stat_pres2: gpio-stat-pres2@c {
+			compatible = "fsl,ls1046aqds-fpga-gpio-stat-pres2";
+			reg = <0xc 1>;
+			gpio-controller;
+			#gpio-cells = <2>;
+			gpio-line-names =
+				"SLOT1", "SLOT2", "SLOT3", "SLOT4", "SLOT5", "SLOT6",
+				"SFP1_MOD_DEF", "SFP2_MOD_DEF";
+		};
 	};
 };
 
-- 
2.25.1
Re: [PATCH v2 7/9] arm64: dts: ls1046a-qds: describe the FPGA based GPIO controller
Posted by Frank Li 2 weeks, 1 day ago
On Mon, Sep 15, 2025 at 03:23:52PM +0300, Ioana Ciornei wrote:
> The QIXIS FPGA node is extended so that it describes the GPIO controller
> responsible for all the status presence lines on both SFP+ cages as well
> as the IO SLOTs present on the board.
>
> Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>

Reviewed-by: Frank Li <Frank.Li@nxp.com>

> ---
> Changes in v2:
> - none
>
>  arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts
> index 736722b58e77..64133e63da96 100644
> --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts
> +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts
> @@ -166,8 +166,20 @@ nand@1,0 {
>
>  	fpga: board-control@2,0 {
>  		compatible = "fsl,ls1046aqds-fpga", "fsl,fpga-qixis", "simple-mfd";
> +		#address-cells = <1>;
> +		#size-cells = <1>;
>  		reg = <0x2 0x0 0x0000100>;
>  		ranges = <0 2 0 0x100>;
> +
> +		stat_pres2: gpio-stat-pres2@c {
> +			compatible = "fsl,ls1046aqds-fpga-gpio-stat-pres2";
> +			reg = <0xc 1>;
> +			gpio-controller;
> +			#gpio-cells = <2>;
> +			gpio-line-names =
> +				"SLOT1", "SLOT2", "SLOT3", "SLOT4", "SLOT5", "SLOT6",
> +				"SFP1_MOD_DEF", "SFP2_MOD_DEF";
> +		};
>  	};
>  };
>
> --
> 2.25.1
>