2
0
forked from Ivasoft/openwrt

ramips: add watchdog device for RT305x

SVN-Revision: 25127
This commit is contained in:
Gabor Juhos
2011-01-26 20:48:46 +00:00
parent 16366feafb
commit 42e36cf732
3 changed files with 34 additions and 0 deletions

View File

@@ -62,6 +62,11 @@
#define SYSTEM_CONFIG_CPUCLK_MASK 0x1
#define SYSTEM_CONFIG_CPUCLK_320 0x0
#define SYSTEM_CONFIG_CPUCLK_384 0x1
#define SYSTEM_CONFIG_SRAM_CS0_MODE_SHIFT 2
#define SYSTEM_CONFIG_SRAM_CS0_MODE_MASK 0x3
#define SYSTEM_CONFIG_SRAM_CS0_MODE_NORMAL 0
#define SYSTEM_CONFIG_SRAM_CS0_MODE_WDT 1
#define SYSTEM_CONFIG_SRAM_CS0_MODE_BTCOEX 2
#define RT305X_GPIO_MODE_I2C BIT(0)
#define RT305X_GPIO_MODE_SPI BIT(1)