mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-05-04 09:31:26 +02:00
realtek: rtl839x: add port LED peripheral disable
Add a pinctrl-single node to the switch GPIO/LED control register that disables the port LED peripheral when selected. When an RTL8231 is instantiated, this is required to prevent the user config from being overwritten by the peripheral. As this is technically not a pin mux operation, but rather a peripheral disable, using pinctrl-single for this purpose is bit of a hack, but it does the job. Signed-off-by: Sander Vanheule <sander@svanheule.net>
This commit is contained in:
parent
2fffb27c98
commit
597e1fdf7f
@ -353,6 +353,11 @@
|
||||
mdio_aux_mdx: aux-mdx-pins {
|
||||
pinctrl-single,bits = <0x0 0x100000 0x1c0000>;
|
||||
};
|
||||
|
||||
/* disable port LED offloading */
|
||||
port_led_offload: port-led-offload {
|
||||
pinctrl-single,bits = <0x0 0x0 0x20>;
|
||||
};
|
||||
};
|
||||
|
||||
sram0: sram@9f000000 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user