Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 375142
b: refs/heads/master
c: 8ddc251
h: refs/heads/master
v: v3
  • Loading branch information
John Crispin authored and Ralf Baechle committed May 7, 2013
1 parent 829f423 commit fbcf5eb
Show file tree
Hide file tree
Showing 2 changed files with 9 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: 29473822943ab5357cf3fcb718483f07f3188b83
refs/heads/master: 8ddc2513fbaf12b0e262d4d3f83757b46fd54e47
8 changes: 8 additions & 0 deletions trunk/arch/mips/include/asm/mach-ralink/rt305x.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,14 @@ static inline int soc_is_rt5350(void)
#define RT5350_SYSCFG0_CPUCLK_320 0x2
#define RT5350_SYSCFG0_CPUCLK_300 0x3

#define RT5350_SYSCFG0_DRAM_SIZE_SHIFT 12
#define RT5350_SYSCFG0_DRAM_SIZE_MASK 7
#define RT5350_SYSCFG0_DRAM_SIZE_2M 0
#define RT5350_SYSCFG0_DRAM_SIZE_8M 1
#define RT5350_SYSCFG0_DRAM_SIZE_16M 2
#define RT5350_SYSCFG0_DRAM_SIZE_32M 3
#define RT5350_SYSCFG0_DRAM_SIZE_64M 4

/* multi function gpio pins */
#define RT305X_GPIO_I2C_SD 1
#define RT305X_GPIO_I2C_SCLK 2
Expand Down

0 comments on commit fbcf5eb

Please sign in to comment.