]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Jul 2021 09:13:43 +0000 (11:13 +0200)
[ Upstream commit fb1406335c067be074eab38206cf9abfdce2fb0b ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/stm32mp157c.dtsi

index c50c36baba758f4364aac78e7f973c2c0b1a65b0..4278a4b2286069eb308e14fa5af383cb9d23aeec 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: usbh-ohci@5800c000 {