new file mode 100644
@@ -0,0 +1,17 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (c) 2018 NXP
+ * Copyright (c) 2019 Engicam srl
+ * Copyright (c) 2024 Amarula Solutions
+ */
+
+/dts-v1/;
+
+#include "imx8mp-icore-mx8mp.dtsi"
+
+/ {
+ model = "Engicam i.Core MX8M Plus 2GbE";
+ compatible = "engicam,icore-mx8mp-2gbe",
+ "engicam,icore-mx8mp-base",
+ "fsl,imx8mp";
+};
new file mode 100644
@@ -0,0 +1,45 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (c) 2018 NXP
+ * Copyright (c) 2019 Engicam srl
+ * Copyright (c) 2024 Amarula Solutions
+ */
+
+/dts-v1/;
+
+#include "imx8mp-icore-mx8mp.dtsi"
+
+/ {
+ model = "Engicam i.Core MX8M Plus Fast Ethernet";
+ compatible = "engicam,icore-mx8mp-fasteth",
+ "engicam,icore-mx8mp-base",
+ "fsl,imx8mp";
+};
+
+/* Ethernet */
+&eqos {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_eqos>;
+ phy-handle = <ðphy0>;
+ phy-mode = "rmii";
+ snps,rmii_refclk_ext;
+ snps,force_thresh_dma_mode;
+ status = "okay";
+
+ mdio {
+ compatible = "snps,dwmac-mdio";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ ethphy0: ethernet-phy@0 {
+ compatible = "ethernet-phy-ieee802.3-c22";
+ pinctrl-0 = <&pinctrl_ethphy0>;
+ pinctrl-names = "default";
+ reg = <0>;
+ reset-assert-us = <500>;
+ reset-deassert-us = <500>;
+ reset-gpios = <&gpio1 29 GPIO_ACTIVE_LOW>;
+ smsc,disable-energy-detect;
+ };
+ };
+};
new file mode 100644
@@ -0,0 +1,38 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (c) 2018 NXP
+ * Copyright (c) 2019 Engicam srl
+ * Copyright (c) 2024 Amarula Solutions
+ */
+
+/dts-v1/;
+
+#include "imx8mp-icore-mx8mp.dtsi"
+
+/ {
+ model = "Engicam i.Core MX8M Plus";
+ compatible = "engicam,icore-mx8mp",
+ "engicam,icore-mx8mp-base",
+ "fsl,imx8mp";
+};
+
+/* Ethernet */
+&eqos {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_eqos>;
+ phy-handle = <ðphy0>;
+ phy-mode = "rgmii-id";
+ status = "okay";
+
+ mdio {
+ compatible = "snps,dwmac-mdio";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ ethphy0: ethernet-phy@7 {
+ compatible = "ethernet-phy-ieee802.3-c22";
+ micrel,led-mode = <0>;
+ reg = <7>;
+ };
+ };
+};
Add Engicam i.Core MX8M Plus, i.Core MX8M Plus 2GbE and i.Core MX8M Plus Fast Ethernet. Signed-off-by: Patrick Barsanti <patrick.barsanti@amarulasolutions.com> --- .../boot/dts/freescale/imx8mp-icore-2gbe.dtsi | 17 +++++++ .../dts/freescale/imx8mp-icore-fasteth.dtsi | 45 +++++++++++++++++++ .../boot/dts/freescale/imx8mp-icore.dtsi | 38 ++++++++++++++++ 3 files changed, 100 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-icore-2gbe.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-icore-fasteth.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-icore.dtsi