]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
microchipsw: lan969x: tactical-1000: describe RS0 pins
authorRobert Marko <robert.marko@sartura.hr>
Tue, 24 Mar 2026 16:15:08 +0000 (17:15 +0100)
committerRobert Marko <robert.marko@sartura.hr>
Tue, 24 Mar 2026 16:17:10 +0000 (17:17 +0100)
Tactical 1000 has per per port RS0 and RS1 pins, however internally they
are tied together.

So, model them as RS0 at least.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
target/linux/microchipsw/dts/lan9696-tactical-1000.dts

index 6f70b3d5e1d7ea3a15ad9cb86fd55107d66e2867..f4ca99ccbb7cbc9d23623a689427ade7bb6467e7 100644 (file)
                los-gpios = <&sgpio_in 6 0 GPIO_ACTIVE_HIGH>;
                mod-def0-gpios = <&sgpio_in 6 1 GPIO_ACTIVE_LOW>;
                tx-fault-gpios = <&sgpio_in 6 2 GPIO_ACTIVE_HIGH>;
+               /* RS1 is internally tied to RS0 */
+               rate-select0-gpios = <&sgpio_out 6 3 GPIO_ACTIVE_HIGH>;
        };
 
        sfp1: sfp1 {
                los-gpios = <&sgpio_in 7 0 GPIO_ACTIVE_HIGH>;
                mod-def0-gpios = <&sgpio_in 7 1 GPIO_ACTIVE_LOW>;
                tx-fault-gpios = <&sgpio_in 7 2 GPIO_ACTIVE_HIGH>;
+               /* RS1 is internally tied to RS0 */
+               rate-select0-gpios = <&sgpio_out 7 3 GPIO_ACTIVE_HIGH>;
        };
 
        sfp2: sfp2 {
                los-gpios = <&sgpio_in 8 0 GPIO_ACTIVE_HIGH>;
                mod-def0-gpios = <&sgpio_in 8 1 GPIO_ACTIVE_LOW>;
                tx-fault-gpios = <&sgpio_in 8 2 GPIO_ACTIVE_HIGH>;
+               /* RS1 is internally tied to RS0 */
+               rate-select0-gpios = <&sgpio_out 8 3 GPIO_ACTIVE_HIGH>;
        };
 
        sfp3: sfp3 {
                los-gpios = <&sgpio_in 9 0 GPIO_ACTIVE_HIGH>;
                mod-def0-gpios = <&sgpio_in 9 1 GPIO_ACTIVE_LOW>;
                tx-fault-gpios = <&sgpio_in 9 2 GPIO_ACTIVE_HIGH>;
+               /* RS1 is internally tied to RS0 */
+               rate-select0-gpios = <&sgpio_out 9 3 GPIO_ACTIVE_HIGH>;
        };
 };