Linux Audio

Check our new training course

Open-source upstreaming

Need help get the support for your hardware in upstream Linux?
Loading...
v6.13.7
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef SUN3X_H
 3#define SUN3X_H
 4
 5/* hardware addresses */
 6#define SUN3X_IOMMU       0x60000000
 7#define SUN3X_ENAREG      0x61000000
 8#define SUN3X_INTREG      0x61001400
 9#define SUN3X_DIAGREG     0x61001800
10#define SUN3X_ZS1         0x62000000
11#define SUN3X_ZS2         0x62002000
12#define SUN3X_LANCE       0x65002000
13#define SUN3X_EEPROM      0x64000000
14#define SUN3X_IDPROM      0x640007d8
15#define SUN3X_VIDEO_BASE  0x50000000
16#define SUN3X_VIDEO_P4ID  0x50300000
17#define SUN3X_ESP_BASE	  0x66000000
18#define SUN3X_ESP_DMA	  0x66001000
19#define SUN3X_FDC         0x6e000000
20#define SUN3X_FDC_FCR     0x6e000400
21#define SUN3X_FDC_FVR     0x6e000800
22
23/* some NVRAM addresses */
24#define SUN3X_EEPROM_CONS	(SUN3X_EEPROM + 0x1f)
25#define SUN3X_EEPROM_PORTA	(SUN3X_EEPROM + 0x58)
26#define SUN3X_EEPROM_PORTB	(SUN3X_EEPROM + 0x60)
27
28#endif
v3.1
 
 1#ifndef SUN3X_H
 2#define SUN3X_H
 3
 4/* hardware addresses */
 5#define SUN3X_IOMMU       0x60000000
 6#define SUN3X_ENAREG      0x61000000
 7#define SUN3X_INTREG      0x61001400
 8#define SUN3X_DIAGREG     0x61001800
 9#define SUN3X_ZS1         0x62000000
10#define SUN3X_ZS2         0x62002000
11#define SUN3X_LANCE       0x65002000
12#define SUN3X_EEPROM      0x64000000
13#define SUN3X_IDPROM      0x640007d8
14#define SUN3X_VIDEO_BASE  0x50000000
15#define SUN3X_VIDEO_P4ID  0x50300000
16#define SUN3X_ESP_BASE	  0x66000000
17#define SUN3X_ESP_DMA	  0x66001000
18#define SUN3X_FDC         0x6e000000
19#define SUN3X_FDC_FCR     0x6e000400
20#define SUN3X_FDC_FVR     0x6e000800
21
22/* some NVRAM addresses */
23#define SUN3X_EEPROM_CONS	(SUN3X_EEPROM + 0x1f)
24#define SUN3X_EEPROM_PORTA	(SUN3X_EEPROM + 0x58)
25#define SUN3X_EEPROM_PORTB	(SUN3X_EEPROM + 0x60)
26
27#endif