On ar7240/ar7241 the mdioX node with the builtin-switch is enabled
in the DTSI files, but the parent ethX node is left disabled. It
only gets enabled per device or device family, and has not been
enabled at all yet for the TP-Link WA devices with ar7240, making
the switch unavailable there.
This patch makes sure ð0/ð1 nodes are enabled together with
the &mdio0/&mdio1 nodes containing the builtin-switch.
For ar7240_tplink_tl-wa.dtsi, ð0 is properly hidden again via
compatible = "syscon", "simple-mfd";
This partially fixes FS#2887, however it seems dmesg still does
not show cable (dis)connect in dmesg for ar7240 TP-Link WA
devices.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
13 files changed:
};
ð0 {
+ status = "okay";
+
compatible = "qca,ar7240-eth", "syscon";
pll-data = <0x00110000 0x00001099 0x00991099>;
};
ð0 {
- status = "okay";
-
mtd-mac-address = <&art 0x120c>;
};
};
};
-ð0 {
- status = "okay";
-};
-
ð1 {
status = "okay";
};
};
ð0 {
- status = "okay";
-
mtd-mac-address = <&art 0x0>;
};
};
ð0 {
- status = "okay";
-
mtd-mac-address = <&art 0x0>;
};
};
};
+ð0 {
+ compatible = "syscon", "simple-mfd";
+}
+
ð1 {
mtd-mac-address = <&uboot 0x1fc00>;
};
};
ð0 {
- status = "okay";
-
mtd-mac-address = <&uboot 0x1fc00>;
mtd-mac-address-increment = <(-1)>;
};
};
ð1 {
+ status = "okay";
+
compatible = "qca,ar7241-eth", "syscon";
pll-data = <0x00110000 0x00001099 0x00991099>;
};
ð1 {
- status = "okay";
-
compatible = "qca,ar7241-eth", "syscon", "simple-mfd";
+
mtd-mac-address = <&art 0x6>;
};
};
ð1 {
- status = "okay";
-
compatible = "qca,ar7241-eth", "syscon", "simple-mfd";
+
mtd-mac-address = <&art 0x6>;
};
};
ð1 {
- status = "okay";
-
mtd-mac-address = <&uboot 0x1fc00>;
mtd-mac-address-increment = <1>;
};
};
ð1 {
- status = "okay";
-
mtd-mac-address = <&uboot 0x1fc00>;
mtd-mac-address-increment = <1>;
};
};
ð1 {
- status = "okay";
-
compatible = "syscon", "simple-mfd";
};