7ca01b5b7dec29c6ae51dd25aa1ab014822938fb
[openwrt/staging/neocturne.git] /
1 From 51e40c25aa18d926a8eb1c07289d01611b21123a Mon Sep 17 00:00:00 2001
2 From: Florian Fainelli <f.fainelli@gmail.com>
3 Date: Mon, 9 Nov 2020 17:44:33 -0800
4 Subject: [PATCH 16/16] ARM: dts: NSP: Provide defaults ports container node
5
6 Provide an empty 'ports' container node with the correct #address-cells
7 and #size-cells properties. This silences the following warning:
8
9 arch/arm/boot/dts/bcm958522er.dt.yaml:
10 ethernet-switch@36000: 'oneOf' conditional failed, one must be fixed:
11 'ports' is a required property
12 'ethernet-ports' is a required property
13 From schema:
14 Documentation/devicetree/bindings/net/dsa/b53.yaml
15
16 Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
17 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
18 ---
19 arch/arm/boot/dts/bcm-nsp.dtsi | 4 ++++
20 arch/arm/boot/dts/bcm958622hr.dts | 3 ---
21 arch/arm/boot/dts/bcm958623hr.dts | 3 ---
22 arch/arm/boot/dts/bcm958625hr.dts | 3 ---
23 arch/arm/boot/dts/bcm958625k.dts | 3 ---
24 arch/arm/boot/dts/bcm988312hr.dts | 3 ---
25 6 files changed, 4 insertions(+), 15 deletions(-)
26
27 --- a/arch/arm/boot/dts/bcm-nsp.dtsi
28 +++ b/arch/arm/boot/dts/bcm-nsp.dtsi
29 @@ -420,6 +420,10 @@
30 status = "disabled";
31
32 /* ports are defined in board DTS */
33 + ports {
34 + #address-cells = <1>;
35 + #size-cells = <0>;
36 + };
37 };
38
39 i2c0: i2c@38000 {
40 --- a/arch/arm/boot/dts/bcm958622hr.dts
41 +++ b/arch/arm/boot/dts/bcm958622hr.dts
42 @@ -176,9 +176,6 @@
43 status = "okay";
44
45 ports {
46 - #address-cells = <1>;
47 - #size-cells = <0>;
48 -
49 port@0 {
50 label = "port0";
51 reg = <0>;
52 --- a/arch/arm/boot/dts/bcm958623hr.dts
53 +++ b/arch/arm/boot/dts/bcm958623hr.dts
54 @@ -180,9 +180,6 @@
55 status = "okay";
56
57 ports {
58 - #address-cells = <1>;
59 - #size-cells = <0>;
60 -
61 port@0 {
62 label = "port0";
63 reg = <0>;
64 --- a/arch/arm/boot/dts/bcm958625hr.dts
65 +++ b/arch/arm/boot/dts/bcm958625hr.dts
66 @@ -195,9 +195,6 @@
67 status = "okay";
68
69 ports {
70 - #address-cells = <1>;
71 - #size-cells = <0>;
72 -
73 port@0 {
74 label = "port0";
75 reg = <0>;
76 --- a/arch/arm/boot/dts/bcm958625k.dts
77 +++ b/arch/arm/boot/dts/bcm958625k.dts
78 @@ -216,9 +216,6 @@
79 status = "okay";
80
81 ports {
82 - #address-cells = <1>;
83 - #size-cells = <0>;
84 -
85 port@0 {
86 label = "port0";
87 reg = <0>;
88 --- a/arch/arm/boot/dts/bcm988312hr.dts
89 +++ b/arch/arm/boot/dts/bcm988312hr.dts
90 @@ -184,9 +184,6 @@
91 status = "okay";
92
93 ports {
94 - #address-cells = <1>;
95 - #size-cells = <0>;
96 -
97 port@0 {
98 label = "port0";
99 reg = <0>;