This allows resetting gmac registers during initialization.
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
&mdio0 {
compatible = "qca,ar9340-mdio";
- resets = <&rst 22>;
- reset-names = "mdio";
};
ð0 {
- 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 {