mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 00:11:13 +00:00
181 lines
4.5 KiB
Diff
181 lines
4.5 KiB
Diff
|
From fd577b41421bc24e2d04cab96d387301b649eb14 Mon Sep 17 00:00:00 2001
|
||
|
From: Florian Fainelli <f.fainelli@gmail.com>
|
||
|
Date: Mon, 9 Nov 2020 17:20:17 -0800
|
||
|
Subject: [PATCH] ARM: dts: BCM5301X: Provide defaults ports container node
|
||
|
MIME-Version: 1.0
|
||
|
Content-Type: text/plain; charset=UTF-8
|
||
|
Content-Transfer-Encoding: 8bit
|
||
|
|
||
|
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>
|
||
|
---
|
||
|
arch/arm/boot/dts/bcm4708-luxul-xap-1510.dts | 3 ---
|
||
|
arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts | 3 ---
|
||
|
arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts | 3 ---
|
||
|
arch/arm/boot/dts/bcm47081-luxul-xap-1410.dts | 3 ---
|
||
|
arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts | 3 ---
|
||
|
arch/arm/boot/dts/bcm47094-linksys-panamera.dts | 3 ---
|
||
|
arch/arm/boot/dts/bcm47094-luxul-xap-1610.dts | 3 ---
|
||
|
arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dts | 3 ---
|
||
|
arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts | 3 ---
|
||
|
arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts | 3 ---
|
||
|
arch/arm/boot/dts/bcm5301x.dtsi | 4 ++++
|
||
|
arch/arm/boot/dts/bcm953012er.dts | 3 ---
|
||
|
12 files changed, 4 insertions(+), 33 deletions(-)
|
||
|
|
||
|
--- a/arch/arm/boot/dts/bcm4708-luxul-xap-1510.dts
|
||
|
+++ b/arch/arm/boot/dts/bcm4708-luxul-xap-1510.dts
|
||
|
@@ -61,9 +61,6 @@
|
||
|
status = "okay";
|
||
|
|
||
|
ports {
|
||
|
- #address-cells = <1>;
|
||
|
- #size-cells = <0>;
|
||
|
-
|
||
|
port@0 {
|
||
|
reg = <0>;
|
||
|
label = "poe";
|
||
|
--- a/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts
|
||
|
+++ b/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts
|
||
|
@@ -68,9 +68,6 @@
|
||
|
status = "okay";
|
||
|
|
||
|
ports {
|
||
|
- #address-cells = <1>;
|
||
|
- #size-cells = <0>;
|
||
|
-
|
||
|
port@4 {
|
||
|
reg = <4>;
|
||
|
label = "lan";
|
||
|
--- a/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
|
||
|
+++ b/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
|
||
|
@@ -122,9 +122,6 @@
|
||
|
status = "okay";
|
||
|
|
||
|
ports {
|
||
|
- #address-cells = <1>;
|
||
|
- #size-cells = <0>;
|
||
|
-
|
||
|
port@0 {
|
||
|
reg = <0>;
|
||
|
label = "lan4";
|
||
|
--- a/arch/arm/boot/dts/bcm47081-luxul-xap-1410.dts
|
||
|
+++ b/arch/arm/boot/dts/bcm47081-luxul-xap-1410.dts
|
||
|
@@ -61,9 +61,6 @@
|
||
|
status = "okay";
|
||
|
|
||
|
ports {
|
||
|
- #address-cells = <1>;
|
||
|
- #size-cells = <0>;
|
||
|
-
|
||
|
port@4 {
|
||
|
reg = <4>;
|
||
|
label = "poe";
|
||
|
--- a/arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts
|
||
|
+++ b/arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts
|
||
|
@@ -109,9 +109,6 @@
|
||
|
status = "okay";
|
||
|
|
||
|
ports {
|
||
|
- #address-cells = <1>;
|
||
|
- #size-cells = <0>;
|
||
|
-
|
||
|
port@0 {
|
||
|
reg = <0>;
|
||
|
label = "lan4";
|
||
|
--- a/arch/arm/boot/dts/bcm47094-linksys-panamera.dts
|
||
|
+++ b/arch/arm/boot/dts/bcm47094-linksys-panamera.dts
|
||
|
@@ -219,9 +219,6 @@
|
||
|
dsa,member = <0 0>;
|
||
|
|
||
|
ports {
|
||
|
- #address-cells = <1>;
|
||
|
- #size-cells = <0>;
|
||
|
-
|
||
|
port@1 {
|
||
|
reg = <1>;
|
||
|
label = "lan7";
|
||
|
--- a/arch/arm/boot/dts/bcm47094-luxul-xap-1610.dts
|
||
|
+++ b/arch/arm/boot/dts/bcm47094-luxul-xap-1610.dts
|
||
|
@@ -59,9 +59,6 @@
|
||
|
status = "okay";
|
||
|
|
||
|
ports {
|
||
|
- #address-cells = <1>;
|
||
|
- #size-cells = <0>;
|
||
|
-
|
||
|
port@0 {
|
||
|
reg = <0>;
|
||
|
label = "poe";
|
||
|
--- a/arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dts
|
||
|
+++ b/arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dts
|
||
|
@@ -57,9 +57,6 @@
|
||
|
status = "okay";
|
||
|
|
||
|
ports {
|
||
|
- #address-cells = <1>;
|
||
|
- #size-cells = <0>;
|
||
|
-
|
||
|
port@0 {
|
||
|
reg = <0>;
|
||
|
label = "lan";
|
||
|
--- a/arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts
|
||
|
+++ b/arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts
|
||
|
@@ -108,9 +108,6 @@
|
||
|
status = "okay";
|
||
|
|
||
|
ports {
|
||
|
- #address-cells = <1>;
|
||
|
- #size-cells = <0>;
|
||
|
-
|
||
|
port@0 {
|
||
|
reg = <0>;
|
||
|
label = "lan4";
|
||
|
--- a/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts
|
||
|
+++ b/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts
|
||
|
@@ -83,9 +83,6 @@
|
||
|
status = "okay";
|
||
|
|
||
|
ports {
|
||
|
- #address-cells = <1>;
|
||
|
- #size-cells = <0>;
|
||
|
-
|
||
|
port@0 {
|
||
|
reg = <0>;
|
||
|
label = "lan4";
|
||
|
--- a/arch/arm/boot/dts/bcm5301x.dtsi
|
||
|
+++ b/arch/arm/boot/dts/bcm5301x.dtsi
|
||
|
@@ -489,6 +489,10 @@
|
||
|
status = "disabled";
|
||
|
|
||
|
/* ports are defined in board DTS */
|
||
|
+ ports {
|
||
|
+ #address-cells = <1>;
|
||
|
+ #size-cells = <0>;
|
||
|
+ };
|
||
|
};
|
||
|
|
||
|
rng: rng@18004000 {
|
||
|
--- a/arch/arm/boot/dts/bcm953012er.dts
|
||
|
+++ b/arch/arm/boot/dts/bcm953012er.dts
|
||
|
@@ -69,9 +69,6 @@
|
||
|
status = "okay";
|
||
|
|
||
|
ports {
|
||
|
- #address-cells = <1>;
|
||
|
- #size-cells = <0>;
|
||
|
-
|
||
|
port@0 {
|
||
|
reg = <0>;
|
||
|
label = "port0";
|