realtek: move RTL8231 definitions to board files
authorSander Vanheule <sander@svanheule.net>
Sun, 20 Feb 2022 15:25:42 +0000 (16:25 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 20 Feb 2022 16:23:55 +0000 (16:23 +0000)
commit4b31717fb031e6b99f476e79b5e8b3d6a8b0b9ff
tree5f0f8212756905ace6f700634150aa48755aeed7
parent004d4d66c84c650c4d0f283e43569a2a1efb0e1f
realtek: move RTL8231 definitions to board files

The RTL8231 is an external chip, and not part of the SoC. That means
it is more appropriate to define it in the board specific (base) files,
instead of the DT include for the SoC itself.

Moving the RTL8231 definition also ensures that boards with no GPIO
expander, or an alternative one, don't have a useless gpio1 node label
defined.

Tested on a Netgear GS110TPPv1.

Signed-off-by: Sander Vanheule <sander@svanheule.net>
target/linux/realtek/dts-5.10/rtl8380_netgear_gigabit.dtsi
target/linux/realtek/dts-5.10/rtl8380_zyxel_gs1900.dtsi
target/linux/realtek/dts-5.10/rtl8382_d-link_dgs-1210-10p.dts
target/linux/realtek/dts-5.10/rtl838x.dtsi