Skip to content

Commit 53a7bdf

Browse files
Fabio Estevamdavem330
authored andcommitted
dt-bindings: dsa: Remove unnecessary #address/#size-cells
If the example binding is used on a real dts file, the following DTC warning is seen with W=1: arch/arm/boot/dts/imx6q-b450v3.dtb: Warning (avoid_unnecessary_addr_size): /mdio-gpio/switch@0: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property Remove unnecessary #address-cells/#size-cells to improve the binding document examples. Signed-off-by: Fabio Estevam <[email protected]> Reviewed-by: Rob Herring <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 2b999ba commit 53a7bdf

File tree

1 file changed

+0
-6
lines changed
  • Documentation/devicetree/bindings/net/dsa

1 file changed

+0
-6
lines changed

Documentation/devicetree/bindings/net/dsa/dsa.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,6 @@ linked into one DSA cluster.
8282

8383
switch0: switch0@0 {
8484
compatible = "marvell,mv88e6085";
85-
#address-cells = <1>;
86-
#size-cells = <0>;
8785
reg = <0>;
8886

8987
dsa,member = <0 0>;
@@ -135,8 +133,6 @@ linked into one DSA cluster.
135133

136134
switch1: switch1@0 {
137135
compatible = "marvell,mv88e6085";
138-
#address-cells = <1>;
139-
#size-cells = <0>;
140136
reg = <0>;
141137

142138
dsa,member = <0 1>;
@@ -204,8 +200,6 @@ linked into one DSA cluster.
204200

205201
switch2: switch2@0 {
206202
compatible = "marvell,mv88e6085";
207-
#address-cells = <1>;
208-
#size-cells = <0>;
209203
reg = <0>;
210204

211205
dsa,member = <0 2>;

0 commit comments

Comments
 (0)