diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2020-02-18 00:36:28 +0100 |
---|---|---|
committer | Koen Vandeputte <koen.vandeputte@ncentric.com> | 2020-02-28 17:50:46 +0100 |
commit | 1e95f9b3ea8375931bf82b8d102b9410d6eafcfa (patch) | |
tree | 41f419aadf177b18011f3f76cca4acc013130799 /target/linux/ath79/dts/ar934x.dtsi | |
parent | 53ab9865c2b91bc6a239b2adee800dc52875b6bc (diff) | |
download | upstream-1e95f9b3ea8375931bf82b8d102b9410d6eafcfa.tar.gz upstream-1e95f9b3ea8375931bf82b8d102b9410d6eafcfa.tar.bz2 upstream-1e95f9b3ea8375931bf82b8d102b9410d6eafcfa.zip |
ath79: Make upstream ag71xx driver work
* Fix some bugs in the driver
* Add missing clock and reset references in dts
* Rename mdio-bus to mdio so the driver find it
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/ath79/dts/ar934x.dtsi')
-rw-r--r-- | target/linux/ath79/dts/ar934x.dtsi | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/target/linux/ath79/dts/ar934x.dtsi b/target/linux/ath79/dts/ar934x.dtsi index e8c21fb710..0451960a60 100644 --- a/target/linux/ath79/dts/ar934x.dtsi +++ b/target/linux/ath79/dts/ar934x.dtsi @@ -232,6 +232,8 @@ pll-handle = <&pll>; resets = <&rst 9>, <&rst 22>; reset-names = "mac", "mdio"; + clocks = <&pll ATH79_CLK_AHB>, <&pll ATH79_CLK_AHB>; + clock-names = "eth", "mdio"; }; &mdio1 { @@ -272,8 +274,10 @@ ð1 { compatible = "qca,ar9340-eth", "syscon"; - resets = <&rst 13>; - reset-names = "mac"; + resets = <&rst 13>, <&rst 23>; + reset-names = "mac", "mdio"; + clocks = <&pll ATH79_CLK_AHB>, <&pll ATH79_CLK_AHB>; + clock-names = "eth", "mdio"; phy-mode = "gmii"; fixed-link { |