]> www.infradead.org Git - linux.git/commitdiff
ARM: dts: aspeed-g6: Use generic 'ethernet' for ftgmac100 nodes
authorAndrew Jeffery <andrew@codeconstruct.com.au>
Fri, 2 Aug 2024 04:25:23 +0000 (13:55 +0930)
committerJoel Stanley <joel@jms.id.au>
Thu, 22 Aug 2024 03:37:15 +0000 (13:07 +0930)
Squash warnings such as:

 arch/arm/boot/dts/aspeed/aspeed-ast2600-evb.dtb: ftgmac@1e670000:
 $nodename:0: 'ftgmac@1e670000' does not match '^ethernet(@.*)?$'

Link: https://lore.kernel.org/r/20240802-dt-warnings-bmc-dts-cleanups-v1-6-1cb1378e5fcd@codeconstruct.com.au
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed/aspeed-g6.dtsi

index 6505eebf91afa0b0a6ac538638f5819412dcf2dd..ae8aa54508b2dd822bc35c2e7a26fbdec0a79f60 100644 (file)
                        resets = <&syscon ASPEED_RESET_MII>;
                };
 
-               mac0: ftgmac@1e660000 {
+               mac0: ethernet@1e660000 {
                        compatible = "aspeed,ast2600-mac", "faraday,ftgmac100";
                        reg = <0x1e660000 0x180>;
                        #address-cells = <1>;
                        status = "disabled";
                };
 
-               mac1: ftgmac@1e680000 {
+               mac1: ethernet@1e680000 {
                        compatible = "aspeed,ast2600-mac", "faraday,ftgmac100";
                        reg = <0x1e680000 0x180>;
                        #address-cells = <1>;
                        status = "disabled";
                };
 
-               mac2: ftgmac@1e670000 {
+               mac2: ethernet@1e670000 {
                        compatible = "aspeed,ast2600-mac", "faraday,ftgmac100";
                        reg = <0x1e670000 0x180>;
                        #address-cells = <1>;
                        status = "disabled";
                };
 
-               mac3: ftgmac@1e690000 {
+               mac3: ethernet@1e690000 {
                        compatible = "aspeed,ast2600-mac", "faraday,ftgmac100";
                        reg = <0x1e690000 0x180>;
                        #address-cells = <1>;