From 94391fbceebc9c874aad420d73d87b62804ab27c Mon Sep 17 00:00:00 2001 From: Liu Hui-R64343 Date: Mon, 3 Jan 2011 22:27:42 +0000 Subject: MX5:MX53: add initial support for MX53EVK board Add initial support for MX53EVK board support. FEC, SD/MMC, UART, I2C, have been supported. Signed-off-by: Jason Liu --- include/mc13892.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/mc13892.h') diff --git a/include/mc13892.h b/include/mc13892.h index 61c3e6e..001cf56 100644 --- a/include/mc13892.h +++ b/include/mc13892.h @@ -160,4 +160,9 @@ /* Reg Power Control 2*/ #define WDIRESET (1 << 12) +/* SWx Output Volts */ +#define SWX_OUT_MASK 0x1F +#define SWX_OUT_1_25 0x1A +#define SWX_OUT_1_30 0X1C + #endif -- cgit v1.1 From 3db9e9d7b4584fb736cf439c60ac191ee93221c2 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Wed, 19 Jan 2011 04:40:35 +0000 Subject: MC13892: Add SWx buck switchers definitions Define voltages configurable on SWx buck switchers. Signed-off-by: Marek Vasut Acked-by: Stefano Babic --- include/mc13892.h | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) (limited to 'include/mc13892.h') diff --git a/include/mc13892.h b/include/mc13892.h index 001cf56..8138bb7 100644 --- a/include/mc13892.h +++ b/include/mc13892.h @@ -165,4 +165,43 @@ #define SWX_OUT_1_25 0x1A #define SWX_OUT_1_30 0X1C +/* Buck Switchers (SW1,2,3,4) Output Voltage */ +/* + * NOTE: These values are for SWxHI = 0, + * SWxHI = 1 adds 0.5V to the desired voltage + */ +#define SWx_0_600V 0 +#define SWx_0_625V 1 +#define SWx_0_650V 2 +#define SWx_0_675V 3 +#define SWx_0_700V 4 +#define SWx_0_725V 5 +#define SWx_0_750V 6 +#define SWx_0_775V 7 +#define SWx_0_800V 8 +#define SWx_0_825V 9 +#define SWx_0_850V 10 +#define SWx_0_875V 11 +#define SWx_0_900V 12 +#define SWx_0_925V 13 +#define SWx_0_950V 14 +#define SWx_0_975V 15 +#define SWx_1_000V 16 +#define SWx_1_025V 17 +#define SWx_1_050V 18 +#define SWx_1_075V 19 +#define SWx_1_100V 20 +#define SWx_1_125V 21 +#define SWx_1_150V 22 +#define SWx_1_175V 23 +#define SWx_1_200V 24 +#define SWx_1_225V 25 +#define SWx_1_250V 26 +#define SWx_1_275V 27 +#define SWx_1_300V 28 +#define SWx_1_325V 29 +#define SWx_1_350V 30 +#define SWx_1_375V 31 +#define SWx_VOLT_MASK 0x1F + #endif -- cgit v1.1