phy: cadence: Sierra: Add support for SERDES_16G used in J721E SoC

SERDES_16G in TI's J721E SoC uses Cadence Sierra PHY. Add
support to use Cadence Sierra driver in J721E SoC.
Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
parent 380f5708
...@@ -553,11 +553,25 @@ static const struct cdns_sierra_data cdns_map_sierra = { ...@@ -553,11 +553,25 @@ static const struct cdns_sierra_data cdns_map_sierra = {
cdns_usb_regs cdns_usb_regs
}; };
static const struct cdns_sierra_data cdns_ti_map_sierra = {
SIERRA_MACRO_ID,
0x0,
0x1,
ARRAY_SIZE(cdns_pcie_regs),
ARRAY_SIZE(cdns_usb_regs),
cdns_pcie_regs,
cdns_usb_regs
};
static const struct of_device_id cdns_sierra_id_table[] = { static const struct of_device_id cdns_sierra_id_table[] = {
{ {
.compatible = "cdns,sierra-phy-t0", .compatible = "cdns,sierra-phy-t0",
.data = &cdns_map_sierra, .data = &cdns_map_sierra,
}, },
{
.compatible = "ti,sierra-phy-t0",
.data = &cdns_ti_map_sierra,
},
{} {}
}; };
MODULE_DEVICE_TABLE(of, cdns_sierra_id_table); MODULE_DEVICE_TABLE(of, cdns_sierra_id_table);
......
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