mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-22 14:43:30 +00:00
bce00f47e5
This includes: 1. BCM5301X changes from 5.14 and queued 5.15 stuff 2. NSP changes from 5.11 - 5.15 for kernel 5.10 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
100 lines
2.4 KiB
Diff
100 lines
2.4 KiB
Diff
From 51e40c25aa18d926a8eb1c07289d01611b21123a Mon Sep 17 00:00:00 2001
|
|
From: Florian Fainelli <f.fainelli@gmail.com>
|
|
Date: Mon, 9 Nov 2020 17:44:33 -0800
|
|
Subject: [PATCH 16/16] 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: Vladimir Oltean <olteanv@gmail.com>
|
|
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
|
|
---
|
|
arch/arm/boot/dts/bcm-nsp.dtsi | 4 ++++
|
|
arch/arm/boot/dts/bcm958622hr.dts | 3 ---
|
|
arch/arm/boot/dts/bcm958623hr.dts | 3 ---
|
|
arch/arm/boot/dts/bcm958625hr.dts | 3 ---
|
|
arch/arm/boot/dts/bcm958625k.dts | 3 ---
|
|
arch/arm/boot/dts/bcm988312hr.dts | 3 ---
|
|
6 files changed, 4 insertions(+), 15 deletions(-)
|
|
|
|
--- a/arch/arm/boot/dts/bcm-nsp.dtsi
|
|
+++ b/arch/arm/boot/dts/bcm-nsp.dtsi
|
|
@@ -420,6 +420,10 @@
|
|
status = "disabled";
|
|
|
|
/* ports are defined in board DTS */
|
|
+ ports {
|
|
+ #address-cells = <1>;
|
|
+ #size-cells = <0>;
|
|
+ };
|
|
};
|
|
|
|
i2c0: i2c@38000 {
|
|
--- a/arch/arm/boot/dts/bcm958622hr.dts
|
|
+++ b/arch/arm/boot/dts/bcm958622hr.dts
|
|
@@ -176,9 +176,6 @@
|
|
status = "okay";
|
|
|
|
ports {
|
|
- #address-cells = <1>;
|
|
- #size-cells = <0>;
|
|
-
|
|
port@0 {
|
|
label = "port0";
|
|
reg = <0>;
|
|
--- a/arch/arm/boot/dts/bcm958623hr.dts
|
|
+++ b/arch/arm/boot/dts/bcm958623hr.dts
|
|
@@ -180,9 +180,6 @@
|
|
status = "okay";
|
|
|
|
ports {
|
|
- #address-cells = <1>;
|
|
- #size-cells = <0>;
|
|
-
|
|
port@0 {
|
|
label = "port0";
|
|
reg = <0>;
|
|
--- a/arch/arm/boot/dts/bcm958625hr.dts
|
|
+++ b/arch/arm/boot/dts/bcm958625hr.dts
|
|
@@ -195,9 +195,6 @@
|
|
status = "okay";
|
|
|
|
ports {
|
|
- #address-cells = <1>;
|
|
- #size-cells = <0>;
|
|
-
|
|
port@0 {
|
|
label = "port0";
|
|
reg = <0>;
|
|
--- a/arch/arm/boot/dts/bcm958625k.dts
|
|
+++ b/arch/arm/boot/dts/bcm958625k.dts
|
|
@@ -216,9 +216,6 @@
|
|
status = "okay";
|
|
|
|
ports {
|
|
- #address-cells = <1>;
|
|
- #size-cells = <0>;
|
|
-
|
|
port@0 {
|
|
label = "port0";
|
|
reg = <0>;
|
|
--- a/arch/arm/boot/dts/bcm988312hr.dts
|
|
+++ b/arch/arm/boot/dts/bcm988312hr.dts
|
|
@@ -184,9 +184,6 @@
|
|
status = "okay";
|
|
|
|
ports {
|
|
- #address-cells = <1>;
|
|
- #size-cells = <0>;
|
|
-
|
|
port@0 {
|
|
label = "port0";
|
|
reg = <0>;
|