LAN7430 Register Instructions

LAN7430 Register Instructions

Get ID

busybox devmem $((0xfbc00000+0x0000)) 

Initalise MAC

busybox devmem $((0xfbc00000+0x0100)) 32 $(( `busybox devmem $((0xfbc00000+0x0100))` | 0x00001000 | 0x00000800 ))

PHY Reset

busybox devmem $((0xfbc00000+0x0014)) 32 $((`busybox devmem $((0xfbc00000+0x0014))` | 0x00000010))

Read Phy Ready Status (not working?)

# PHY_RST
echo $((! (`busybox devmem $((0xfbc00000+0x0014))` )& 0x00000010 )) 

# PHY_CTL_READY
echo $((`busybox devmem $((0xfbc00000+0x0014))` & 0x00000080)) 

References

Leave a Reply

Your email address will not be published. Required fields are marked *