]> www.infradead.org Git - linux.git/commitdiff
ARM: dts: aspeed-g6: Drop cells properties from ethernet nodes
authorAndrew Jeffery <andrew@codeconstruct.com.au>
Fri, 2 Aug 2024 04:25:24 +0000 (13:55 +0930)
committerJoel Stanley <joel@jms.id.au>
Thu, 22 Aug 2024 03:37:16 +0000 (13:07 +0930)
These are not specified in the binding and produce warnings such as
the following:

 arch/arm/boot/dts/aspeed/aspeed-g6.dtsi:254.27-262.5: Warning
 (avoid_unnecessary_addr_size): /ahb/ethernet@1e670000: unnecessary
 #address-cells/#size-cells without "ranges", "dma-ranges" or child
 "reg" property

 arch/arm/boot/dts/aspeed/aspeed-g6.dtsi:264.27-272.5: Warning
 (avoid_unnecessary_addr_size): /ahb/ethernet@1e690000: unnecessary
 #address-cells/#size-cells without "ranges", "dma-ranges" or child
 "reg" property

 arch/arm/boot/dts/aspeed/aspeed-ast2600-evb-a1.dtb: ethernet@1e660000:
 Unevaluated properties are not allowed ('#address-cells', '#size-cells'
 were unexpected)

Link: https://lore.kernel.org/r/20240802-dt-warnings-bmc-dts-cleanups-v1-7-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 ae8aa54508b2dd822bc35c2e7a26fbdec0a79f60..8ed715bd53aab2dccc48aa1109925ef1065c8c13 100644 (file)
                mac0: ethernet@1e660000 {
                        compatible = "aspeed,ast2600-mac", "faraday,ftgmac100";
                        reg = <0x1e660000 0x180>;
-                       #address-cells = <1>;
-                       #size-cells = <0>;
                        interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
                        clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>;
                        status = "disabled";
                mac1: ethernet@1e680000 {
                        compatible = "aspeed,ast2600-mac", "faraday,ftgmac100";
                        reg = <0x1e680000 0x180>;
-                       #address-cells = <1>;
-                       #size-cells = <0>;
                        interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
                        clocks = <&syscon ASPEED_CLK_GATE_MAC2CLK>;
                        status = "disabled";
                mac2: ethernet@1e670000 {
                        compatible = "aspeed,ast2600-mac", "faraday,ftgmac100";
                        reg = <0x1e670000 0x180>;
-                       #address-cells = <1>;
-                       #size-cells = <0>;
                        interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
                        clocks = <&syscon ASPEED_CLK_GATE_MAC3CLK>;
                        status = "disabled";
                mac3: ethernet@1e690000 {
                        compatible = "aspeed,ast2600-mac", "faraday,ftgmac100";
                        reg = <0x1e690000 0x180>;
-                       #address-cells = <1>;
-                       #size-cells = <0>;
                        interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
                        clocks = <&syscon ASPEED_CLK_GATE_MAC4CLK>;
                        status = "disabled";