/* SPDX-License-Identifier: GPL-2.0 */
/*
* Microchip KSZ9477 register definitions
*
* Copyright (C) 2017-2018 Microchip Technology Inc.
*/
#ifndef __KSZ9477_REGS_H
#define __KSZ9477_REGS_H
#define KS_PRIO_M 0x7
#define KS_PRIO_S 4
/* 0 - Operation */
#define REG_CHIP_ID0__1 0x0000
#define REG_CHIP_ID1__1 0x0001
#define FAMILY_ID 0x95
#define FAMILY_ID_94 0x94
#define FAMILY_ID_95 0x95
#define FAMILY_ID_85 0x85
#define FAMILY_ID_98 0x98
#define FAMILY_ID_88 0x88
#define REG_CHIP_ID2__1 0x0002
#define CHIP_ID_66 0x66
#define CHIP_ID_67 0x67
#define CHIP_ID_77 0x77