18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci** asm/bootinfo-hp300.h -- HP9000/300-specific boot information definitions
48c2ecf20Sopenharmony_ci*/
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ci#ifndef _UAPI_ASM_M68K_BOOTINFO_HP300_H
78c2ecf20Sopenharmony_ci#define _UAPI_ASM_M68K_BOOTINFO_HP300_H
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ci    /*
118c2ecf20Sopenharmony_ci     *  HP9000/300-specific tags
128c2ecf20Sopenharmony_ci     */
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci#define BI_HP300_MODEL		0x8000	/* model (__be32) */
158c2ecf20Sopenharmony_ci#define BI_HP300_UART_SCODE	0x8001	/* UART select code (__be32) */
168c2ecf20Sopenharmony_ci#define BI_HP300_UART_ADDR	0x8002	/* phys. addr of UART (__be32) */
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ci    /*
208c2ecf20Sopenharmony_ci     *  HP9000/300 and /400 models (BI_HP300_MODEL)
218c2ecf20Sopenharmony_ci     *
228c2ecf20Sopenharmony_ci     * This information was taken from NetBSD
238c2ecf20Sopenharmony_ci     */
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ci#define HP_320		0	/* 16MHz 68020+HP MMU+16K external cache */
268c2ecf20Sopenharmony_ci#define HP_330		1	/* 16MHz 68020+68851 MMU */
278c2ecf20Sopenharmony_ci#define HP_340		2	/* 16MHz 68030 */
288c2ecf20Sopenharmony_ci#define HP_345		3	/* 50MHz 68030+32K external cache */
298c2ecf20Sopenharmony_ci#define HP_350		4	/* 25MHz 68020+HP MMU+32K external cache */
308c2ecf20Sopenharmony_ci#define HP_360		5	/* 25MHz 68030 */
318c2ecf20Sopenharmony_ci#define HP_370		6	/* 33MHz 68030+64K external cache */
328c2ecf20Sopenharmony_ci#define HP_375		7	/* 50MHz 68030+32K external cache */
338c2ecf20Sopenharmony_ci#define HP_380		8	/* 25MHz 68040 */
348c2ecf20Sopenharmony_ci#define HP_385		9	/* 33MHz 68040 */
358c2ecf20Sopenharmony_ci
368c2ecf20Sopenharmony_ci#define HP_400		10	/* 50MHz 68030+32K external cache */
378c2ecf20Sopenharmony_ci#define HP_425T		11	/* 25MHz 68040 - model 425t */
388c2ecf20Sopenharmony_ci#define HP_425S		12	/* 25MHz 68040 - model 425s */
398c2ecf20Sopenharmony_ci#define HP_425E		13	/* 25MHz 68040 - model 425e */
408c2ecf20Sopenharmony_ci#define HP_433T		14	/* 33MHz 68040 - model 433t */
418c2ecf20Sopenharmony_ci#define HP_433S		15	/* 33MHz 68040 - model 433s */
428c2ecf20Sopenharmony_ci
438c2ecf20Sopenharmony_ci
448c2ecf20Sopenharmony_ci    /*
458c2ecf20Sopenharmony_ci     *  Latest HP9000/300 bootinfo version
468c2ecf20Sopenharmony_ci     */
478c2ecf20Sopenharmony_ci
488c2ecf20Sopenharmony_ci#define HP300_BOOTI_VERSION	MK_BI_VERSION(2, 0)
498c2ecf20Sopenharmony_ci
508c2ecf20Sopenharmony_ci
518c2ecf20Sopenharmony_ci#endif /* _UAPI_ASM_M68K_BOOTINFO_HP300_H */
52