Commit 4688ac52 authored by Peter Jansweijer's avatar Peter Jansweijer

new try micrel,reg-init = <2 8 0xfc1f 0x03e0>;

parent f4294d84
......@@ -22,12 +22,22 @@
#address-cells = <1>;
#size-cells = <0>;
phy0: ethernet-phy@0 {
comptaible = "micrel,ksz9031";
compatible = "micrel,ksz9031";
device_type = "ethernet-phy";
reg = <0>;
/* txc-skew-ps = <960>; */
/* see Micrel KSZ9031 datasheet par. 3.9.3 and table 3.4 & 3.5 */
micrel,reg-init = <0xd 0x2 0xe 0x8 0xd 0x4002 0xe 0x03ef>;
/*
micrel,reg-init : one of more sets of 4 cells. The first cell
is the MDIO Manageable Device (MMD) address, the second a register
address within the MMD, the third cell contains a mask to be ANDed
with the existing register value, and the fourth cell is ORed with
he result to yield the new register value. If the third cell has a
value of zero, no read of the existing value is performed.
*/
/* micrel,reg-init = <0xd 0x2 0xe 0x8 0xd 0x4002 0xe 0x03ef>; */
micrel,reg-init = <2 8 0xfc1f 0x03e0>;
};
};
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment