powerpc: t1040: Correct RCW EC2 settings
authorBin Meng <bmeng.cn@gmail.com>
Mon, 8 Oct 2018 13:55:57 +0000 (06:55 -0700)
committerYork Sun <york.sun@nxp.com>
Mon, 29 Oct 2018 20:19:43 +0000 (13:19 -0700)
commitdb148f2a6938b47cf26c5fd11481e7462a6a793a
tree1655d16c3f0cf0fed46024b5c4596da17ab8dfc6
parentc00d0012f5d6aa3987f5465caf8b6ead5ac919ff
powerpc: t1040: Correct RCW EC2 settings

Per T1040RM (Rev. 1, 08/2015), there are 2 issues with the RCW EC2
settings.

- The value of FSL_CORENET_RCWSR13_EC2_FM1_GPIO is wrong and should
  be 0x04000000 (value of 1 in RCW bit [420:421])
- Value of 2/3 are reserved in RCW bit [420:421], hence there is no
  macro FSL_CORENET_RCWSR13_EC2_FM1_DTSEC5_MII.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Poonam Aggrwal <poonam.aggrwal@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/powerpc/include/asm/immap_85xx.h
drivers/net/fm/t1040.c