aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/ar9344_tplink_cpexxx.dtsi
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-11-06 13:51:20 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-11-06 13:51:20 +0100
commit15dc60e727e591a214c9ec1006ced29c3f706728 (patch)
tree40e9e410364e2d31a76132c3850f511f77de82cc /target/linux/ath79/dts/ar9344_tplink_cpexxx.dtsi
parentbae0d47f2e36376d2876bc4d5557e3e11f80f2fb (diff)
downloadupstream-15dc60e727e591a214c9ec1006ced29c3f706728.tar.gz
upstream-15dc60e727e591a214c9ec1006ced29c3f706728.tar.bz2
upstream-15dc60e727e591a214c9ec1006ced29c3f706728.zip
ath79: move eth0 to parent DTSI for ar9344 TP-Link CPE devices
The &eth0 node is the same for all TP-Link CPE devices in ar9344, so move it to parent DTSI. While at it, do some minor DTS harmonizations. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ath79/dts/ar9344_tplink_cpexxx.dtsi')
-rw-r--r--target/linux/ath79/dts/ar9344_tplink_cpexxx.dtsi12
1 files changed, 10 insertions, 2 deletions
diff --git a/target/linux/ath79/dts/ar9344_tplink_cpexxx.dtsi b/target/linux/ath79/dts/ar9344_tplink_cpexxx.dtsi
index dc7313b58a..d002dfeb3c 100644
--- a/target/linux/ath79/dts/ar9344_tplink_cpexxx.dtsi
+++ b/target/linux/ath79/dts/ar9344_tplink_cpexxx.dtsi
@@ -31,10 +31,10 @@
};
&spi {
- num-cs = <1>;
-
status = "okay";
+ num-cs = <1>;
+
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
@@ -103,3 +103,11 @@
mtd-cal-data = <&art 0x1000>;
mtd-mac-address = <&info 0x08>;
};
+
+&eth0 {
+ status = "okay";
+
+ phy-handle = <&swphy4>;
+
+ mtd-mac-address = <&info 0x8>;
+};