On 12/4/20 2:49 AM, Andrew Lunn wrote:
static const struct of_device_id gswip_of_match[] = { { .compatible = "lantiq,xrx200-gswip", .data = &gswip_xrx200 }, + { .compatible = "lantiq,xrx300-gswip", .data = &gswip_xrx300 }, + { .compatible = "lantiq,xrx330-gswip", .data = &gswip_xrx300 }, {},Is there an ID register which allows you to ask the silicon what it is?
Yes there is, see GSWIP_VERSION.
It would be good to verify the compatible string against the hardware, if that is possible. Andrew
Attachment:
OpenPGP_signature
Description: OpenPGP digital signature