]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: ls1046a-qds: describe the two on-board SFP+ cages
authorIoana Ciornei <ioana.ciornei@nxp.com>
Tue, 14 Oct 2025 15:53:58 +0000 (18:53 +0300)
committerShawn Guo <shawnguo@kernel.org>
Mon, 27 Oct 2025 06:28:50 +0000 (14:28 +0800)
Describe the two SFP+ cages present on the LS1046AQDS board and their
associated I2C buses and GPIO lines.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts

index 812cf1c5d7f4e60eb0795d96edbe868dc62bb7d2..48a6c08fcea8222a8c4fa25c046b6d58e5c146bd 100644 (file)
        chosen {
                stdout-path = "serial0:115200n8";
        };
+
+       sfp1: sfp-1 {
+               compatible = "sff,sfp";
+               i2c-bus = <&sfp1_i2c>;
+               maximum-power-milliwatt = <2000>;
+               mod-def0-gpios = <&stat_pres2 6 GPIO_ACTIVE_LOW>;
+       };
+
+       sfp2: sfp-2 {
+               compatible = "sff,sfp";
+               i2c-bus = <&sfp2_i2c>;
+               maximum-power-milliwatt = <2000>;
+               mod-def0-gpios = <&stat_pres2 7 GPIO_ACTIVE_LOW>;
+       };
+
 };
 
 &dspi {
                                reg = <0x4c>;
                        };
                };
+
+               i2c@7 {
+                       reg = <0x7>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       i2c-mux@76 {
+                               compatible = "nxp,pca9547";
+                               reg = <0x76>;
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+
+                               sfp1_i2c: i2c@6 {
+                                       reg = <0x6>;
+                                       #address-cells = <1>;
+                                       #size-cells = <0>;
+                               };
+
+                               sfp2_i2c: i2c@7 {
+                                       reg = <0x7>;
+                                       #address-cells = <1>;
+                                       #size-cells = <0>;
+                               };
+                       };
+               };
        };
 };