ARM: dts: stm32: move stmmac axi config in ethernet node on stm32mp15
authorAlexandre Torgue <alexandre.torgue@foss.st.com>
Thu, 15 Apr 2021 10:10:31 +0000 (12:10 +0200)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Thu, 10 Jun 2021 12:11:24 +0000 (14:11 +0200)
It fixes the following warning seen running "make dtbs_check W=1"

Warning (simple_bus_reg): /soc/stmmac-axi-config: missing or empty
reg/ranges property

Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/stm32mp151.dtsi

index 3f74d13995acd172e7593f734d543c4ff95bdae7..bd289bf5d26900ad8dea0006cc90a3ff9f6790a3 100644 (file)
                        status = "disabled";
                };
 
-               stmmac_axi_config_0: stmmac-axi-config {
-                       snps,wr_osr_lmt = <0x7>;
-                       snps,rd_osr_lmt = <0x7>;
-                       snps,blen = <0 0 0 0 16 8 4>;
-               };
-
                ethernet0: ethernet@5800a000 {
                        compatible = "st,stm32mp1-dwmac", "snps,dwmac-4.20a";
                        reg = <0x5800a000 0x2000>;
                        snps,axi-config = <&stmmac_axi_config_0>;
                        snps,tso;
                        status = "disabled";
+
+                       stmmac_axi_config_0: stmmac-axi-config {
+                               snps,wr_osr_lmt = <0x7>;
+                               snps,rd_osr_lmt = <0x7>;
+                               snps,blen = <0 0 0 0 16 8 4>;
+                       };
                };
 
                usbh_ohci: usb@5800c000 {