Commit aec1bad3 authored by Siddarth Gore's avatar Siddarth Gore Committed by Nicolas Pitre

[ARM] Kirkwood: Add support for 6281-A1

Signed-off-by: default avatarSiddarth Gore <gores@marvell.com>
Signed-off-by: default avatarNicolas Pitre <nico@marvell.com>
parent 8f220860
...@@ -838,7 +838,8 @@ int __init kirkwood_find_tclk(void) ...@@ -838,7 +838,8 @@ int __init kirkwood_find_tclk(void)
u32 dev, rev; u32 dev, rev;
kirkwood_pcie_id(&dev, &rev); kirkwood_pcie_id(&dev, &rev);
if (dev == MV88F6281_DEV_ID && rev == MV88F6281_REV_A0) if (dev == MV88F6281_DEV_ID && (rev == MV88F6281_REV_A0 ||
rev == MV88F6281_REV_A1))
return 200000000; return 200000000;
return 166666667; return 166666667;
...@@ -872,6 +873,8 @@ static char * __init kirkwood_id(void) ...@@ -872,6 +873,8 @@ static char * __init kirkwood_id(void)
return "MV88F6281-Z0"; return "MV88F6281-Z0";
else if (rev == MV88F6281_REV_A0) else if (rev == MV88F6281_REV_A0)
return "MV88F6281-A0"; return "MV88F6281-A0";
else if (rev == MV88F6281_REV_A1)
return "MV88F6281-A1";
else else
return "MV88F6281-Rev-Unsupported"; return "MV88F6281-Rev-Unsupported";
} else if (dev == MV88F6192_DEV_ID) { } else if (dev == MV88F6192_DEV_ID) {
......
...@@ -101,6 +101,7 @@ ...@@ -101,6 +101,7 @@
#define MV88F6281_DEV_ID 0x6281 #define MV88F6281_DEV_ID 0x6281
#define MV88F6281_REV_Z0 0 #define MV88F6281_REV_Z0 0
#define MV88F6281_REV_A0 2 #define MV88F6281_REV_A0 2
#define MV88F6281_REV_A1 3
#define MV88F6192_DEV_ID 0x6192 #define MV88F6192_DEV_ID 0x6192
#define MV88F6192_REV_Z0 0 #define MV88F6192_REV_Z0 0
......
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