]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: lx2160a-rdb: describe the QIXIS FPGA and two child GPIO controllers
authorIoana Ciornei <ioana.ciornei@nxp.com>
Tue, 14 Oct 2025 15:53:55 +0000 (18:53 +0300)
committerShawn Guo <shawnguo@kernel.org>
Mon, 27 Oct 2025 06:26:04 +0000 (14:26 +0800)
Describe the FPGA present on the LX2160ARDB board as a simple-mfd I2C
device. The FPGA presents registers that deal with power-on-reset
timing, muxing, SFP cage monitoring and control etc.

Also add the two GPIO controllers responsible for monitoring and
controlling the SFP+ cages used for MAC5 and MAC6.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts

index 2373e1c371e8c1ca5c033f7a108f4557272a8a51..15ff503dcef3db89f74f285baa5415eff3535380 100644 (file)
 &i2c0 {
        status = "okay";
 
+       cpld@66 {
+               compatible = "fsl,lx2160ardb-fpga";
+               reg = <0x66>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               sfp2_csr: gpio@19 {
+                       compatible = "fsl,lx2160ardb-fpga-gpio-sfp";
+                       reg = <0x19>;
+                       gpio-controller;
+                       #gpio-cells = <2>;
+                       gpio-line-names =
+                               "SFP2_TX_EN", "",
+                               "", "",
+                               "SFP2_RX_LOS", "SFP2_TX_FAULT",
+                               "", "SFP2_MOD_ABS";
+               };
+
+               sfp3_csr: gpio@1a {
+                       compatible = "fsl,lx2160ardb-fpga-gpio-sfp";
+                       reg = <0x1a>;
+                       gpio-controller;
+                       #gpio-cells = <2>;
+                       gpio-line-names =
+                               "SFP3_TX_EN", "",
+                               "", "",
+                               "SFP3_RX_LOS", "SFP3_TX_FAULT",
+                               "", "SFP3_MOD_ABS";
+               };
+       };
+
        i2c-mux@77 {
                compatible = "nxp,pca9547";
                reg = <0x77>;