162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci** asm/bootinfo-hp300.h -- HP9000/300-specific boot information definitions
462306a36Sopenharmony_ci*/
562306a36Sopenharmony_ci
662306a36Sopenharmony_ci#ifndef _UAPI_ASM_M68K_BOOTINFO_HP300_H
762306a36Sopenharmony_ci#define _UAPI_ASM_M68K_BOOTINFO_HP300_H
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ci    /*
1162306a36Sopenharmony_ci     *  HP9000/300-specific tags
1262306a36Sopenharmony_ci     */
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ci#define BI_HP300_MODEL		0x8000	/* model (__be32) */
1562306a36Sopenharmony_ci#define BI_HP300_UART_SCODE	0x8001	/* UART select code (__be32) */
1662306a36Sopenharmony_ci#define BI_HP300_UART_ADDR	0x8002	/* phys. addr of UART (__be32) */
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ci    /*
2062306a36Sopenharmony_ci     *  HP9000/300 and /400 models (BI_HP300_MODEL)
2162306a36Sopenharmony_ci     *
2262306a36Sopenharmony_ci     * This information was taken from NetBSD
2362306a36Sopenharmony_ci     */
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ci#define HP_320		0	/* 16MHz 68020+HP MMU+16K external cache */
2662306a36Sopenharmony_ci#define HP_330		1	/* 16MHz 68020+68851 MMU */
2762306a36Sopenharmony_ci#define HP_340		2	/* 16MHz 68030 */
2862306a36Sopenharmony_ci#define HP_345		3	/* 50MHz 68030+32K external cache */
2962306a36Sopenharmony_ci#define HP_350		4	/* 25MHz 68020+HP MMU+32K external cache */
3062306a36Sopenharmony_ci#define HP_360		5	/* 25MHz 68030 */
3162306a36Sopenharmony_ci#define HP_370		6	/* 33MHz 68030+64K external cache */
3262306a36Sopenharmony_ci#define HP_375		7	/* 50MHz 68030+32K external cache */
3362306a36Sopenharmony_ci#define HP_380		8	/* 25MHz 68040 */
3462306a36Sopenharmony_ci#define HP_385		9	/* 33MHz 68040 */
3562306a36Sopenharmony_ci
3662306a36Sopenharmony_ci#define HP_400		10	/* 50MHz 68030+32K external cache */
3762306a36Sopenharmony_ci#define HP_425T		11	/* 25MHz 68040 - model 425t */
3862306a36Sopenharmony_ci#define HP_425S		12	/* 25MHz 68040 - model 425s */
3962306a36Sopenharmony_ci#define HP_425E		13	/* 25MHz 68040 - model 425e */
4062306a36Sopenharmony_ci#define HP_433T		14	/* 33MHz 68040 - model 433t */
4162306a36Sopenharmony_ci#define HP_433S		15	/* 33MHz 68040 - model 433s */
4262306a36Sopenharmony_ci
4362306a36Sopenharmony_ci
4462306a36Sopenharmony_ci    /*
4562306a36Sopenharmony_ci     *  Latest HP9000/300 bootinfo version
4662306a36Sopenharmony_ci     */
4762306a36Sopenharmony_ci
4862306a36Sopenharmony_ci#define HP300_BOOTI_VERSION	MK_BI_VERSION(2, 0)
4962306a36Sopenharmony_ci
5062306a36Sopenharmony_ci
5162306a36Sopenharmony_ci#endif /* _UAPI_ASM_M68K_BOOTINFO_HP300_H */
52