Michael Pratt
47db830b82
ramips: mt7620: move mt7620_mdio_mode() to ethernet driver
...
The function mt7620_mdio_mode is only called once
and both the function and mdio_mode block have been named incorrectly,
leading to confusion and useless commits.
These lines in the mdio_mode block of mt7620_hw_init
are only intended for boards with an external mt7530 switch.
(see commit 194ca6127ee18cd3a95da4d03f02e43b5428c0bb)
Therefore, move lines from mdio_mode to the place in soc_mt7620.c
where the type of mt7530 switch is identified,
and move lines from mt7620_mdio_mode to a main function.
mt7620_mdio_mode was called from mt7620_gsw_init
where the priv struct is available,
so the lines must stay in mt7620_gsw_init function.
In order to keep things as simple as possible,
keep the DTS property related function calls together,
by moving them from mt7620_gsw_probe to init.
Remove the now useless DTS properties and extra phy nodes.
Fixes: 5a6229a93df8 ("ramips: remove superfluous & confusing DT binding")
Fixes: b85fe43ec8c4 ("ramips: mt7620: add force use of mdio-mode")
Signed-off-by: Michael Pratt <mcpratt@pm.me>
(cherry picked from commit 6972e498d33ec896c676b7af91e3bfb00aa846a1)
2022-04-19 14:48:21 +02:00
..
2020-10-02 14:51:57 +02:00
2022-04-19 14:48:21 +02:00
2022-04-19 14:48:21 +02:00
2022-04-19 14:48:21 +02:00
2022-04-19 14:48:21 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-12-04 15:52:23 +01:00
2022-04-19 14:48:21 +02:00
2022-04-19 14:48:21 +02:00
2022-04-19 14:48:21 +02:00
2022-04-19 14:48:21 +02:00
2022-04-19 14:48:21 +02:00
2022-04-19 14:48:21 +02:00
2020-10-02 14:51:57 +02:00
2022-04-19 14:48:21 +02:00
2022-04-19 14:48:21 +02:00
2020-10-02 14:51:57 +02:00
2022-04-19 14:48:21 +02:00
2022-04-19 14:48:21 +02:00
2022-04-19 14:48:21 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2022-04-19 14:48:21 +02:00
2022-04-19 14:48:21 +02:00
2022-04-19 14:48:21 +02:00
2020-12-17 12:10:10 +01:00
2020-12-17 12:10:10 +01:00
2020-12-17 12:10:10 +01:00
2022-04-19 14:48:21 +02:00
2020-12-17 12:10:10 +01:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2021-02-05 18:18:00 +01:00
2020-10-02 14:51:57 +02:00
2022-04-19 14:48:21 +02:00
2020-10-02 14:51:57 +02:00
2022-04-19 14:48:21 +02:00
2022-02-27 21:40:32 +09:00
2020-10-02 14:51:57 +02:00
2022-04-19 14:48:21 +02:00
2022-04-19 14:48:21 +02:00
2020-10-02 14:51:57 +02:00
2020-12-04 15:52:23 +01:00
2022-04-19 14:48:21 +02:00
2022-04-19 14:48:21 +02:00
2020-12-17 12:10:10 +01:00
2020-12-04 15:52:23 +01:00
2020-09-25 23:26:40 +02:00
2021-02-05 18:18:00 +01:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2022-04-19 14:48:21 +02:00
2022-04-19 14:48:21 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-12-04 15:52:23 +01:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2022-04-19 14:48:21 +02:00
2022-04-19 14:48:21 +02:00
2022-04-19 14:48:21 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2022-04-19 14:48:21 +02:00
2022-04-19 14:48:21 +02:00
2022-04-19 14:48:21 +02:00
2022-04-19 14:48:21 +02:00
2021-02-05 18:18:00 +01:00
2022-04-19 14:48:21 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2022-04-19 14:48:21 +02:00
2022-04-19 14:48:21 +02:00
2020-03-09 21:47:56 +01:00
2020-10-02 14:51:57 +02:00
2022-04-19 14:48:21 +02:00
2020-11-25 19:34:13 +01:00
2020-10-27 21:20:16 +01:00
2022-04-19 14:48:21 +02:00
2020-12-17 12:10:10 +01:00
2022-04-19 14:48:21 +02:00
2022-04-19 14:48:21 +02:00
2022-04-19 14:48:21 +02:00
2022-04-19 14:48:21 +02:00
2020-12-17 12:10:10 +01:00
2020-09-25 23:26:40 +02:00
2022-04-08 10:31:32 +02:00
2022-04-08 10:31:32 +02:00
2020-12-04 15:52:23 +01:00
2020-09-25 23:26:40 +02:00
2020-10-02 14:51:57 +02:00
2022-04-08 10:31:32 +02:00
2020-10-02 14:51:57 +02:00
2022-04-08 10:31:32 +02:00
2022-04-19 14:48:21 +02:00
2022-04-19 14:48:21 +02:00
2020-09-25 23:26:40 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-12-04 15:52:23 +01:00
2020-12-17 12:10:10 +01:00
2022-04-19 14:48:21 +02:00
2022-04-19 14:48:21 +02:00
2020-12-17 12:10:10 +01:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-12-04 15:52:23 +01:00
2020-12-04 15:52:23 +01:00
2020-10-02 14:51:57 +02:00
2020-08-06 16:56:07 +02:00
2020-09-25 23:26:40 +02:00
2020-09-25 23:26:40 +02:00
2020-12-17 12:10:10 +01:00
2020-10-02 14:51:57 +02:00
2021-01-22 21:03:11 +01:00
2020-12-04 15:52:23 +01:00
2020-12-17 12:10:10 +01:00
2020-12-17 12:10:10 +01:00
2020-12-17 12:10:10 +01:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2022-04-19 14:48:21 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2021-06-10 17:09:35 +02:00
2021-06-10 17:09:35 +02:00
2021-06-10 17:09:35 +02:00
2020-09-25 23:26:40 +02:00
2020-09-25 23:26:40 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-11-28 20:51:50 +01:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2021-02-09 13:58:18 +01:00
2021-06-10 17:09:35 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2021-01-22 21:03:11 +01:00
2020-12-22 19:11:50 +01:00
2020-12-22 19:11:50 +01:00
2021-02-24 20:23:52 +01:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-12-22 19:11:50 +01:00
2020-12-22 19:11:50 +01:00
2020-12-22 19:11:50 +01:00
2020-10-02 14:51:57 +02:00
2020-11-11 17:35:10 +01:00
2020-10-02 14:51:57 +02:00
2021-01-22 21:03:11 +01:00
2020-10-02 14:51:57 +02:00
2021-01-22 21:03:11 +01:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-12-22 21:44:57 +01:00
2020-12-22 21:44:57 +01:00
2020-12-22 21:44:57 +01:00
2021-03-22 21:07:34 +01:00
2020-12-22 21:44:57 +01:00
2020-12-22 21:44:57 +01:00
2021-01-29 15:32:07 +01:00
2020-12-22 21:44:57 +01:00
2020-12-22 21:44:57 +01:00
2020-12-22 21:44:57 +01:00
2020-12-22 21:44:57 +01:00
2020-12-22 21:44:57 +01:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2022-04-19 14:48:21 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-12-27 20:33:45 +01:00
2020-09-25 23:26:40 +02:00
2020-10-02 14:51:57 +02:00
2020-09-25 23:26:40 +02:00
2020-09-25 23:26:40 +02:00
2021-02-07 21:58:51 +01:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2021-06-10 17:09:35 +02:00
2021-02-09 13:10:33 +01:00
2020-10-02 14:51:57 +02:00
2021-06-10 17:09:35 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2021-06-10 17:09:35 +02:00
2020-10-02 14:51:57 +02:00
2020-09-25 23:26:40 +02:00
2020-09-25 23:26:40 +02:00
2020-08-13 12:47:45 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-08-13 12:47:45 +02:00
2020-09-25 23:26:40 +02:00
2020-10-02 14:51:57 +02:00
2021-02-20 09:39:58 +01:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2021-06-10 17:09:35 +02:00
2020-10-02 14:51:57 +02:00
2020-12-04 15:52:23 +01:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-25 22:27:44 +08:00
2021-06-10 17:09:35 +02:00
2021-06-10 17:09:35 +02:00
2021-02-19 20:09:28 +01:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-09-25 23:26:40 +02:00
2020-09-25 23:26:40 +02:00
2020-07-17 12:14:32 +02:00
2022-04-19 14:48:21 +02:00
2022-04-19 14:48:21 +02:00
2021-01-05 16:25:13 +01:00
2021-02-05 17:31:51 +01:00
2021-02-05 17:31:51 +01:00
2021-02-05 18:18:00 +01:00
2021-02-05 18:18:00 +01:00
2021-02-05 18:18:00 +01:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-07-17 12:14:32 +02:00
2020-10-02 14:51:57 +02:00
2021-06-12 11:01:43 +02:00
2020-12-08 17:18:57 +01:00
2021-01-21 22:52:02 +01:00
2021-01-21 22:56:43 +01:00
2021-04-18 12:04:38 +02:00
2020-11-12 17:18:26 +01:00
2020-10-02 14:51:57 +02:00
2021-01-21 22:52:02 +01:00
2020-10-02 14:51:57 +02:00
2021-01-21 22:52:02 +01:00
2022-04-08 10:31:32 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-12-07 14:22:00 +01:00
2020-09-25 23:26:40 +02:00
2020-09-25 23:26:40 +02:00
2020-10-02 14:51:57 +02:00
2020-09-25 23:26:40 +02:00
2022-04-08 10:31:32 +02:00
2022-04-08 10:31:32 +02:00
2020-10-02 14:51:57 +02:00
2021-06-10 17:09:35 +02:00
2020-10-02 14:51:57 +02:00
2020-12-07 14:22:00 +01:00
2021-02-05 18:18:00 +01:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-09-25 23:26:40 +02:00
2021-02-11 16:37:53 +01:00
2020-12-07 14:22:00 +01:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2022-04-08 10:31:32 +02:00
2021-06-12 11:01:43 +02:00
2022-04-08 10:31:32 +02:00
2020-04-12 22:27:18 +08:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-04-12 22:29:17 +08:00
2020-09-25 23:26:40 +02:00
2020-09-25 23:26:40 +02:00
2022-04-08 10:31:32 +02:00
2022-04-08 10:31:32 +02:00
2020-10-02 14:51:57 +02:00
2020-09-25 23:26:40 +02:00
2020-10-02 14:51:57 +02:00
2021-11-01 15:35:25 +01:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2022-04-08 10:31:32 +02:00
2022-04-08 10:31:32 +02:00
2020-10-02 14:51:57 +02:00
2020-12-07 14:22:00 +01:00
2020-12-07 14:22:00 +01:00
2020-12-07 14:22:00 +01:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-12-07 14:22:00 +01:00
2020-12-07 14:22:00 +01:00
2020-12-07 14:22:00 +01:00
2020-12-07 14:22:00 +01:00
2020-12-07 14:22:00 +01:00
2020-12-07 14:22:00 +01:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-20 03:01:13 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-12-07 14:22:00 +01:00
2020-12-07 14:22:00 +01:00
2020-12-07 14:22:00 +01:00
2020-12-07 14:22:00 +01:00
2020-12-07 14:22:00 +01:00
2020-12-07 14:22:00 +01:00
2020-12-07 14:22:00 +01:00
2020-10-02 14:51:57 +02:00
2020-12-07 14:22:00 +01:00
2020-10-02 14:51:57 +02:00
2020-12-07 14:22:00 +01:00
2020-12-07 14:22:00 +01:00
2020-12-07 14:22:00 +01:00
2021-02-05 18:18:00 +01:00
2021-02-05 18:18:00 +01:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-04-12 22:29:17 +08:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-09-25 23:26:40 +02:00
2022-04-08 10:31:32 +02:00
2020-10-02 14:51:57 +02:00
2022-04-08 10:31:32 +02:00
2022-04-08 10:31:32 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-12-08 15:39:00 +01:00
2020-12-08 17:18:57 +01:00
2020-12-08 15:39:00 +01:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2022-04-08 10:31:32 +02:00
2020-09-25 23:26:40 +02:00
2020-12-04 15:52:23 +01:00
2020-12-04 15:52:23 +01:00
2020-12-04 15:52:23 +01:00
2020-12-04 15:52:23 +01:00
2020-12-04 15:52:23 +01:00
2020-12-04 15:52:23 +01:00
2020-12-04 15:52:23 +01:00
2020-12-04 15:52:23 +01:00
2020-09-25 23:26:40 +02:00
2020-09-25 23:26:40 +02:00
2020-09-25 23:26:40 +02:00
2020-09-25 23:26:40 +02:00
2020-12-04 15:52:23 +01:00
2020-09-25 23:26:40 +02:00
2020-09-25 23:26:40 +02:00
2020-12-04 15:52:23 +01:00
2020-10-02 14:51:57 +02:00
2020-09-25 23:26:40 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2021-01-22 21:03:11 +01:00
2021-01-22 21:03:11 +01:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-09-25 23:26:40 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-09-25 23:26:40 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-09-25 23:26:40 +02:00
2020-09-25 23:26:40 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-12-04 15:52:23 +01:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2021-06-02 21:29:16 +02:00
2020-10-02 14:51:57 +02:00
2020-09-25 23:26:40 +02:00
2020-10-02 14:51:57 +02:00
2020-10-03 22:52:58 +02:00
2021-01-22 21:03:11 +01:00
2020-12-22 19:11:50 +01:00
2020-09-25 23:26:40 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-12-17 12:10:10 +01:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-09-25 23:26:40 +02:00
2020-09-25 23:26:40 +02:00
2020-09-25 23:26:40 +02:00
2020-10-02 14:51:57 +02:00
2020-12-04 15:52:23 +01:00
2020-12-07 14:22:00 +01:00
2020-09-25 23:26:40 +02:00
2020-09-25 23:26:40 +02:00
2020-12-07 14:22:00 +01:00
2020-10-02 14:51:57 +02:00
2020-12-07 14:22:00 +01:00
2020-10-02 14:51:57 +02:00
2020-12-07 14:22:00 +01:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-12-17 12:10:10 +01:00
2020-12-17 12:10:10 +01:00
2020-12-07 14:22:00 +01:00
2020-12-07 14:22:00 +01:00
2020-12-07 14:22:00 +01:00
2020-12-07 14:22:00 +01:00
2020-09-25 23:26:40 +02:00
2020-09-25 23:26:40 +02:00
2020-12-07 14:22:00 +01:00
2020-09-25 23:26:40 +02:00
2020-09-25 23:26:40 +02:00
2020-12-07 14:22:00 +01:00
2020-09-25 23:26:40 +02:00
2020-09-25 23:26:40 +02:00
2020-12-17 12:10:10 +01:00
2020-12-07 14:22:00 +01:00
2020-12-17 12:10:10 +01:00
2020-12-07 14:22:00 +01:00
2020-09-25 23:26:40 +02:00
2020-09-25 23:26:40 +02:00
2020-12-07 14:22:00 +01:00
2020-12-07 14:22:00 +01:00
2020-12-07 14:22:00 +01:00
2020-12-17 12:10:10 +01:00
2020-12-07 14:22:00 +01:00
2020-12-17 12:10:10 +01:00
2020-09-25 23:26:40 +02:00
2020-09-25 23:26:40 +02:00
2020-12-07 14:22:00 +01:00
2020-12-07 14:22:00 +01:00
2020-12-17 12:10:10 +01:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-10-02 14:51:57 +02:00
2020-09-25 23:26:40 +02:00