1305706Sgonzo/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2305706Sgonzo/*
3324768Swulf** asm/bootinfo-hp300.h -- HP9000/300-specific boot information definitions
4305706Sgonzo*/
5305706Sgonzo
6305706Sgonzo#ifndef _UAPI_ASM_M68K_BOOTINFO_HP300_H
7305706Sgonzo#define _UAPI_ASM_M68K_BOOTINFO_HP300_H
8305706Sgonzo
9305706Sgonzo
10305706Sgonzo    /*
11305706Sgonzo     *  HP9000/300-specific tags
12305706Sgonzo     */
13305706Sgonzo
14305706Sgonzo#define BI_HP300_MODEL		0x8000	/* model (__be32) */
15305706Sgonzo#define BI_HP300_UART_SCODE	0x8001	/* UART select code (__be32) */
16305706Sgonzo#define BI_HP300_UART_ADDR	0x8002	/* phys. addr of UART (__be32) */
17305706Sgonzo
18305706Sgonzo
19305706Sgonzo    /*
20305706Sgonzo     *  HP9000/300 and /400 models (BI_HP300_MODEL)
21305706Sgonzo     *
22305706Sgonzo     * This information was taken from NetBSD
23305706Sgonzo     */
24305706Sgonzo
25305706Sgonzo#define HP_320		0	/* 16MHz 68020+HP MMU+16K external cache */
26305706Sgonzo#define HP_330		1	/* 16MHz 68020+68851 MMU */
27305706Sgonzo#define HP_340		2	/* 16MHz 68030 */
28305706Sgonzo#define HP_345		3	/* 50MHz 68030+32K external cache */
29305706Sgonzo#define HP_350		4	/* 25MHz 68020+HP MMU+32K external cache */
30305706Sgonzo#define HP_360		5	/* 25MHz 68030 */
31305706Sgonzo#define HP_370		6	/* 33MHz 68030+64K external cache */
32324768Swulf#define HP_375		7	/* 50MHz 68030+32K external cache */
33324768Swulf#define HP_380		8	/* 25MHz 68040 */
34305706Sgonzo#define HP_385		9	/* 33MHz 68040 */
35326543Swulf
36305706Sgonzo#define HP_400		10	/* 50MHz 68030+32K external cache */
37326543Swulf#define HP_425T		11	/* 25MHz 68040 - model 425t */
38324768Swulf#define HP_425S		12	/* 25MHz 68040 - model 425s */
39305706Sgonzo#define HP_425E		13	/* 25MHz 68040 - model 425e */
40324768Swulf#define HP_433T		14	/* 33MHz 68040 - model 433t */
41305706Sgonzo#define HP_433S		15	/* 33MHz 68040 - model 433s */
42305706Sgonzo
43305706Sgonzo
44305706Sgonzo    /*
45305706Sgonzo     *  Latest HP9000/300 bootinfo version
46305706Sgonzo     */
47305706Sgonzo
48305706Sgonzo#define HP300_BOOTI_VERSION	MK_BI_VERSION(2, 0)
49305706Sgonzo
50305706Sgonzo
51305706Sgonzo#endif /* _UAPI_ASM_M68K_BOOTINFO_HP300_H */
52305706Sgonzo