Commit e0aa603f authored by Yangbo Lu's avatar Yangbo Lu Committed by Daniel DeGrasse
Browse files

dts: bindings: nxp,enet-mac: convert to use ptp-clock property



Convert to use ethernet-controller ptp-clock property.

Signed-off-by: default avatarYangbo Lu <yangbo.lu@nxp.com>
parent 87d8bc63
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -936,7 +936,7 @@ static const struct ethernet_api api_funcs = {
	NXP_ENET_INVALID_MII_MODE))

#ifdef CONFIG_PTP_CLOCK_NXP_ENET
#define NXP_ENET_PTP_DEV(n) .ptp_clock = DEVICE_DT_GET(DT_INST_PHANDLE(n, nxp_ptp_clock)),
#define NXP_ENET_PTP_DEV(n) .ptp_clock = DEVICE_DT_GET(DT_INST_PHANDLE(n, ptp_clock)),
#define NXP_ENET_FRAMEINFO_ARRAY(n)							\
	static enet_frame_info_t							\
		nxp_enet_##n##_tx_frameinfo_array[CONFIG_ETH_NXP_ENET_TX_BUFFERS];
+1 −1
Original line number Diff line number Diff line
@@ -483,7 +483,7 @@
				interrupts = <83 0>, <84 0>, <85 0>;
				interrupt-names = "TX", "RX", "ERR";
				nxp,mdio = <&enet_mdio>;
				nxp,ptp-clock = <&enet_ptp_clock>;
				ptp-clock = <&enet_ptp_clock>;
				phy-connection-type = "rmii";
				status = "disabled";
			};
+1 −1
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@
				interrupts = <152 0>;
				interrupt-names = "COMMON";
				nxp,mdio = <&enet2_mdio>;
				nxp,ptp-clock = <&enet2_ptp_clock>;
				ptp-clock = <&enet2_ptp_clock>;
				status = "disabled";
			};
			enet2_mdio: mdio {
+1 −1
Original line number Diff line number Diff line
@@ -796,7 +796,7 @@
				interrupts = <114 0>;
				interrupt-names = "COMMON";
				nxp,mdio = <&enet_mdio>;
				nxp,ptp-clock = <&enet_ptp_clock>;
				ptp-clock = <&enet_ptp_clock>;
				status = "disabled";
			};
			enet_mdio: mdio {
+2 −2
Original line number Diff line number Diff line
@@ -796,7 +796,7 @@
				interrupts = <137 0>;
				interrupt-names = "COMMON";
				nxp,mdio = <&enet_mdio>;
				nxp,ptp-clock = <&enet_ptp_clock>;
				ptp-clock = <&enet_ptp_clock>;
				status = "disabled";
			};
			enet_mdio: mdio {
@@ -823,7 +823,7 @@
				interrupts = <141 0>;
				interrupt-names = "COMMON";
				nxp,mdio = <&enet1g_mdio>;
				nxp,ptp-clock = <&enet1g_ptp_clock>;
				ptp-clock = <&enet1g_ptp_clock>;
				status = "disabled";
			};
			enet1g_mdio: mdio {
Loading