Skip to content

Commit

Permalink
arm64: dts: broadcom: bcmbca: bcm4908: drop invalid switch cells
Browse files Browse the repository at this point in the history
[ Upstream commit 27058b95fbb784406ea4c40b20caa3f04937140c ]

Ethernet switch does not have addressable subnodes.

This fixes:
arch/arm64/boot/dts/broadcom/bcmbca/bcm4908-asus-gt-ac5300.dtb: ethernet-switch@0: '#address-cells', '#size-cells' do not match any of the regexes: 'pinctrl-[0-9]+'
        from schema $id: http://devicetree.org/schemas/net/dsa/brcm,sf2.yaml#

Fixes: 527a3ac ("arm64: dts: broadcom: bcm4908: describe internal switch")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Link: https://lore.kernel.org/r/20240111115636.12095-1-zajec5@gmail.com
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
Rafał Miłecki authored and Sasha Levin committed Mar 26, 2024
1 parent bf8696b commit 7bcbb05
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions arch/arm64/boot/dts/broadcom/bcmbca/bcm4908.dtsi
Expand Up @@ -227,9 +227,6 @@
brcm,num-gphy = <5>;
brcm,num-rgmii-ports = <2>;

#address-cells = <1>;
#size-cells = <0>;

ports: ports {
#address-cells = <1>;
#size-cells = <0>;
Expand Down

0 comments on commit 7bcbb05

Please sign in to comment.