Re: [PATCH v5 09/12] ARM: dts: stm32: add ethernet1 and ethernet2 support on stm32mp13

From: Christophe ROULLIER
Date: Mon Jun 10 2024 - 03:57:03 EST


On 6/7/24 14:48, Marek Vasut wrote:
On 6/7/24 11:57 AM, Christophe Roullier wrote:

[...]

@@ -1505,6 +1511,38 @@ sdmmc2: mmc@58007000 {
                  status = "disabled";
              };
  +            ethernet1: ethernet@5800a000 {
+                compatible = "st,stm32mp13-dwmac", "snps,dwmac-4.20a";
+                reg = <0x5800a000 0x2000>;
+                reg-names = "stmmaceth";
+                interrupts-extended = <&intc GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>,
+                              <&exti 68 1>;
+                interrupt-names = "macirq", "eth_wake_irq";
+                clock-names = "stmmaceth",
+                          "mac-clk-tx",
+                          "mac-clk-rx",
+                          "ethstp",
+                          "eth-ck";
+                clocks = <&rcc ETH1MAC>,
+                     <&rcc ETH1TX>,
+                     <&rcc ETH1RX>,
+                     <&rcc ETH1STP>,
+                     <&rcc ETH1CK_K>;
+                st,syscon = <&syscfg 0x4 0xff0000>;
+                snps,mixed-burst;
+                snps,pbl = <2>;
+                snps,axi-config = <&stmmac_axi_config_1>;
+                snps,tso;
+                access-controllers = <&etzpc 48>;

Keep the list sorted.

Hi Marek,

As already explained, all MP13 IPs have this property before "status". If we must move this property, we will do it later and do it for all IPs.

Thanks