aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
Diffstat (limited to 'target')
-rw-r--r--target/linux/ath79/dts/qca9563_tl-wr1043n.dtsi1
-rw-r--r--target/linux/ath79/dts/qca956x.dtsi34
2 files changed, 31 insertions, 4 deletions
diff --git a/target/linux/ath79/dts/qca9563_tl-wr1043n.dtsi b/target/linux/ath79/dts/qca9563_tl-wr1043n.dtsi
index 3134eb9483..6c56306ad5 100644
--- a/target/linux/ath79/dts/qca9563_tl-wr1043n.dtsi
+++ b/target/linux/ath79/dts/qca9563_tl-wr1043n.dtsi
@@ -193,6 +193,7 @@
status = "okay";
mtd-mac-address = <&info 0x8>;
+ phy-mode = "sgmii";
phy-handle = <&phy0>;
};
diff --git a/target/linux/ath79/dts/qca956x.dtsi b/target/linux/ath79/dts/qca956x.dtsi
index 1b8733a585..3c4c04b169 100644
--- a/target/linux/ath79/dts/qca956x.dtsi
+++ b/target/linux/ath79/dts/qca956x.dtsi
@@ -253,26 +253,47 @@
};
&eth0 {
- compatible = "qca,qca9560-eth", "syscon";
+ compatible = "qca,qca9560-eth", "syscon", "simple-mfd";
pll-data = <0x03000000 0x00000101 0x00001919>;
pll-reg = <0 0x48 0>;
pll-handle = <&pll>;
- phy-mode = "sgmii";
-
resets = <&rst 9>;
reset-names = "mac";
};
&mdio1 {
+ status = "okay";
resets = <&rst 23>;
reset-names = "mdio";
builtin-switch;
+
+ builtin_switch: switch0@1f {
+ compatible = "qca,ar8229-builtin";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ reg = <0x1f>;
+ phy-mode = "gmii";
+ phy4-mii-enable;
+
+ mdio-bus {
+ swphy0: ethernet-phy@0 {
+ reg = <0>;
+ phy-mode = "mii";
+ };
+
+ swphy4: ethernet-phy@4 {
+ reg = <4>;
+ phy-mode = "mii";
+ };
+ };
+ };
};
&eth1 {
- compatible = "qca,qca9560-eth", "syscon";
+ compatible = "qca,qca9560-eth", "syscon", "simple-mfd";
phy-mode = "gmii";
@@ -280,4 +301,9 @@
reset-names = "mac";
status = "disabled";
+
+ fixed-link {
+ speed = <1000>;
+ full-duplex;
+ };
};