OSDN Git Service

dt-bindings: net: dwmac-sun8i: Remove unused address-cells/size-cells
authorCorentin Labbe <clabbe@baylibre.com>
Wed, 18 Jul 2018 11:40:37 +0000 (11:40 +0000)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Thu, 19 Jul 2018 14:23:36 +0000 (16:23 +0200)
address-cells/size-cells is unnecessary for dwmac-sun8i node.
It was in early days, but since a mdio node is used, it could be
removed.

Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Documentation/devicetree/bindings/net/dwmac-sun8i.txt

index cfe7243..5bb3a18 100644 (file)
@@ -19,8 +19,6 @@ Required properties:
 - reset-names: must be "stmmaceth"
 - phy-mode: See ethernet.txt
 - phy-handle: See ethernet.txt
-- #address-cells: shall be 1
-- #size-cells: shall be 0
 - syscon: A phandle to the device containing the EMAC or GMAC clock register
 
 Optional properties:
@@ -86,8 +84,6 @@ emac: ethernet@1c0b000 {
        reset-names = "stmmaceth";
        clocks = <&ccu CLK_BUS_EMAC>;
        clock-names = "stmmaceth";
-       #address-cells = <1>;
-       #size-cells = <0>;
 
        phy-handle = <&int_mii_phy>;
        phy-mode = "mii";
@@ -137,8 +133,6 @@ emac: ethernet@1c0b000 {
        reset-names = "stmmaceth";
        clocks = <&ccu CLK_BUS_EMAC>;
        clock-names = "stmmaceth";
-       #address-cells = <1>;
-       #size-cells = <0>;
 
        phy-handle = <&ext_rgmii_phy>;
        phy-mode = "rgmii";
@@ -191,8 +185,6 @@ emac: ethernet@1c0b000 {
        reset-names = "stmmaceth";
        clocks = <&ccu CLK_BUS_EMAC>;
        clock-names = "stmmaceth";
-       #address-cells = <1>;
-       #size-cells = <0>;
 
        phy-handle = <&ext_rgmii_phy>;
        phy-mode = "rgmii";