aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/ar7242.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ath79/dts/ar7242.dtsi')
-rw-r--r--target/linux/ath79/dts/ar7242.dtsi18
1 files changed, 16 insertions, 2 deletions
diff --git a/target/linux/ath79/dts/ar7242.dtsi b/target/linux/ath79/dts/ar7242.dtsi
index a5909a9b31..189e768e9f 100644
--- a/target/linux/ath79/dts/ar7242.dtsi
+++ b/target/linux/ath79/dts/ar7242.dtsi
@@ -45,7 +45,7 @@
};
&eth0 {
- compatible = "qca,ar7242-eth", "syscon";
+ compatible = "qca,ar7242-eth", "syscon", "simple-mfd";
pll-data = <0x16000000 0x00000101 0x00001616>;
pll-reg = <0x4 0x2c 17>;
@@ -59,11 +59,25 @@
resets = <&rst 23>;
reset-names = "mdio";
builtin-switch;
+
+ builtin_switch: switch0@1f {
+ compatible = "qca,ar8216-builtin";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0x1f>;
+ };
};
&eth1 {
- compatible = "qca,ar7242-eth", "syscon";
+ compatible = "qca,ar7242-eth", "syscon", "simple-mfd";
resets = <&rst 12>, <&rst 13>;
reset-names = "mac", "phy";
+
+ phy-mode = "gmii";
+
+ fixed-link {
+ speed = <1000>;
+ full-duplex;
+ };
};