drm/radeon: Sync to Linux 3.11
[dragonfly.git] / sys / dev / drm / radeon / evergreen_reg.h
index f02fb8d..8a4e641 100644 (file)
  * OTHER DEALINGS IN THE SOFTWARE.
  *
  * Authors: Alex Deucher
- * $FreeBSD: head/sys/dev/drm2/radeon/evergreen_reg.h 254885 2013-08-25 19:37:15Z dumbbell $
  */
-
 #ifndef __EVERGREEN_REG_H__
 #define __EVERGREEN_REG_H__
 
+/* trinity */
+#define TN_SMC_IND_INDEX_0                              0x200
+#define TN_SMC_IND_DATA_0                               0x204
+
 /* evergreen */
+#define EVERGREEN_PIF_PHY0_INDEX                        0x8
+#define EVERGREEN_PIF_PHY0_DATA                         0xc
+#define EVERGREEN_PIF_PHY1_INDEX                        0x10
+#define EVERGREEN_PIF_PHY1_DATA                         0x14
+
 #define EVERGREEN_VGA_MEMORY_BASE_ADDRESS               0x310
 #define EVERGREEN_VGA_MEMORY_BASE_ADDRESS_HIGH          0x324
 #define EVERGREEN_D3VGA_CONTROL                         0x3e0
@@ -42,6 +49,9 @@
 #define EVERGREEN_AUDIO_PLL1_DIV                       0x5b4
 #define EVERGREEN_AUDIO_PLL1_UNK                       0x5bc
 
+#define EVERGREEN_CG_IND_ADDR                           0x8f8
+#define EVERGREEN_CG_IND_DATA                           0x8fc
+
 #define EVERGREEN_AUDIO_ENABLE                         0x5e78
 #define EVERGREEN_AUDIO_VENDOR_ID                      0x5ec0