Files
carbon 0545e9dc6d init version 2024-05-07
commit d1edce71135cc6d98c0a4b5729774542b676e769
Author: sophgo-forum-service <forum_service@sophgo.com>
Date:   Fri Mar 15 16:07:33 2024 +0800

    [fix] recommend using ssh method to clone repo.
    [fix] fix sensor driver repo branch name.
2024-05-07 19:36:36 +08:00

29 lines
868 B
C

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef SUN3X_H
#define SUN3X_H
/* hardware addresses */
#define SUN3X_IOMMU 0x60000000
#define SUN3X_ENAREG 0x61000000
#define SUN3X_INTREG 0x61001400
#define SUN3X_DIAGREG 0x61001800
#define SUN3X_ZS1 0x62000000
#define SUN3X_ZS2 0x62002000
#define SUN3X_LANCE 0x65002000
#define SUN3X_EEPROM 0x64000000
#define SUN3X_IDPROM 0x640007d8
#define SUN3X_VIDEO_BASE 0x50000000
#define SUN3X_VIDEO_P4ID 0x50300000
#define SUN3X_ESP_BASE 0x66000000
#define SUN3X_ESP_DMA 0x66001000
#define SUN3X_FDC 0x6e000000
#define SUN3X_FDC_FCR 0x6e000400
#define SUN3X_FDC_FVR 0x6e000800
/* some NVRAM addresses */
#define SUN3X_EEPROM_CONS (SUN3X_EEPROM + 0x1f)
#define SUN3X_EEPROM_PORTA (SUN3X_EEPROM + 0x58)
#define SUN3X_EEPROM_PORTB (SUN3X_EEPROM + 0x60)
#endif