Commit 546b1032 authored by Poonam Aggrwal's avatar Poonam Aggrwal Committed by Kumar Gala
Browse files

85xx: Adds GPIO registers to MPC85xx Memory Map.


Signed-off-by: default avatarPoonam Aggrwal <poonam.aggrwal@freescale.com>
Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent 5da6f806
...@@ -341,6 +341,15 @@ typedef struct ccsr_pcix { ...@@ -341,6 +341,15 @@ typedef struct ccsr_pcix {
char res11[476]; char res11[476];
} ccsr_pcix_t; } ccsr_pcix_t;
typedef struct ccsr_gpio {
uint gpdir;
uint gpodr;
uint gpdat;
uint gpier;
uint gpimr;
uint gpicr;
} ccsr_gpio_t;
#define PCIX_COMMAND 0x62 #define PCIX_COMMAND 0x62
#define POWAR_EN 0x80000000 #define POWAR_EN 0x80000000
#define POWAR_IO_READ 0x00080000 #define POWAR_IO_READ 0x00080000
...@@ -1648,6 +1657,8 @@ typedef struct ccsr_gur { ...@@ -1648,6 +1657,8 @@ typedef struct ccsr_gur {
#define CONFIG_SYS_MPC85xx_PCIX_ADDR (CONFIG_SYS_IMMR + CONFIG_SYS_MPC85xx_PCIX_OFFSET) #define CONFIG_SYS_MPC85xx_PCIX_ADDR (CONFIG_SYS_IMMR + CONFIG_SYS_MPC85xx_PCIX_OFFSET)
#define CONFIG_SYS_MPC85xx_PCIX2_OFFSET (0x9000) #define CONFIG_SYS_MPC85xx_PCIX2_OFFSET (0x9000)
#define CONFIG_SYS_MPC85xx_PCIX2_ADDR (CONFIG_SYS_IMMR + CONFIG_SYS_MPC85xx_PCIX2_OFFSET) #define CONFIG_SYS_MPC85xx_PCIX2_ADDR (CONFIG_SYS_IMMR + CONFIG_SYS_MPC85xx_PCIX2_OFFSET)
#define CONFIG_SYS_MPC85xx_GPIO_OFFSET (0xF000)
#define CONFIG_SYS_MPC85xx_GPIO_ADDR (CONFIG_SYS_IMMR + CONFIG_SYS_MPC85xx_GPIO_OFFSET)
#define CONFIG_SYS_MPC85xx_SATA1_OFFSET (0x18000) #define CONFIG_SYS_MPC85xx_SATA1_OFFSET (0x18000)
#define CONFIG_SYS_MPC85xx_SATA1_ADDR (CONFIG_SYS_IMMR + CONFIG_SYS_MPC85xx_SATA1_OFFSET) #define CONFIG_SYS_MPC85xx_SATA1_ADDR (CONFIG_SYS_IMMR + CONFIG_SYS_MPC85xx_SATA1_OFFSET)
#define CONFIG_SYS_MPC85xx_SATA2_OFFSET (0x19000) #define CONFIG_SYS_MPC85xx_SATA2_OFFSET (0x19000)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment