提交 626806d9 编写于 作者: D Daniel Mack 提交者: Eric Miao

[ARM] pxa: Fix Colibri AX88796 configuration

Broaden the AX88796 register mask to allow access to the reset register.
Remove unnecessary value definitions and the second resource block.
Diagnosed-by: NMatthias Meier <matthias.j.meier@gmx.net>
Signed-off-by: NDaniel Mack <daniel@caiaq.de>
Signed-off-by: NEric Miao <eric.miao@marvell.com>
上级 71d36155
...@@ -55,24 +55,16 @@ static mfp_cfg_t colibri_pxa300_pin_config[] __initdata = { ...@@ -55,24 +55,16 @@ static mfp_cfg_t colibri_pxa300_pin_config[] __initdata = {
*/ */
static struct ax_plat_data colibri_asix_platdata = { static struct ax_plat_data colibri_asix_platdata = {
.flags = AXFLG_MAC_FROMDEV, .flags = AXFLG_MAC_FROMDEV,
.wordlength = 2, .wordlength = 2
.dcr_val = 0x01,
.rcr_val = 0x0e,
.gpoc_val = 0x19
}; };
static struct resource colibri_asix_resource[] = { static struct resource colibri_asix_resource[] = {
[0] = { [0] = {
.start = PXA3xx_CS2_PHYS, .start = PXA3xx_CS2_PHYS,
.end = PXA3xx_CS2_PHYS + (0x18 * 0x2) - 1, .end = PXA3xx_CS2_PHYS + (0x20 * 2) - 1,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
}, },
[1] = { [1] = {
.start = PXA3xx_CS2_PHYS + (1 << 11),
.end = PXA3xx_CS2_PHYS + (1 << 11) + 0x3fff,
.flags = IORESOURCE_MEM,
},
[2] = {
.start = COLIBRI_PXA300_ETH_IRQ, .start = COLIBRI_PXA300_ETH_IRQ,
.end = COLIBRI_PXA300_ETH_IRQ, .end = COLIBRI_PXA300_ETH_IRQ,
.flags = IORESOURCE_IRQ .flags = IORESOURCE_IRQ
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册