Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Miscellany
Wednesday, January 31st, 2007 at 1:37:00am UTC 

  1. Index: firmware/export/pp5020.h
  2. ===================================================================
  3. RCS file: /cvsroot/rockbox/firmware/export/pp5020.h,v
  4. retrieving revision 1.11
  5. diff -u -r1.11 pp5020.h
  6. --- firmware/export/pp5020.h    20 Dec 2006 15:28:31 -0000  1.11
  7. +++ firmware/export/pp5020.h    26 Dec 2006 16:11:08 -0000
  8. @@ -132,6 +132,18 @@
  9.  
  10.  #define INIT_USB    0x80000000
  11.  
  12. +#define CLK_SRC          (*(volatile unsigned long *)(0x60006020))
  13. +#define CLK_SRC_32KHZ    0
  14. +#define CLK_SRC_16MHZ    1
  15. +#define CLK_SRC_24MHZ    2
  16. +#define CLK_SRC_33MHZ    3
  17. +#define CLK_SRC_48MHZ    4
  18. +#define CLK_SRC_SLOW     5   /* 24MHz with additional divider */
  19. +#define CLK_SRC_FAST     6   /* PLL with additional divider */
  20. +#define CLK_SRC_PLL      7
  21. +
  22. +#define PLL_CONTROL      (*(volatile unsigned long *)(0x60006034))
  23. +
  24.  #define TIMER1_CFG   (*(volatile unsigned long *)(0x60005000))
  25.  #define TIMER1_VAL   (*(volatile unsigned long *)(0x60005004))
  26.  #define TIMER2_CFG   (*(volatile unsigned long *)(0x60005008))
  27. @@ -144,6 +156,12 @@
  28.  #define CPU_HI_INT_EN    (*(volatile unsigned long*)(0x60004124))
  29.  #define CPU_INT_CLR      (*(volatile unsigned long*)(0x60004028))
  30.  #define CPU_HI_INT_CLR   (*(volatile unsigned long*)(0x60004128))
  31. +#define COP_INT_STAT     (*(volatile unsigned long*)(0x60004004)) /* Guessed */
  32. +#define COP_HI_INT_STAT  (*(volatile unsigned long*)(0x60004104)) /* From IPL*/
  33. +#define COP_INT_EN       (*(volatile unsigned long*)(0x60004034)) /* Guessed */
  34. +#define COP_HI_INT_EN    (*(volatile unsigned long*)(0x60004134)) /* From IPL*/
  35. +#define COP_INT_CLR      (*(volatile unsigned long*)(0x60004038)) /* Guessed */
  36. +#define COP_HI_INT_CLR   (*(volatile unsigned long*)(0x60004138)) /* From IPL*/
  37.        
  38.  #define TIMER1_IRQ   0
  39.  #define TIMER2_IRQ   1
  40. @@ -163,6 +181,9 @@
  41.  #define SER1_MASK    (1 << (SER1_IRQ-32))
  42.  #define I2C_MASK     (1 << (I2C_IRQ-32))
  43.  
  44. +/* Bit 30 is PLL enable */
  45. +#define DEVICE_CONTROL      (*(volatile unsigned long*)(0x70000020))
  46. +
  47.  #define IISCONFIG           (*(volatile unsigned long*)(0x70002800))
  48.  
  49.  #define IISFIFO_CFG         (*(volatile unsigned long*)(0x7000280c))

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right