vserver 1.9.5.x5
[linux-2.6.git] / include / asm-ppc / uninorth.h
index 2cf0259..57daf7a 100644 (file)
 #define UNI_N_AACK_DELAY               0x0100
 #define UNI_N_AACK_DELAY_ENABLE                0x00000001
 
+/* Clock status for Intrepid */
+#define UNI_N_CLOCK_STOP_STATUS0       0x0150
+#define UNI_N_CLOCK_STOPPED_EXTAGP     0x00200000
+#define UNI_N_CLOCK_STOPPED_AGPDEL     0x00100000
+#define UNI_N_CLOCK_STOPPED_I2S0_45_49 0x00080000
+#define UNI_N_CLOCK_STOPPED_I2S0_18    0x00040000
+#define UNI_N_CLOCK_STOPPED_I2S1_45_49 0x00020000
+#define UNI_N_CLOCK_STOPPED_I2S1_18    0x00010000
+#define UNI_N_CLOCK_STOPPED_TIMER      0x00008000
+#define UNI_N_CLOCK_STOPPED_SCC_RTCLK18        0x00004000
+#define UNI_N_CLOCK_STOPPED_SCC_RTCLK32        0x00002000
+#define UNI_N_CLOCK_STOPPED_SCC_VIA32  0x00001000
+#define UNI_N_CLOCK_STOPPED_SCC_SLOT0  0x00000800
+#define UNI_N_CLOCK_STOPPED_SCC_SLOT1  0x00000400
+#define UNI_N_CLOCK_STOPPED_SCC_SLOT2  0x00000200
+#define UNI_N_CLOCK_STOPPED_PCI_FBCLKO 0x00000100
+#define UNI_N_CLOCK_STOPPED_VEO0       0x00000080
+#define UNI_N_CLOCK_STOPPED_VEO1       0x00000040
+#define UNI_N_CLOCK_STOPPED_USB0       0x00000020
+#define UNI_N_CLOCK_STOPPED_USB1       0x00000010
+#define UNI_N_CLOCK_STOPPED_USB2       0x00000008
+#define UNI_N_CLOCK_STOPPED_32         0x00000004
+#define UNI_N_CLOCK_STOPPED_45         0x00000002
+#define UNI_N_CLOCK_STOPPED_49         0x00000001
+
+#define UNI_N_CLOCK_STOP_STATUS1       0x0160
+#define UNI_N_CLOCK_STOPPED_PLL4REF    0x00080000
+#define UNI_N_CLOCK_STOPPED_CPUDEL     0x00040000
+#define UNI_N_CLOCK_STOPPED_CPU                0x00020000
+#define UNI_N_CLOCK_STOPPED_BUF_REFCKO 0x00010000
+#define UNI_N_CLOCK_STOPPED_PCI2       0x00008000
+#define UNI_N_CLOCK_STOPPED_FW         0x00004000
+#define UNI_N_CLOCK_STOPPED_GB         0x00002000
+#define UNI_N_CLOCK_STOPPED_ATA66      0x00001000
+#define UNI_N_CLOCK_STOPPED_ATA100     0x00000800
+#define UNI_N_CLOCK_STOPPED_MAX                0x00000400
+#define UNI_N_CLOCK_STOPPED_PCI1       0x00000200
+#define UNI_N_CLOCK_STOPPED_KLPCI      0x00000100
+#define UNI_N_CLOCK_STOPPED_USB0PCI    0x00000080
+#define UNI_N_CLOCK_STOPPED_USB1PCI    0x00000040
+#define UNI_N_CLOCK_STOPPED_USB2PCI    0x00000020
+#define UNI_N_CLOCK_STOPPED_7PCI1      0x00000008
+#define UNI_N_CLOCK_STOPPED_AGP                0x00000004
+#define UNI_N_CLOCK_STOPPED_PCI0       0x00000002
+#define UNI_N_CLOCK_STOPPED_18         0x00000001
+
+/* Intrepid registe to OF do-platform-clockspreading */
+#define UNI_N_CLOCK_SPREADING          0x190
+
 /* Uninorth 1.5 rev. has additional perf. monitor registers at 0xf00-0xf50 */