Skip to content
Permalink
Browse files

ath79: ar934x: assert mac/mdio reset together for gmac0

This allows resetting gmac registers during initialization.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
  • Loading branch information...
981213 authored and dangowrt committed Dec 15, 2018
1 parent cea3e9e commit 51cdf0e9eb15d2489a36b705bb32856f80857031
Showing with 3 additions and 6 deletions.
  1. +3 −6 target/linux/ath79/dts/ar934x.dtsi
@@ -192,19 +192,16 @@

&mdio0 {
compatible = "qca,ar9340-mdio";
resets = <&rst 22>;
reset-names = "mdio";
};

&eth0 {
compatible = "qca,ar9340-eth", "syscon", "simple-mfd";
compatible = "qca,ar9340-eth", "syscon";

pll-data = <0x16000000 0x00000101 0x00001616>;
pll-reg = <0x4 0x2c 17>;
pll-handle = <&pll>;

resets = <&rst 9>;
reset-names = "mac";
resets = <&rst 9>, <&rst 22>;
reset-names = "mac", "mdio";
};

&mdio1 {

0 comments on commit 51cdf0e

Please sign in to comment.
You can’t perform that action at this time.