summaryrefslogtreecommitdiff
path: root/arch/mips/mach-mscc/include
diff options
context:
space:
mode:
authorLars Povlsen <lars.povlsen@microchip.com>2018-12-20 09:56:05 +0100
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2019-01-16 13:56:43 +0100
commite9f1492bcac5127800a25a01e505e225956e2967 (patch)
treebc38d3a5c8b3e2310482b6e33ef0c5e384a96236 /arch/mips/mach-mscc/include
parente39c6783d37fd9e0c66c0ace184734a4e9446e00 (diff)
mips: mscc: luton+ocelot: Remove board config options, do probing
As we are moving to multi-dtb and board detection, remove static board config options, and introduce board probing instead. Luton: This add single-binary support for the two MSCC luton-based reference boards - pcb090 and pcb091. The SoC chip ID is used to determine the board type. Ocelot: This add single-binary support for the two MSCC ocelot-based reference boards - pcb120 and pcb123. The PHY ids on specific ports are used to determine the board type. Signed-off-by: Lars Povlsen <lars.povlsen@microchip.com>
Diffstat (limited to 'arch/mips/mach-mscc/include')
-rw-r--r--arch/mips/mach-mscc/include/mach/luton/luton_devcpu_gcb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/mach-mscc/include/mach/luton/luton_devcpu_gcb.h b/arch/mips/mach-mscc/include/mach/luton/luton_devcpu_gcb.h
index a06cf819b0..a74a68593d 100644
--- a/arch/mips/mach-mscc/include/mach/luton/luton_devcpu_gcb.h
+++ b/arch/mips/mach-mscc/include/mach/luton/luton_devcpu_gcb.h
@@ -13,4 +13,6 @@
#define GPIO_ALT(x) (0x88 + 4 * (x))
+#define CHIP_ID (0x08)
+
#endif