mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-05-05 09:56:12 +02:00
realtek: XikeStor SKS8300-12E2T2X: fix GPIO assignments
The initial bringup missed two GPIO-related settings: - TX Disable GPIO for the SFP modules - LED Sync GPIO selection for the port LEDs This adds the missing TX Disable GPIOs and muxes GPIO18 to LED sync (there are HC595 shift registers on the board that require the sync). Signed-off-by: Andreas Böhler <dev@aboehler.at> Link: https://github.com/openwrt/openwrt/pull/22551 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
ebe8f0bc9e
commit
a3988cd65c
@ -23,6 +23,13 @@
|
||||
|
||||
keys {
|
||||
compatible = "gpio-keys";
|
||||
|
||||
/* The following sets up the GPIO pin for the HC595 shift registers.
|
||||
Since there are no LED nodes defined for this switch, do the setup
|
||||
in the GPIO keys driver. */
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinmux_enable_led_sync>;
|
||||
|
||||
button-reset {
|
||||
label = "reset";
|
||||
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
|
||||
@ -58,6 +65,7 @@
|
||||
maximum-power-milliwatt = <1500>;
|
||||
mod-def0-gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
|
||||
los-gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
|
||||
tx-disable-gpio = <&gpio0 16 GPIO_ACTIVE_HIGH>;
|
||||
#thermal-sensor-cells = <0>;
|
||||
};
|
||||
|
||||
@ -67,6 +75,7 @@
|
||||
maximum-power-milliwatt = <1500>;
|
||||
mod-def0-gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
|
||||
los-gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
|
||||
tx-disable-gpio = <&gpio0 17 GPIO_ACTIVE_HIGH>;
|
||||
#thermal-sensor-cells = <0>;
|
||||
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user