// SPDX-License-Identifier: GPL-2.0-or-later
/dts-v1/;

#include "rtl9302_zyxel_xgs1250-12-common.dtsi"

/ {
	compatible = "zyxel,xgs1250-12-b1", "realtek,rtl838x-soc";
	model = "Zyxel XGS1250-12 B1 Switch";
};

&mdio_bus1 {
	phy24: ethernet-phy@24 {
		reg = <24>;
		compatible = "ethernet-phy-ieee802.3-c45";
		realtek,smi-address = <0>;
		// Disabled because we do not know how to bring up again
		// reset-gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
		#thermal-sensor-cells = <0>;
	};
};

&mdio_bus2 {
	phy25: ethernet-phy@25 {
		reg = <25>;
		compatible = "ethernet-phy-ieee802.3-c45";
		realtek,smi-address = <1>;
		// Disabled because we do not know how to bring up again
		// reset-gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
		#thermal-sensor-cells = <0>;
	};
};

&mdio_bus3 {
	phy26: ethernet-phy@26 {
		reg = <26>;
		compatible = "ethernet-phy-ieee802.3-c45";
		realtek,smi-address = <2>;
		// Disabled because we do not know how to bring up again
		// reset-gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
		#thermal-sensor-cells = <0>;
	};
};
