Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
29 lines
868 B
C
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
|