1*53d143feSPaul Mackerras /* 2*53d143feSPaul Mackerras * Microwatt FPGA-based SoC platform setup code. 3*53d143feSPaul Mackerras * 4*53d143feSPaul Mackerras * Copyright 2020 Paul Mackerras (paulus@ozlabs.org), IBM Corp. 5*53d143feSPaul Mackerras */ 6*53d143feSPaul Mackerras 7*53d143feSPaul Mackerras #include <linux/types.h> 8*53d143feSPaul Mackerras #include <linux/kernel.h> 9*53d143feSPaul Mackerras #include <linux/stddef.h> 10*53d143feSPaul Mackerras #include <linux/init.h> 11*53d143feSPaul Mackerras #include <asm/machdep.h> 12*53d143feSPaul Mackerras #include <asm/time.h> 13*53d143feSPaul Mackerras 14*53d143feSPaul Mackerras static int __init microwatt_probe(void) 15*53d143feSPaul Mackerras { 16*53d143feSPaul Mackerras return of_machine_is_compatible("microwatt-soc"); 17*53d143feSPaul Mackerras } 18*53d143feSPaul Mackerras 19*53d143feSPaul Mackerras define_machine(microwatt) { 20*53d143feSPaul Mackerras .name = "microwatt", 21*53d143feSPaul Mackerras .probe = microwatt_probe, 22*53d143feSPaul Mackerras .calibrate_decr = generic_calibrate_decr, 23*53d143feSPaul Mackerras }; 24