mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
92e0baba42
Flash layouts for GS108Tv3, GS110TPPv1, GS308Tv1 and GS310TPv1 are almost identical, except for the uimage header magic. Move the flash layout to the common dtsi, and only place the magic value in the device dts files. Signed-off-by: Sander Vanheule <sander@svanheule.net>
30 lines
413 B
Plaintext
30 lines
413 B
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#include "rtl8380_netgear_gigabit.dtsi"
|
|
|
|
/ {
|
|
compatible = "netgear,gs310tp-v1", "realtek,rtl838x-soc";
|
|
model = "Netgear GS310TP v1";
|
|
|
|
};
|
|
|
|
&firmware {
|
|
openwrt,ih-magic = <0x4e474335>;
|
|
};
|
|
|
|
&uart1 {
|
|
status = "okay";
|
|
};
|
|
|
|
&mdio {
|
|
INTERNAL_PHY(24)
|
|
INTERNAL_PHY(26)
|
|
};
|
|
|
|
&switch0 {
|
|
ports {
|
|
SWITCH_SFP_PORT(24, 9, rgmii-id)
|
|
SWITCH_SFP_PORT(26, 10, rgmii-id)
|
|
};
|
|
};
|