drivers: mdio: shell: support adin2111
Adds supprot of ADIN2111 MDIO. The shell allows to access Clause 22 registers. Signed-off-by: Georgij Cernysiov <geo.cgv@gmail.com>
This commit is contained in:
parent
943bc1cebc
commit
238785ed2a
|
@ -20,6 +20,8 @@ LOG_MODULE_REGISTER(mdio_shell, CONFIG_LOG_DEFAULT_LEVEL);
|
|||
#define DT_DRV_COMPAT espressif_esp32_mdio
|
||||
#elif DT_HAS_COMPAT_STATUS_OKAY(nxp_s32_netc_emdio)
|
||||
#define DT_DRV_COMPAT nxp_s32_netc_emdio
|
||||
#elif DT_HAS_COMPAT_STATUS_OKAY(adi_adin2111_mdio)
|
||||
#define DT_DRV_COMPAT adi_adin2111_mdio
|
||||
#else
|
||||
#error "No known devicetree compatible match for MDIO shell"
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue