提交 54890925 编写于 作者: C Colin Foster 提交者: David S. Miller

dt-bindings: net: dsa: qca8k: remove address-cells and size-cells from switch node

The children of the switch node don't have a unit address, and therefore
should not need the #address-cells or #size-cells entries. Fix the example
schemas accordingly.
Suggested-by: NVladimir Oltean <olteanv@gmail.com>
Signed-off-by: NColin Foster <colin.foster@in-advantage.com>
Reviewed-by: NFlorian Fainelli <f.fainelli@gmail.com>
Reviewed-by: NRob Herring <robh@kernel.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 afdc0aab
...@@ -148,8 +148,6 @@ examples: ...@@ -148,8 +148,6 @@ examples:
switch@10 { switch@10 {
compatible = "qca,qca8337"; compatible = "qca,qca8337";
#address-cells = <1>;
#size-cells = <0>;
reset-gpios = <&gpio 42 GPIO_ACTIVE_LOW>; reset-gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
reg = <0x10>; reg = <0x10>;
...@@ -209,8 +207,6 @@ examples: ...@@ -209,8 +207,6 @@ examples:
switch@10 { switch@10 {
compatible = "qca,qca8337"; compatible = "qca,qca8337";
#address-cells = <1>;
#size-cells = <0>;
reset-gpios = <&gpio 42 GPIO_ACTIVE_LOW>; reset-gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
reg = <0x10>; reg = <0x10>;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册