diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-11-06 13:51:20 +0100 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-11-06 13:51:20 +0100 |
commit | 15dc60e727e591a214c9ec1006ced29c3f706728 (patch) | |
tree | 40e9e410364e2d31a76132c3850f511f77de82cc /target/linux/ath79 | |
parent | bae0d47f2e36376d2876bc4d5557e3e11f80f2fb (diff) | |
download | upstream-15dc60e727e591a214c9ec1006ced29c3f706728.tar.gz upstream-15dc60e727e591a214c9ec1006ced29c3f706728.tar.bz2 upstream-15dc60e727e591a214c9ec1006ced29c3f706728.zip |
ath79: move eth0 to parent DTSI for ar9344 TP-Link CPE devices
The ð0 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')
4 files changed, 11 insertions, 28 deletions
diff --git a/target/linux/ath79/dts/ar9344_tplink_cpe510.dtsi b/target/linux/ath79/dts/ar9344_tplink_cpe510.dtsi index ff96401afc..41a9443740 100644 --- a/target/linux/ath79/dts/ar9344_tplink_cpe510.dtsi +++ b/target/linux/ath79/dts/ar9344_tplink_cpe510.dtsi @@ -41,16 +41,8 @@ }; }; -ð0 { - status = "okay"; - - mtd-mac-address = <&info 0x08>; - - phy-mode = "mii"; - phy-handle = <&swphy4>; -}; - ð1 { status = "okay"; + compatible = "syscon", "simple-mfd"; }; diff --git a/target/linux/ath79/dts/ar9344_tplink_cpe610-v1.dts b/target/linux/ath79/dts/ar9344_tplink_cpe610-v1.dts index 2b0f52cf4f..cb614a9dfb 100644 --- a/target/linux/ath79/dts/ar9344_tplink_cpe610-v1.dts +++ b/target/linux/ath79/dts/ar9344_tplink_cpe610-v1.dts @@ -29,15 +29,6 @@ }; }; -ð0 { - status = "okay"; - - mtd-mac-address = <&info 0x08>; - - phy-mode = "mii"; - phy-handle = <&swphy4>; -}; - ð1 { status = "okay"; diff --git a/target/linux/ath79/dts/ar9344_tplink_cpexxx-v1.dtsi b/target/linux/ath79/dts/ar9344_tplink_cpexxx-v1.dtsi index 3ba964edde..440ba8a8b3 100644 --- a/target/linux/ath79/dts/ar9344_tplink_cpexxx-v1.dtsi +++ b/target/linux/ath79/dts/ar9344_tplink_cpexxx-v1.dtsi @@ -72,11 +72,3 @@ switch-only-mode = <1>; }; }; - -ð0 { - status = "okay"; - - phy-handle = <&swphy4>; - - mtd-mac-address = <&info 0x8>; -}; 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>; }; + +ð0 { + status = "okay"; + + phy-handle = <&swphy4>; + + mtd-mac-address = <&info 0x8>; +}; |