summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/bcm5301x.dtsi
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2020-11-09 17:20:17 -0800
committerFlorian Fainelli <f.fainelli@gmail.com>2020-11-20 18:55:31 -0800
commitfd577b41421bc24e2d04cab96d387301b649eb14 (patch)
tree53dc20c0b78bc398ac2d9a4c4c47efbcd2bc48d2 /arch/arm/boot/dts/bcm5301x.dtsi
parent953efcb0c0234f8c488ebd4090378e949d6ba78b (diff)
ARM: dts: BCM5301X: Provide defaults ports container node
Provide an empty 'ports' container node with the correct #address-cells and #size-cells properties. This silences the following warning: arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dt.yaml: ethernet-switch@18007000: 'oneOf' conditional failed, one must be fixed: 'ports' is a required property 'ethernet-ports' is a required property From schema: Documentation/devicetree/bindings/net/dsa/b53.yaml Acked-by: Rafał Miłecki <rafal@milecki.pl> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'arch/arm/boot/dts/bcm5301x.dtsi')
-rw-r--r--arch/arm/boot/dts/bcm5301x.dtsi4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm5301x.dtsi b/arch/arm/boot/dts/bcm5301x.dtsi
index a4ab3aabf8b0..7db72a2f1020 100644
--- a/arch/arm/boot/dts/bcm5301x.dtsi
+++ b/arch/arm/boot/dts/bcm5301x.dtsi
@@ -490,6 +490,10 @@
status = "disabled";
/* ports are defined in board DTS */
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ };
};
rng: rng@18004000 {