arm64: dts: imx8ulp: Add the fec support
authorWei Fang <wei.fang@nxp.com>
Tue, 26 Jul 2022 14:38:52 +0000 (00:38 +1000)
committerShawn Guo <shawnguo@kernel.org>
Sat, 17 Sep 2022 08:34:19 +0000 (16:34 +0800)
Add the fec support on i.MX8ULP platforms.

Signed-off-by: Wei Fang <wei.fang@nxp.com>
Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8ulp.dtsi

index 60c1b01..3e8a1e4 100644 (file)
@@ -16,6 +16,7 @@
        #size-cells = <2>;
 
        aliases {
+               ethernet0 = &fec;
                gpio0 = &gpiod;
                gpio1 = &gpioe;
                gpio2 = &gpiof;
                                bus-width = <4>;
                                status = "disabled";
                        };
+
+                       fec: ethernet@29950000 {
+                               compatible = "fsl,imx8ulp-fec", "fsl,imx6ul-fec", "fsl,imx6q-fec";
+                               reg = <0x29950000 0x10000>;
+                               interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
+                               interrupt-names = "int0";
+                               fsl,num-tx-queues = <1>;
+                               fsl,num-rx-queues = <1>;
+                               status = "disabled";
+                       };
                };
 
                gpioe: gpio@2d000080 {