mediatek: u7623: fix network switch enumeration
authorTomasz Maciej Nowak <tmn505@gmail.com>
Tue, 4 Mar 2025 16:43:11 +0000 (17:43 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 16 Mar 2025 21:43:02 +0000 (22:43 +0100)
commitadc4d95c742139411c551a20d93103c9a1155ddd
treedb80805c53236f4f44ed74847e76ea36faa71f3b
parentf8a2e1c68b48d72234172543f4232e77f065ca4d
mediatek: u7623: fix network switch enumeration

With upstream changes hitting kernel 6.4 the dtb for u7623 ends up with
both mac (gmac) disabled, since this is now the default status in
mt7623.dtsi. Fix this by including mt7623a.dtsi (which already has all
necessary bits) and enabling all revlevant ports. This will also do
a side hustle of assigning proper clocks for power controller and
specifying proper power domain for few devices.

Link: https://lore.kernel.org/all/20230210182505.24597-1-arinc.unal@arinc9.com
Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
Link: https://patchwork.ozlabs.org/project/openwrt/patch/20250304164507.60511-2-tmn505@terefe.re/
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/mediatek/dts/mt7623a-unielec-u7623-02.dtsi