Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 375139
b: refs/heads/master
c: bb19fea
h: refs/heads/master
i:
  375137: 310430a
  375135: 5395bb2
v: v3
  • Loading branch information
John Crispin authored and Ralf Baechle committed May 7, 2013
1 parent 07435ac commit b3dff12
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 48b4aba7a8a2b098f12259ffa13301243349cfab
refs/heads/master: bb19fea238daead66ab3630ad09fba50aa563048
13 changes: 13 additions & 0 deletions trunk/arch/mips/include/asm/mach-ralink/rt305x.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,17 @@ static inline int soc_is_rt5350(void)
#define RT305X_GPIO_MODE_SDRAM BIT(8)
#define RT305X_GPIO_MODE_RGMII BIT(9)

#define RT3352_SYSC_REG_SYSCFG0 0x010
#define RT3352_SYSC_REG_SYSCFG1 0x014
#define RT3352_SYSC_REG_CLKCFG1 0x030
#define RT3352_SYSC_REG_RSTCTRL 0x034
#define RT3352_SYSC_REG_USB_PS 0x05c

#define RT3352_CLKCFG0_XTAL_SEL BIT(20)
#define RT3352_CLKCFG1_UPHY0_CLK_EN BIT(18)
#define RT3352_CLKCFG1_UPHY1_CLK_EN BIT(20)
#define RT3352_RSTCTRL_UHST BIT(22)
#define RT3352_RSTCTRL_UDEV BIT(25)
#define RT3352_SYSCFG1_USB0_HOST_MODE BIT(10)

#endif

0 comments on commit b3dff12

Please sign in to comment.