<commit_before>--- system.dts.old
+++ system.dts
@@ -16,6 +16,11 @@
 	chosen {
 		bootargs = "console=ttyPS0,115200 root=/dev/mmcblk0p2 ro rootfstype=ext4 earlyprintk rootwait";
 	};
+	usb0_phy: usb-phy {
+		#phy-cells = <0>;
+		compatible = "usb-nop-xceiv";
+		reset-gpios = <&gpio0 48 1>;
+	};
 	aliases {
 		ethernet0 = &gem0;
 		serial0 = &uart0;
@@ -23,7 +28,7 @@
 	};
 	memory {
 		device_type = "memory";
-		reg = <0x0 0x20000000>;
+		reg = <0x0 0x1E000000>;
 	};
 };
 &gem0 {
@@ -36,6 +41,16 @@
 		#size-cells = <0>;
 	};
 };
+&gem0 {
+	phy-handle = <&phy0>;
+	ps7_ethernet_0_mdio: mdio {
+		phy0: phy@1 {
+			compatible = "lantiq,phy11g";
+			device_type = "ethernet-phy";
+			reg = <1>;
+		};
+	};
+};
 &gpio0 {
 	emio-gpio-width = <64>;
 	gpio-mask-high = <0x0>;
@@ -45,6 +60,16 @@
 	clock-frequency = <400000>;
 	status = "okay";
 };
+&i2c0 {
+	eep@50 {
+		compatible = "24c64";
+		reg = <0x50>;
+	};
+	eep@51 {
+		compatible = "24c64";
+		reg = <0x51>;
+	};
+};
 &intc {
 	num_cpus = <2>;
 	num_interrupts = <96>;
@@ -82,9 +107,9 @@
 };
 &usb0 {
 	dr_mode = "host";
-	phy_type = "ulpi";
+	usb-phy = <&usb0_phy>;
 	status = "okay";
-	usb-reset = <&gpio0 48 0>;
+	xlnx,phy-reset-gpio = <&gpio0 48 0>;
 };
 &clkc {
 	fclk-enable = <0x0>;<commit_msg>fix patches for gem0 and phy0 in devicetree.patch<commit_after>--- system.dts.old
+++ system.dts
@@ -16,6 +16,11 @@
 	chosen {
 		bootargs = "console=ttyPS0,115200 root=/dev/mmcblk0p2 ro rootfstype=ext4 earlyprintk rootwait";
 	};
+	usb0_phy: usb-phy {
+		#phy-cells = <0>;
+		compatible = "usb-nop-xceiv";
+		reset-gpios = <&gpio0 48 1>;
+	};
 	aliases {
 		ethernet0 = &gem0;
 		serial0 = &uart0;
@@ -23,7 +28,7 @@
 	};
 	memory {
 		device_type = "memory";
-		reg = <0x0 0x20000000>;
+		reg = <0x0 0x1E000000>;
 	};
 };
 &gem0 {
@@ -31,9 +36,13 @@
 	phy-mode = "rgmii-id";
 	status = "okay";
 	xlnx,ptp-enet-clock = <0x69f6bcb>;
-	ps7_ethernet_0_mdio: mdio {
-		#address-cells = <1>;
-		#size-cells = <0>;
+};
+&gem0 {
+	phy-handle = <&phy0>;
+	phy0: phy@1 {
+		compatible = "lantiq,phy11g";
+		device_type = "ethernet-phy";
+		reg = <1>;
 	};
 };
 &gpio0 {
@@ -45,6 +54,16 @@
 	clock-frequency = <400000>;
 	status = "okay";
 };
+&i2c0 {
+	eep@50 {
+		compatible = "24c64";
+		reg = <0x50>;
+	};
+	eep@51 {
+		compatible = "24c64";
+		reg = <0x51>;
+	};
+};
 &intc {
 	num_cpus = <2>;
 	num_interrupts = <96>;
@@ -82,9 +101,9 @@
 };
 &usb0 {
 	dr_mode = "host";
-	phy_type = "ulpi";
+	usb-phy = <&usb0_phy>;
 	status = "okay";
-	usb-reset = <&gpio0 48 0>;
+	xlnx,phy-reset-gpio = <&gpio0 48 0>;
 };
 &clkc {
 	fclk-enable = <0x0>;
{'fraction_non_alphanumeric': 0.23293482452757425, 'fraction_numerical': 0.10296953335904357, 'mean_word_length': 3.059467918622848, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 39, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2726016', 'n_tokens_mistral': 1482, 'n_tokens_neox': 1304, 'n_words': 222}