Hey Petr,

find my comments inline.

Mathias

10/12/2018 23:46, Petr Štetiar:
Most of the M/XW platform settings can be shared so move those common
DTS bits into include file.

Tested-by: Joe Ayers <[email protected]>
Signed-off-by: Petr Štetiar <[email protected]>
---
  target/linux/ath79/dts/ar9342_ubnt_bullet-m-xw.dts | 11 +++--------
  target/linux/ath79/dts/ar9342_ubnt_xw.dtsi         |  8 ++++++++
  2 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/target/linux/ath79/dts/ar9342_ubnt_bullet-m-xw.dts 
b/target/linux/ath79/dts/ar9342_ubnt_bullet-m-xw.dts
index ad98075..7e4862e 100644
--- a/target/linux/ath79/dts/ar9342_ubnt_bullet-m-xw.dts
+++ b/target/linux/ath79/dts/ar9342_ubnt_bullet-m-xw.dts
@@ -15,20 +15,19 @@
        status = "okay";
phy-mask = <4>;
+
        phy4: ethernet-phy@4 {
-               phy-mode = "rgmii";
                reg = <4>;
+               phy-mode = "rgmii";
        };
  };

Unrelated noop change. Please drop it.

&eth0 {
        status = "okay";
- pll-data = <0x06000000 0x00000101 0x00001313>;

You drop the pll-data without adding them to the dtsi. This looks wrong and doesn't match the "move from dts to dtsi" from the commit message.

-       mtd-mac-address = <&eeprom 0x0>;
-
        phy-mode = "rgmii";
        phy-handle = <&phy4>;
+       mtd-mac-address = <&eeprom 0x0>;
gmac-config {
                device = <&gmac>;
@@ -36,7 +35,3 @@
                rxdv-delay = <3>;
        };
  };
-
-&eth1 {
-       status = "disabled";
-};
diff --git a/target/linux/ath79/dts/ar9342_ubnt_xw.dtsi 
b/target/linux/ath79/dts/ar9342_ubnt_xw.dtsi
index 742df11..812810f 100644
--- a/target/linux/ath79/dts/ar9342_ubnt_xw.dtsi
+++ b/target/linux/ath79/dts/ar9342_ubnt_xw.dtsi
@@ -117,3 +117,11 @@
        mtd-cal-data = <&eeprom 0x1000>;
        mtd-mac-address = <&eeprom 0x1002>;
  };
+
+&mdio1 {
+       status = "disabled";
+};

This one is new and therefore doesn't match what is described in the commit message.

+
+&eth1 {
+       status = "disabled";
+};



_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to