Commit 51e40c25 authored by Florian Fainelli's avatar Florian Fainelli
Browse files

ARM: dts: NSP: 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/bcm958522er.dt.yaml:
ethernet-switch@36000: '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

Reviewed-by: default avatarVladimir Oltean <olteanv@gmail.com>
Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
parent 42791b31
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -420,6 +420,10 @@ srab: ethernet-switch@36000 {
			status = "disabled";

			/* ports are defined in board DTS */
			ports {
				#address-cells = <1>;
				#size-cells = <0>;
			};
		};

		i2c0: i2c@38000 {
+0 −3
Original line number Diff line number Diff line
@@ -176,9 +176,6 @@ &srab {
	status = "okay";

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

		port@0 {
			label = "port0";
			reg = <0>;
+0 −3
Original line number Diff line number Diff line
@@ -180,9 +180,6 @@ &srab {
	status = "okay";

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

		port@0 {
			label = "port0";
			reg = <0>;
+0 −3
Original line number Diff line number Diff line
@@ -195,9 +195,6 @@ &srab {
	status = "okay";

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

		port@0 {
			label = "port0";
			reg = <0>;
+0 −3
Original line number Diff line number Diff line
@@ -216,9 +216,6 @@ &srab {
	status = "okay";

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

		port@0 {
			label = "port0";
			reg = <0>;
Loading