ath79: harmonize appearance of ethX nodes in qca953x DTSes

This harmonizes the appearance of ethX nodes in qca953x DTSes by:
- having the same order of nodes and properties
- removing redundant status property on eth1 (set in qca953x.dtsi)

This is meant to help both copy-pasters and reviewers, since
deviations and errors can be spotted easier.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
Adrian Schmutzler 2020-08-12 14:20:18 +02:00
parent 92b4f16bab
commit 5dc74ad7f3
24 changed files with 92 additions and 83 deletions

View File

@ -93,6 +93,7 @@
status = "okay";
phy-handle = <&swphy0>;
mtd-mac-address = <&art 0x6>;
gmac-config {
@ -104,8 +105,6 @@
};
&eth1 {
status = "okay";
mtd-mac-address = <&art 0x0>;
};

View File

@ -124,7 +124,9 @@
&eth0 {
status = "okay";
phy-handle = <&swphy0>;
mtd-mac-address = <&art 0x1002>;
gmac-config {
@ -134,7 +136,6 @@
};
&eth1 {
status = "okay";
mtd-mac-address = <&art 0x0>;
};

View File

@ -139,12 +139,13 @@
&eth0 {
status = "okay";
mtd-mac-address = <&art 0x0>;
phy-handle = <&swphy4>;
mtd-mac-address = <&art 0x0>;
};
&eth1 {
status = "okay";
mtd-mac-address = <&art 0x6>;
};

View File

@ -124,8 +124,10 @@
&eth0 {
status = "okay";
mtd-mac-address = <&art 0x0>;
phy-handle = <&swphy4>;
mtd-mac-address = <&art 0x0>;
};
&eth1 {
@ -134,6 +136,7 @@
&wmac {
status = "okay";
mtd-cal-data = <&art 0x1000>;
};

View File

@ -115,6 +115,7 @@
status = "okay";
phy-handle = <&swphy4>;
mtd-mac-address = <&art 0x0>;
mtd-mac-address-increment = <1>;
};

View File

@ -105,10 +105,6 @@
};
};
&eth1 {
mtd-mac-address = <&uboot 0x2e018>;
};
&eth0 {
status = "okay";
@ -117,6 +113,10 @@
mtd-mac-address = <&uboot 0x2e010>;
};
&eth1 {
mtd-mac-address = <&uboot 0x2e018>;
};
&wmac {
status = "okay";

View File

@ -136,10 +136,6 @@
phy-handle = <&swphy4>;
};
&eth1 {
status = "okay";
};
&wmac {
status = "okay";

View File

@ -150,8 +150,10 @@
&eth0 {
status = "okay";
mtd-mac-address = <&art 0x0>;
phy-handle = <&swphy4>;
mtd-mac-address = <&art 0x0>;
};
&eth1 {

View File

@ -132,8 +132,10 @@
&eth0 {
status = "okay";
mtd-mac-address = <&art 0x0>;
phy-handle = <&swphy4>;
mtd-mac-address = <&art 0x0>;
};
&eth1 {
@ -143,5 +145,6 @@
&wmac {
status = "okay";
mtd-cal-data = <&art 0x1000>;
};

View File

@ -124,8 +124,9 @@
&eth0 {
status = "okay";
mtd-mac-address = <&art 0x0>;
phy-handle = <&swphy4>;
mtd-mac-address = <&art 0x0>;
};
&eth1 {

View File

@ -121,8 +121,10 @@
&eth0 {
status = "okay";
mtd-mac-address = <&art 0x0>;
phy-handle = <&swphy4>;
mtd-mac-address = <&art 0x0>;
};
&eth1 {
@ -132,5 +134,6 @@
&wmac {
status = "okay";
mtd-cal-data = <&art 0x1000>;
};

View File

@ -122,9 +122,9 @@
&eth0 {
status = "okay";
mtd-mac-address = <&art 0x0>;
phy-handle = <&swphy4>;
mtd-mac-address = <&art 0x0>;
};
&eth1 {

View File

@ -146,10 +146,6 @@
};
};
&eth1 {
mtd-mac-address = <&romfile 0xf100>;
};
&eth0 {
status = "okay";
@ -159,6 +155,10 @@
mtd-mac-address-increment = <1>;
};
&eth1 {
mtd-mac-address = <&romfile 0xf100>;
};
&wmac {
status = "okay";

View File

@ -173,10 +173,6 @@
};
};
&eth1 {
mtd-mac-address = <&uboot 0x1fc00>;
};
&eth0 {
status = "okay";
@ -186,6 +182,10 @@
mtd-mac-address-increment = <1>;
};
&eth1 {
mtd-mac-address = <&uboot 0x1fc00>;
};
&wmac {
status = "okay";

View File

@ -55,21 +55,6 @@
};
};
&eth0 {
status = "okay";
phy-handle = <&swphy4>;
mtd-mac-address = <&art 0x0>;
};
&eth1 {
mtd-mac-address = <&art 0x6>;
};
&pcie0 {
status = "okay";
};
&spi {
status = "okay";
@ -115,6 +100,22 @@
status = "okay";
};
&eth0 {
status = "okay";
phy-handle = <&swphy4>;
mtd-mac-address = <&art 0x0>;
};
&eth1 {
mtd-mac-address = <&art 0x6>;
};
&pcie0 {
status = "okay";
};
&wmac {
status = "okay";

View File

@ -139,13 +139,12 @@
&eth0 {
status = "okay";
mtd-mac-address = <&art 0x0>;
phy-handle = <&swphy4>;
mtd-mac-address = <&art 0x0>;
};
&eth1 {
status = "okay";
mtd-mac-address = <&art 0x1002>;
gmac-config {

View File

@ -21,8 +21,6 @@
};
&eth1 {
status = "okay";
mtd-mac-address = <&info 0x8>;
gmac-config {

View File

@ -109,13 +109,6 @@
};
};
&wmac {
status = "okay";
mtd-cal-data = <&art 0x1000>;
mtd-mac-address = <&info 0x8>;
};
&eth0 {
status = "okay";
@ -123,3 +116,10 @@
mtd-mac-address = <&info 0x8>;
};
&wmac {
status = "okay";
mtd-cal-data = <&art 0x1000>;
mtd-mac-address = <&info 0x8>;
};

View File

@ -140,13 +140,6 @@
};
};
&wmac {
status = "okay";
mtd-cal-data = <&art 0x1000>;
mtd-mac-address = <&config 0x10008>;
};
&eth0 {
status = "okay";
@ -158,3 +151,10 @@
&eth1 {
compatible = "syscon", "simple-mfd";
};
&wmac {
status = "okay";
mtd-cal-data = <&art 0x1000>;
mtd-mac-address = <&config 0x10008>;
};

View File

@ -74,13 +74,6 @@
};
};
&wmac {
status = "okay";
mtd-cal-data = <&art 0x1000>;
mtd-mac-address = <&uboot 0x1fc00>;
};
&eth0 {
status = "okay";
@ -93,3 +86,10 @@
&eth1 {
compatible = "syscon", "simple-mfd";
};
&wmac {
status = "okay";
mtd-cal-data = <&art 0x1000>;
mtd-mac-address = <&uboot 0x1fc00>;
};

View File

@ -109,10 +109,6 @@
};
};
&eth1 {
mtd-mac-address = <&uboot 0x1fc00>;
};
&eth0 {
status = "okay";
@ -122,6 +118,10 @@
mtd-mac-address-increment = <1>;
};
&eth1 {
mtd-mac-address = <&uboot 0x1fc00>;
};
&wmac {
status = "okay";

View File

@ -150,10 +150,6 @@
};
};
&eth1 {
mtd-mac-address = <&uboot 0x1fc00>;
};
&eth0 {
status = "okay";
@ -163,6 +159,10 @@
mtd-mac-address-increment = <1>;
};
&eth1 {
mtd-mac-address = <&uboot 0x1fc00>;
};
&wmac {
status = "okay";

View File

@ -79,12 +79,13 @@
&eth0 {
status = "okay";
mtd-mac-address = <&art 0x0>;
phy-handle = <&swphy4>;
mtd-mac-address = <&art 0x0>;
};
&eth1 {
status = "okay";
mtd-mac-address = <&art 0x6>;
gmac-config {

View File

@ -91,10 +91,6 @@
};
};
&eth1 {
mtd-mac-address = <&uboot 0x1fc00>;
};
&eth0 {
status = "okay";
@ -104,6 +100,10 @@
mtd-mac-address-increment = <1>;
};
&eth1 {
mtd-mac-address = <&uboot 0x1fc00>;
};
&wmac {
status = "okay";