Commit f3f5aba6 authored by Marek Vasut's avatar Marek Vasut
Browse files

rcar_gen3: drivers: ddr_b: Fix checkpatch errors in headers



Clean up the DDR B header files and remove checkpatch errors.
Signed-off-by: default avatarMarek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I9648ef5511df299688fd5284513812d32a1f8064
parent 4ca57bae
/* /*
* Copyright (c) 2015-2019, Renesas Electronics Corporation. All rights reserved. * Copyright (c) 2015-2019, Renesas Electronics Corporation.
* All rights reserved.
* *
* SPDX-License-Identifier: BSD-3-Clause * SPDX-License-Identifier: BSD-3-Clause
*/ */
#define RCAR_DDR_VERSION "rev.0.36" #define RCAR_DDR_VERSION "rev.0.36"
#define DRAM_CH_CNT (0x04) #define DRAM_CH_CNT 0x04
#define SLICE_CNT (0x04) #define SLICE_CNT 0x04
#define CS_CNT (0x02) #define CS_CNT 0x02
/* order : CS0A, CS0B, CS1A, CS1B */ /* order : CS0A, CS0B, CS1A, CS1B */
#define CSAB_CNT (CS_CNT * 2) #define CSAB_CNT (CS_CNT * 2)
...@@ -16,7 +17,7 @@ ...@@ -16,7 +17,7 @@
#define CHAB_CNT (DRAM_CH_CNT * 2) #define CHAB_CNT (DRAM_CH_CNT * 2)
/* pll setting */ /* pll setting */
#define CLK_DIV(a, diva, b, divb) (((a) * (divb)) /((b) * (diva))) #define CLK_DIV(a, diva, b, divb) (((a) * (divb)) / ((b) * (diva)))
#define CLK_MUL(a, diva, b, divb) (((a) * (b)) / ((diva) * (divb))) #define CLK_MUL(a, diva, b, divb) (((a) * (b)) / ((diva) * (divb)))
/* for ddr deisity setting */ /* for ddr deisity setting */
...@@ -24,7 +25,8 @@ ...@@ -24,7 +25,8 @@
((d3) << 30 | ((row) << 24) | ((bank) << 16) | ((col) << 8) | (dw)) ((d3) << 30 | ((row) << 24) | ((bank) << 16) | ((col) << 8) | (dw))
#define DBMEMCONF_REGD(density) \ #define DBMEMCONF_REGD(density) \
(DBMEMCONF_REG((density) % 2, ((density) + 1) / 2 + (29-3-10-2), 3, 10, 2)) (DBMEMCONF_REG((density) % 2, ((density) + 1) / \
2 + (29 - 3 - 10 - 2), 3, 10, 2))
#define DBMEMCONF_VAL(ch, cs) (DBMEMCONF_REGD(DBMEMCONF_DENS(ch, cs))) #define DBMEMCONF_VAL(ch, cs) (DBMEMCONF_REGD(DBMEMCONF_DENS(ch, cs)))
...@@ -44,10 +46,10 @@ ...@@ -44,10 +46,10 @@
#define CPG_CPGWPR (CPG_BASE + 0x0900U) #define CPG_CPGWPR (CPG_BASE + 0x0900U)
#define CPG_SRSTCLR4 (CPG_BASE + 0x0950U) #define CPG_SRSTCLR4 (CPG_BASE + 0x0950U)
#define CPG_FRQCRB_KICK_BIT (1U<<31) #define CPG_FRQCRB_KICK_BIT BIT(31)
#define CPG_PLLECR_PLL3E_BIT (1U<<3) #define CPG_PLLECR_PLL3E_BIT BIT(3)
#define CPG_PLLECR_PLL3ST_BIT (1U<<11) #define CPG_PLLECR_PLL3ST_BIT BIT(11)
#define CPG_ZB3CKCR_ZB3ST_BIT (1U<<11) #define CPG_ZB3CKCR_ZB3ST_BIT BIT(11)
#define RST_BASE (0xE6160000U) #define RST_BASE (0xE6160000U)
#define RST_MODEMR (RST_BASE + 0x0060U) #define RST_MODEMR (RST_BASE + 0x0060U)
......
/* /*
* Copyright (c) 2018-2019, Renesas Electronics Corporation. All rights reserved. * Copyright (c) 2018-2019, Renesas Electronics Corporation.
* All rights reserved.
* *
* SPDX-License-Identifier: BSD-3-Clause * SPDX-License-Identifier: BSD-3-Clause
*/ */
......
/* /*
* Copyright (c) 2015-2019, Renesas Electronics Corporation. All rights reserved. * Copyright (c) 2015-2019, Renesas Electronics Corporation.
* All rights reserved.
* *
* SPDX-License-Identifier: BSD-3-Clause * SPDX-License-Identifier: BSD-3-Clause
*/ */
...@@ -23,418 +24,418 @@ ...@@ -23,418 +24,418 @@
#define DDR_PI_REGSET_NUM_H3 181 #define DDR_PI_REGSET_NUM_H3 181
static const uint32_t DDR_PHY_SLICE_REGSET_H3[DDR_PHY_SLICE_REGSET_NUM_H3] = { static const uint32_t DDR_PHY_SLICE_REGSET_H3[DDR_PHY_SLICE_REGSET_NUM_H3] = {
/*0400*/ 0x000004f0, /*0400*/ 0x000004f0,
/*0401*/ 0x00000000, /*0401*/ 0x00000000,
/*0402*/ 0x00000000, /*0402*/ 0x00000000,
/*0403*/ 0x00000100, /*0403*/ 0x00000100,
/*0404*/ 0x01003c0c, /*0404*/ 0x01003c0c,
/*0405*/ 0x02003c0c, /*0405*/ 0x02003c0c,
/*0406*/ 0x00010300, /*0406*/ 0x00010300,
/*0407*/ 0x04000100, /*0407*/ 0x04000100,
/*0408*/ 0x00000300, /*0408*/ 0x00000300,
/*0409*/ 0x000700c0, /*0409*/ 0x000700c0,
/*040a*/ 0x00b00201, /*040a*/ 0x00b00201,
/*040b*/ 0x00000020, /*040b*/ 0x00000020,
/*040c*/ 0x00000000, /*040c*/ 0x00000000,
/*040d*/ 0x00000000, /*040d*/ 0x00000000,
/*040e*/ 0x00000000, /*040e*/ 0x00000000,
/*040f*/ 0x00000000, /*040f*/ 0x00000000,
/*0410*/ 0x00000000, /*0410*/ 0x00000000,
/*0411*/ 0x00000000, /*0411*/ 0x00000000,
/*0412*/ 0x00000000, /*0412*/ 0x00000000,
/*0413*/ 0x09000000, /*0413*/ 0x09000000,
/*0414*/ 0x04080000, /*0414*/ 0x04080000,
/*0415*/ 0x04080400, /*0415*/ 0x04080400,
/*0416*/ 0x00000000, /*0416*/ 0x00000000,
/*0417*/ 0x32103210, /*0417*/ 0x32103210,
/*0418*/ 0x00800708, /*0418*/ 0x00800708,
/*0419*/ 0x000f000c, /*0419*/ 0x000f000c,
/*041a*/ 0x00000100, /*041a*/ 0x00000100,
/*041b*/ 0x55aa55aa, /*041b*/ 0x55aa55aa,
/*041c*/ 0x33cc33cc, /*041c*/ 0x33cc33cc,
/*041d*/ 0x0ff00ff0, /*041d*/ 0x0ff00ff0,
/*041e*/ 0x0f0ff0f0, /*041e*/ 0x0f0ff0f0,
/*041f*/ 0x00008e38, /*041f*/ 0x00008e38,
/*0420*/ 0x76543210, /*0420*/ 0x76543210,
/*0421*/ 0x00000001, /*0421*/ 0x00000001,
/*0422*/ 0x00000000, /*0422*/ 0x00000000,
/*0423*/ 0x00000000, /*0423*/ 0x00000000,
/*0424*/ 0x00000000, /*0424*/ 0x00000000,
/*0425*/ 0x00000000, /*0425*/ 0x00000000,
/*0426*/ 0x00000000, /*0426*/ 0x00000000,
/*0427*/ 0x00000000, /*0427*/ 0x00000000,
/*0428*/ 0x00000000, /*0428*/ 0x00000000,
/*0429*/ 0x00000000, /*0429*/ 0x00000000,
/*042a*/ 0x00000000, /*042a*/ 0x00000000,
/*042b*/ 0x00000000, /*042b*/ 0x00000000,
/*042c*/ 0x00000000, /*042c*/ 0x00000000,
/*042d*/ 0x00000000, /*042d*/ 0x00000000,
/*042e*/ 0x00000000, /*042e*/ 0x00000000,
/*042f*/ 0x00000000, /*042f*/ 0x00000000,
/*0430*/ 0x00000000, /*0430*/ 0x00000000,
/*0431*/ 0x00000000, /*0431*/ 0x00000000,
/*0432*/ 0x00000000, /*0432*/ 0x00000000,
/*0433*/ 0x00200000, /*0433*/ 0x00200000,
/*0434*/ 0x08200820, /*0434*/ 0x08200820,
/*0435*/ 0x08200820, /*0435*/ 0x08200820,
/*0436*/ 0x08200820, /*0436*/ 0x08200820,
/*0437*/ 0x08200820, /*0437*/ 0x08200820,
/*0438*/ 0x08200820, /*0438*/ 0x08200820,
/*0439*/ 0x00000820, /*0439*/ 0x00000820,
/*043a*/ 0x03000300, /*043a*/ 0x03000300,
/*043b*/ 0x03000300, /*043b*/ 0x03000300,
/*043c*/ 0x03000300, /*043c*/ 0x03000300,
/*043d*/ 0x03000300, /*043d*/ 0x03000300,
/*043e*/ 0x00000300, /*043e*/ 0x00000300,
/*043f*/ 0x00000000, /*043f*/ 0x00000000,
/*0440*/ 0x00000000, /*0440*/ 0x00000000,
/*0441*/ 0x00000000, /*0441*/ 0x00000000,
/*0442*/ 0x00000000, /*0442*/ 0x00000000,
/*0443*/ 0x00a000a0, /*0443*/ 0x00a000a0,
/*0444*/ 0x00a000a0, /*0444*/ 0x00a000a0,
/*0445*/ 0x00a000a0, /*0445*/ 0x00a000a0,
/*0446*/ 0x00a000a0, /*0446*/ 0x00a000a0,
/*0447*/ 0x00a000a0, /*0447*/ 0x00a000a0,
/*0448*/ 0x00a000a0, /*0448*/ 0x00a000a0,
/*0449*/ 0x00a000a0, /*0449*/ 0x00a000a0,
/*044a*/ 0x00a000a0, /*044a*/ 0x00a000a0,
/*044b*/ 0x00a000a0, /*044b*/ 0x00a000a0,
/*044c*/ 0x01040109, /*044c*/ 0x01040109,
/*044d*/ 0x00000200, /*044d*/ 0x00000200,
/*044e*/ 0x01000000, /*044e*/ 0x01000000,
/*044f*/ 0x00000200, /*044f*/ 0x00000200,
/*0450*/ 0x4041a141, /*0450*/ 0x4041a141,
/*0451*/ 0xc00141a0, /*0451*/ 0xc00141a0,
/*0452*/ 0x0e0100c0, /*0452*/ 0x0e0100c0,
/*0453*/ 0x0010000c, /*0453*/ 0x0010000c,
/*0454*/ 0x0c064208, /*0454*/ 0x0c064208,
/*0455*/ 0x000f0c18, /*0455*/ 0x000f0c18,
/*0456*/ 0x00e00140, /*0456*/ 0x00e00140,
/*0457*/ 0x00000c20 /*0457*/ 0x00000c20
}; };
static const uint32_t DDR_PHY_ADR_V_REGSET_H3[DDR_PHY_ADR_V_REGSET_NUM_H3] = { static const uint32_t DDR_PHY_ADR_V_REGSET_H3[DDR_PHY_ADR_V_REGSET_NUM_H3] = {
/*0600*/ 0x00000000, /*0600*/ 0x00000000,
/*0601*/ 0x00000000, /*0601*/ 0x00000000,
/*0602*/ 0x00000000, /*0602*/ 0x00000000,
/*0603*/ 0x00000000, /*0603*/ 0x00000000,
/*0604*/ 0x00000000, /*0604*/ 0x00000000,
/*0605*/ 0x00000000, /*0605*/ 0x00000000,
/*0606*/ 0x00000002, /*0606*/ 0x00000002,
/*0607*/ 0x00000000, /*0607*/ 0x00000000,
/*0608*/ 0x00000000, /*0608*/ 0x00000000,
/*0609*/ 0x00000000, /*0609*/ 0x00000000,
/*060a*/ 0x00400320, /*060a*/ 0x00400320,
/*060b*/ 0x00000040, /*060b*/ 0x00000040,
/*060c*/ 0x00dcba98, /*060c*/ 0x00dcba98,
/*060d*/ 0x00000000, /*060d*/ 0x00000000,
/*060e*/ 0x00dcba98, /*060e*/ 0x00dcba98,
/*060f*/ 0x01000000, /*060f*/ 0x01000000,
/*0610*/ 0x00020003, /*0610*/ 0x00020003,
/*0611*/ 0x00000000, /*0611*/ 0x00000000,
/*0612*/ 0x00000000, /*0612*/ 0x00000000,
/*0613*/ 0x00000000, /*0613*/ 0x00000000,
/*0614*/ 0x00002a01, /*0614*/ 0x00002a01,
/*0615*/ 0x00000015, /*0615*/ 0x00000015,
/*0616*/ 0x00000015, /*0616*/ 0x00000015,
/*0617*/ 0x0000002a, /*0617*/ 0x0000002a,
/*0618*/ 0x00000033, /*0618*/ 0x00000033,
/*0619*/ 0x0000000c, /*0619*/ 0x0000000c,
/*061a*/ 0x0000000c, /*061a*/ 0x0000000c,
/*061b*/ 0x00000033, /*061b*/ 0x00000033,
/*061c*/ 0x00418820, /*061c*/ 0x00418820,
/*061d*/ 0x003f0000, /*061d*/ 0x003f0000,
/*061e*/ 0x0000003f, /*061e*/ 0x0000003f,
/*061f*/ 0x0002006e, /*061f*/ 0x0002006e,
/*0620*/ 0x02000200, /*0620*/ 0x02000200,
/*0621*/ 0x02000200, /*0621*/ 0x02000200,
/*0622*/ 0x00000200, /*0622*/ 0x00000200,
/*0623*/ 0x42080010, /*0623*/ 0x42080010,
/*0624*/ 0x00000003 /*0624*/ 0x00000003
}; };
static const uint32_t DDR_PHY_ADR_I_REGSET_H3[DDR_PHY_ADR_I_REGSET_NUM_H3] = { static const uint32_t DDR_PHY_ADR_I_REGSET_H3[DDR_PHY_ADR_I_REGSET_NUM_H3] = {
/*0680*/ 0x04040404, /*0680*/ 0x04040404,
/*0681*/ 0x00000404, /*0681*/ 0x00000404,
/*0682*/ 0x00000000, /*0682*/ 0x00000000,
/*0683*/ 0x00000000, /*0683*/ 0x00000000,
/*0684*/ 0x00000000, /*0684*/ 0x00000000,
/*0685*/ 0x00000000, /*0685*/ 0x00000000,
/*0686*/ 0x00000002, /*0686*/ 0x00000002,
/*0687*/ 0x00000000, /*0687*/ 0x00000000,
/*0688*/ 0x00000000, /*0688*/ 0x00000000,
/*0689*/ 0x00000000, /*0689*/ 0x00000000,
/*068a*/ 0x00400320, /*068a*/ 0x00400320,
/*068b*/ 0x00000040, /*068b*/ 0x00000040,
/*068c*/ 0x00000000, /*068c*/ 0x00000000,
/*068d*/ 0x00000000, /*068d*/ 0x00000000,
/*068e*/ 0x00000000, /*068e*/ 0x00000000,
/*068f*/ 0x01000000, /*068f*/ 0x01000000,
/*0690*/ 0x00020003, /*0690*/ 0x00020003,
/*0691*/ 0x00000000, /*0691*/ 0x00000000,
/*0692*/ 0x00000000, /*0692*/ 0x00000000,
/*0693*/ 0x00000000, /*0693*/ 0x00000000,
/*0694*/ 0x00002a01, /*0694*/ 0x00002a01,
/*0695*/ 0x00000015, /*0695*/ 0x00000015,
/*0696*/ 0x00000015, /*0696*/ 0x00000015,
/*0697*/ 0x0000002a, /*0697*/ 0x0000002a,
/*0698*/ 0x00000033, /*0698*/ 0x00000033,
/*0699*/ 0x0000000c, /*0699*/ 0x0000000c,
/*069a*/ 0x0000000c, /*069a*/ 0x0000000c,
/*069b*/ 0x00000033, /*069b*/ 0x00000033,
/*069c*/ 0x00000000, /*069c*/ 0x00000000,
/*069d*/ 0x00000000, /*069d*/ 0x00000000,
/*069e*/ 0x00000000, /*069e*/ 0x00000000,
/*069f*/ 0x0002006e, /*069f*/ 0x0002006e,
/*06a0*/ 0x02000200, /*06a0*/ 0x02000200,
/*06a1*/ 0x02000200, /*06a1*/ 0x02000200,
/*06a2*/ 0x00000200, /*06a2*/ 0x00000200,
/*06a3*/ 0x42080010, /*06a3*/ 0x42080010,
/*06a4*/ 0x00000003 /*06a4*/ 0x00000003
}; };
static const uint32_t DDR_PHY_ADR_G_REGSET_H3[DDR_PHY_ADR_G_REGSET_NUM_H3] = { static const uint32_t DDR_PHY_ADR_G_REGSET_H3[DDR_PHY_ADR_G_REGSET_NUM_H3] = {
/*0700*/ 0x00000001, /*0700*/ 0x00000001,
/*0701*/ 0x00000000, /*0701*/ 0x00000000,
/*0702*/ 0x00000005, /*0702*/ 0x00000005,
/*0703*/ 0x04000f00, /*0703*/ 0x04000f00,
/*0704*/ 0x00020080, /*0704*/ 0x00020080,
/*0705*/ 0x00020055, /*0705*/ 0x00020055,
/*0706*/ 0x00000000, /*0706*/ 0x00000000,
/*0707*/ 0x00000000, /*0707*/ 0x00000000,
/*0708*/ 0x00000000, /*0708*/ 0x00000000,
/*0709*/ 0x00000050, /*0709*/ 0x00000050,
/*070a*/ 0x00000000, /*070a*/ 0x00000000,
/*070b*/ 0x01010100, /*070b*/ 0x01010100,
/*070c*/ 0x00000200, /*070c*/ 0x00000200,
/*070d*/ 0x00001102, /*070d*/ 0x00001102,
/*070e*/ 0x00000000, /*070e*/ 0x00000000,
/*070f*/ 0x000f1f00, /*070f*/ 0x000f1f00,
/*0710*/ 0x0f1f0f1f, /*0710*/ 0x0f1f0f1f,
/*0711*/ 0x0f1f0f1f, /*0711*/ 0x0f1f0f1f,
/*0712*/ 0x00020003, /*0712*/ 0x00020003,
/*0713*/ 0x02000200, /*0713*/ 0x02000200,
/*0714*/ 0x00000200, /*0714*/ 0x00000200,
/*0715*/ 0x00001102, /*0715*/ 0x00001102,
/*0716*/ 0x00000064, /*0716*/ 0x00000064,
/*0717*/ 0x00000000, /*0717*/ 0x00000000,
/*0718*/ 0x00000000, /*0718*/ 0x00000000,
/*0719*/ 0x00000502, /*0719*/ 0x00000502,
/*071a*/ 0x027f6e00, /*071a*/ 0x027f6e00,
/*071b*/ 0x007f007f, /*071b*/ 0x007f007f,
/*071c*/ 0x00007f3c, /*071c*/ 0x00007f3c,
/*071d*/ 0x00047f6e, /*071d*/ 0x00047f6e,
/*071e*/ 0x0003154f, /*071e*/ 0x0003154f,
/*071f*/ 0x0001154f, /*071f*/ 0x0001154f,
/*0720*/ 0x0001154f, /*0720*/ 0x0001154f,
/*0721*/ 0x0001154f, /*0721*/ 0x0001154f,
/*0722*/ 0x0001154f, /*0722*/ 0x0001154f,
/*0723*/ 0x00003fee, /*0723*/ 0x00003fee,
/*0724*/ 0x0001154f, /*0724*/ 0x0001154f,
/*0725*/ 0x00003fee, /*0725*/ 0x00003fee,
/*0726*/ 0x0001154f, /*0726*/ 0x0001154f,
/*0727*/ 0x00007f3c, /*0727*/ 0x00007f3c,
/*0728*/ 0x0001154f, /*0728*/ 0x0001154f,
/*0729*/ 0x00000000, /*0729*/ 0x00000000,
/*072a*/ 0x00000000, /*072a*/ 0x00000000,
/*072b*/ 0x00000000, /*072b*/ 0x00000000,
/*072c*/ 0x65000000, /*072c*/ 0x65000000,
/*072d*/ 0x00000000, /*072d*/ 0x00000000,
/*072e*/ 0x00000000, /*072e*/ 0x00000000,
/*072f*/ 0x00000201, /*072f*/ 0x00000201,
/*0730*/ 0x00000000, /*0730*/ 0x00000000,
/*0731*/ 0x00000000, /*0731*/ 0x00000000,
/*0732*/ 0x00000000, /*0732*/ 0x00000000,
/*0733*/ 0x00000000, /*0733*/ 0x00000000,
/*0734*/ 0x00000000, /*0734*/ 0x00000000,
/*0735*/ 0x00000000, /*0735*/ 0x00000000,
/*0736*/ 0x00000000, /*0736*/ 0x00000000,
/*0737*/ 0x00000000, /*0737*/ 0x00000000,
/*0738*/ 0x00000000, /*0738*/ 0x00000000,
/*0739*/ 0x00000000, /*0739*/ 0x00000000,
/*073a*/ 0x00000000 /*073a*/ 0x00000000
}; };
static const uint32_t DDR_PI_REGSET_H3[DDR_PI_REGSET_NUM_H3] = { static const uint32_t DDR_PI_REGSET_H3[DDR_PI_REGSET_NUM_H3] = {
/*0200*/ 0x00000b00, /*0200*/ 0x00000b00,
/*0201*/ 0x00000100, /*0201*/ 0x00000100,
/*0202*/ 0x00000000, /*0202*/ 0x00000000,
/*0203*/ 0x0000ffff, /*0203*/ 0x0000ffff,
/*0204*/ 0x00000000, /*0204*/ 0x00000000,
/*0205*/ 0x0000ffff, /*0205*/ 0x0000ffff,
/*0206*/ 0x00000000, /*0206*/ 0x00000000,
/*0207*/ 0x304cffff, /*0207*/ 0x304cffff,
/*0208*/ 0x00000200, /*0208*/ 0x00000200,
/*0209*/ 0x00000200, /*0209*/ 0x00000200,
/*020a*/ 0x00000200, /*020a*/ 0x00000200,
/*020b*/ 0x00000200, /*020b*/ 0x00000200,
/*020c*/ 0x0000304c, /*020c*/ 0x0000304c,
/*020d*/ 0x00000200, /*020d*/ 0x00000200,
/*020e*/ 0x00000200, /*020e*/ 0x00000200,
/*020f*/ 0x00000200, /*020f*/ 0x00000200,
/*0210*/ 0x00000200, /*0210*/ 0x00000200,
/*0211*/ 0x0000304c, /*0211*/ 0x0000304c,
/*0212*/ 0x00000200, /*0212*/ 0x00000200,
/*0213*/ 0x00000200, /*0213*/ 0x00000200,
/*0214*/ 0x00000200, /*0214*/ 0x00000200,
/*0215*/ 0x00000200, /*0215*/ 0x00000200,
/*0216*/ 0x00010000, /*0216*/ 0x00010000,
/*0217*/ 0x00000003, /*0217*/ 0x00000003,
/*0218*/ 0x01000001, /*0218*/ 0x01000001,
/*0219*/ 0x00000000, /*0219*/ 0x00000000,
/*021a*/ 0x00000000, /*021a*/ 0x00000000,
/*021b*/ 0x00000000, /*021b*/ 0x00000000,
/*021c*/ 0x00000000, /*021c*/ 0x00000000,
/*021d*/ 0x00000000, /*021d*/ 0x00000000,
/*021e*/ 0x00000000, /*021e*/ 0x00000000,
/*021f*/ 0x00000000, /*021f*/ 0x00000000,
/*0220*/ 0x00000000, /*0220*/ 0x00000000,
/*0221*/ 0x00000000, /*0221*/ 0x00000000,
/*0222*/ 0x00000000, /*0222*/ 0x00000000,
/*0223*/ 0x00000000, /*0223*/ 0x00000000,
/*0224*/ 0x00000000, /*0224*/ 0x00000000,
/*0225*/ 0x00000000, /*0225*/ 0x00000000,
/*0226*/ 0x00000000, /*0226*/ 0x00000000,
/*0227*/ 0x00000000, /*0227*/ 0x00000000,
/*0228*/ 0x00000000, /*0228*/ 0x00000000,
/*0229*/ 0x0f000101, /*0229*/ 0x0f000101,
/*022a*/ 0x08492d25, /*022a*/ 0x08492d25,
/*022b*/ 0x500e0c04, /*022b*/ 0x500e0c04,
/*022c*/ 0x0002500e, /*022c*/ 0x0002500e,
/*022d*/ 0x00460003, /*022d*/ 0x00460003,
/*022e*/ 0x182600cf, /*022e*/ 0x182600cf,
/*022f*/ 0x182600cf, /*022f*/ 0x182600cf,
/*0230*/ 0x00000005, /*0230*/ 0x00000005,
/*0231*/ 0x00000000, /*0231*/ 0x00000000,
/*0232*/ 0x00000000, /*0232*/ 0x00000000,
/*0233*/ 0x00000000, /*0233*/ 0x00000000,
/*0234*/ 0x00000000, /*0234*/ 0x00000000,
/*0235*/ 0x00000000, /*0235*/ 0x00000000,
/*0236*/ 0x00000000, /*0236*/ 0x00000000,
/*0237*/ 0x00000000, /*0237*/ 0x00000000,
/*0238*/ 0x01000000, /*0238*/ 0x01000000,
/*0239*/ 0x00040404, /*0239*/ 0x00040404,
/*023a*/ 0x01280a00, /*023a*/ 0x01280a00,
/*023b*/ 0x00000000, /*023b*/ 0x00000000,
/*023c*/ 0x000f0000, /*023c*/ 0x000f0000,
/*023d*/ 0x00001803, /*023d*/ 0x00001803,
/*023e*/ 0x00000000, /*023e*/ 0x00000000,
/*023f*/ 0x00000000, /*023f*/ 0x00000000,
/*0240*/ 0x00060002, /*0240*/ 0x00060002,
/*0241*/ 0x00010001, /*0241*/ 0x00010001,
/*0242*/ 0x01000101, /*0242*/ 0x01000101,
/*0243*/ 0x04020201, /*0243*/ 0x04020201,
/*0244*/ 0x00080804, /*0244*/ 0x00080804,
/*0245*/ 0x00000000, /*0245*/ 0x00000000,
/*0246*/ 0x08030000, /*0246*/ 0x08030000,
/*0247*/ 0x15150408, /*0247*/ 0x15150408,
/*0248*/ 0x00000000, /*0248*/ 0x00000000,
/*0249*/ 0x00000000, /*0249*/ 0x00000000,
/*024a*/ 0x00000000, /*024a*/ 0x00000000,
/*024b*/ 0x001e0f0f, /*024b*/ 0x001e0f0f,
/*024c*/ 0x00000000, /*024c*/ 0x00000000,
/*024d*/ 0x01000300, /*024d*/ 0x01000300,
/*024e*/ 0x00000000, /*024e*/ 0x00000000,
/*024f*/ 0x00000000, /*024f*/ 0x00000000,
/*0250*/ 0x01000000, /*0250*/ 0x01000000,
/*0251*/ 0x00010101, /*0251*/ 0x00010101,
/*0252*/ 0x000e0e0e, /*0252*/ 0x000e0e0e,
/*0253*/ 0x000c0c0c, /*0253*/ 0x000c0c0c,
/*0254*/ 0x02060601, /*0254*/ 0x02060601,
/*0255*/ 0x00000000, /*0255*/ 0x00000000,
/*0256*/ 0x00000003, /*0256*/ 0x00000003,
/*0257*/ 0x00181703, /*0257*/ 0x00181703,
/*0258*/ 0x00280006, /*0258*/ 0x00280006,
/*0259*/ 0x00280016, /*0259*/ 0x00280016,
/*025a*/ 0x00000016, /*025a*/ 0x00000016,
/*025b*/ 0x00000000, /*025b*/ 0x00000000,
/*025c*/ 0x00000000, /*025c*/ 0x00000000,
/*025d*/ 0x00000000, /*025d*/ 0x00000000,
/*025e*/ 0x140a0000, /*025e*/ 0x140a0000,
/*025f*/ 0x0005010a, /*025f*/ 0x0005010a,
/*0260*/ 0x03018d03, /*0260*/ 0x03018d03,
/*0261*/ 0x000a018d, /*0261*/ 0x000a018d,
/*0262*/ 0x00060100, /*0262*/ 0x00060100,
/*0263*/ 0x01000006, /*0263*/ 0x01000006,
/*0264*/ 0x018e018e, /*0264*/ 0x018e018e,
/*0265*/ 0x018e0100, /*0265*/ 0x018e0100,
/*0266*/ 0x1111018e, /*0266*/ 0x1111018e,
/*0267*/ 0x10010204, /*0267*/ 0x10010204,
/*0268*/ 0x09090650, /*0268*/ 0x09090650,
/*0269*/ 0x20110202, /*0269*/ 0x20110202,
/*026a*/ 0x00201000, /*026a*/ 0x00201000,
/*026b*/ 0x00201000, /*026b*/ 0x00201000,
/*026c*/ 0x04041000, /*026c*/ 0x04041000,
/*026d*/ 0x18020100, /*026d*/ 0x18020100,
/*026e*/ 0x00010118, /*026e*/ 0x00010118,
/*026f*/ 0x004b004a, /*026f*/ 0x004b004a,
/*0270*/ 0x050f0000, /*0270*/ 0x050f0000,
/*0271*/ 0x0c01021e, /*0271*/ 0x0c01021e,
/*0272*/ 0x34000000, /*0272*/ 0x34000000,
/*0273*/ 0x00000000, /*0273*/ 0x00000000,
/*0274*/ 0x00000000, /*0274*/ 0x00000000,
/*0275*/ 0x00000000, /*0275*/ 0x00000000,
/*0276*/ 0x312ed400, /*0276*/ 0x312ed400,
/*0277*/ 0xd4111132, /*0277*/ 0xd4111132,
/*0278*/ 0x1132312e, /*0278*/ 0x1132312e,
/*0279*/ 0x312ed411, /*0279*/ 0x312ed411,
/*027a*/ 0x00111132, /*027a*/ 0x00111132,
/*027b*/ 0x32312ed4, /*027b*/ 0x32312ed4,
/*027c*/ 0x2ed41111, /*027c*/ 0x2ed41111,
/*027d*/ 0x11113231, /*027d*/ 0x11113231,
/*027e*/ 0x32312ed4, /*027e*/ 0x32312ed4,
/*027f*/ 0xd4001111, /*027f*/ 0xd4001111,
/*0280*/ 0x1132312e, /*0280*/ 0x1132312e,
/*0281*/ 0x312ed411, /*0281*/ 0x312ed411,
/*0282*/ 0xd4111132, /*0282*/ 0xd4111132,
/*0283*/ 0x1132312e, /*0283*/ 0x1132312e,
/*0284*/ 0x2ed40011, /*0284*/ 0x2ed40011,
/*0285*/ 0x11113231, /*0285*/ 0x11113231,
/*0286*/ 0x32312ed4, /*0286*/ 0x32312ed4,
/*0287*/ 0x2ed41111, /*0287*/ 0x2ed41111,
/*0288*/ 0x11113231, /*0288*/ 0x11113231,
/*0289*/ 0x00020000, /*0289*/ 0x00020000,
/*028a*/ 0x018d018d, /*028a*/ 0x018d018d,
/*028b*/ 0x0c08018d, /*028b*/ 0x0c08018d,
/*028c*/ 0x1f121d22, /*028c*/ 0x1f121d22,
/*028d*/ 0x4301b344, /*028d*/ 0x4301b344,
/*028e*/ 0x10172006, /*028e*/ 0x10172006,
/*028f*/ 0x121d220c, /*028f*/ 0x121d220c,
/*0290*/ 0x01b3441f, /*0290*/ 0x01b3441f,
/*0291*/ 0x17200643, /*0291*/ 0x17200643,
/*0292*/ 0x1d220c10, /*0292*/ 0x1d220c10,
/*0293*/ 0x00001f12, /*0293*/ 0x00001f12,
/*0294*/ 0x4301b344, /*0294*/ 0x4301b344,
/*0295*/ 0x10172006, /*0295*/ 0x10172006,
/*0296*/ 0x00020002, /*0296*/ 0x00020002,
/*0297*/ 0x00020002, /*0297*/ 0x00020002,
/*0298*/ 0x00020002, /*0298*/ 0x00020002,
/*0299*/ 0x00020002, /*0299*/ 0x00020002,
/*029a*/ 0x00020002, /*029a*/ 0x00020002,
/*029b*/ 0x00000000, /*029b*/ 0x00000000,
/*029c*/ 0x00000000, /*029c*/ 0x00000000,
/*029d*/ 0x00000000, /*029d*/ 0x00000000,
/*029e*/ 0x00000000, /*029e*/ 0x00000000,
/*029f*/ 0x00000000, /*029f*/ 0x00000000,
/*02a0*/ 0x00000000, /*02a0*/ 0x00000000,
/*02a1*/ 0x00000000, /*02a1*/ 0x00000000,
/*02a2*/ 0x00000000, /*02a2*/ 0x00000000,
/*02a3*/ 0x00000000, /*02a3*/ 0x00000000,
/*02a4*/ 0x00000000, /*02a4*/ 0x00000000,
/*02a5*/ 0x00000000, /*02a5*/ 0x00000000,
/*02a6*/ 0x00000000, /*02a6*/ 0x00000000,
/*02a7*/ 0x01000400, /*02a7*/ 0x01000400,
/*02a8*/ 0x00304c00, /*02a8*/ 0x00304c00,
/*02a9*/ 0x0001e2f8, /*02a9*/ 0x0001e2f8,
/*02aa*/ 0x0000304c, /*02aa*/ 0x0000304c,
/*02ab*/ 0x0001e2f8, /*02ab*/ 0x0001e2f8,
/*02ac*/ 0x0000304c, /*02ac*/ 0x0000304c,
/*02ad*/ 0x0001e2f8, /*02ad*/ 0x0001e2f8,
/*02ae*/ 0x08000000, /*02ae*/ 0x08000000,
/*02af*/ 0x00000100, /*02af*/ 0x00000100,
/*02b0*/ 0x00000000, /*02b0*/ 0x00000000,
/*02b1*/ 0x00000000, /*02b1*/ 0x00000000,
/*02b2*/ 0x00000000, /*02b2*/ 0x00000000,
/*02b3*/ 0x00000000, /*02b3*/ 0x00000000,
/*02b4*/ 0x00000002 /*02b4*/ 0x00000002
}; };
/* /*
* Copyright (c) 2015-2019, Renesas Electronics Corporation. All rights reserved. * Copyright (c) 2015-2019, Renesas Electronics Corporation.
* All rights reserved.
* *
* SPDX-License-Identifier: BSD-3-Clause * SPDX-License-Identifier: BSD-3-Clause
*/ */
...@@ -23,445 +24,445 @@ ...@@ -23,445 +24,445 @@
#define DDR_PI_REGSET_NUM_M3 202 #define DDR_PI_REGSET_NUM_M3 202
static const uint32_t DDR_PHY_SLICE_REGSET_M3[DDR_PHY_SLICE_REGSET_NUM_M3] = { static const uint32_t DDR_PHY_SLICE_REGSET_M3[DDR_PHY_SLICE_REGSET_NUM_M3] = {
/*0800*/ 0x76543210, /*0800*/ 0x76543210,
/*0801*/ 0x0004f008, /*0801*/ 0x0004f008,
/*0802*/ 0x00000000, /*0802*/ 0x00000000,
/*0803*/ 0x00000000, /*0803*/ 0x00000000,
/*0804*/ 0x00010000, /*0804*/ 0x00010000,
/*0805*/ 0x036e6e0e, /*0805*/ 0x036e6e0e,
/*0806*/ 0x026e6e0e, /*0806*/ 0x026e6e0e,
/*0807*/ 0x00010300, /*0807*/ 0x00010300,
/*0808*/ 0x04000100, /*0808*/ 0x04000100,
/*0809*/ 0x00000300, /*0809*/ 0x00000300,
/*080a*/ 0x001700c0, /*080a*/ 0x001700c0,
/*080b*/ 0x00b00201, /*080b*/ 0x00b00201,
/*080c*/ 0x00030020, /*080c*/ 0x00030020,
/*080d*/ 0x00000000, /*080d*/ 0x00000000,
/*080e*/ 0x00000000, /*080e*/ 0x00000000,
/*080f*/ 0x00000000, /*080f*/ 0x00000000,
/*0810*/ 0x00000000, /*0810*/ 0x00000000,
/*0811*/ 0x00000000, /*0811*/ 0x00000000,
/*0812*/ 0x00000000, /*0812*/ 0x00000000,
/*0813*/ 0x00000000, /*0813*/ 0x00000000,
/*0814*/ 0x09000000, /*0814*/ 0x09000000,
/*0815*/ 0x04080000, /*0815*/ 0x04080000,
/*0816*/ 0x04080400, /*0816*/ 0x04080400,
/*0817*/ 0x00000000, /*0817*/ 0x00000000,
/*0818*/ 0x32103210, /*0818*/ 0x32103210,
/*0819*/ 0x00800708, /*0819*/ 0x00800708,
/*081a*/ 0x000f000c, /*081a*/ 0x000f000c,
/*081b*/ 0x00000100, /*081b*/ 0x00000100,
/*081c*/ 0x55aa55aa, /*081c*/ 0x55aa55aa,
/*081d*/ 0x33cc33cc, /*081d*/ 0x33cc33cc,
/*081e*/ 0x0ff00ff0, /*081e*/ 0x0ff00ff0,
/*081f*/ 0x0f0ff0f0, /*081f*/ 0x0f0ff0f0,
/*0820*/ 0x00018e38, /*0820*/ 0x00018e38,
/*0821*/ 0x00000000, /*0821*/ 0x00000000,
/*0822*/ 0x00000000, /*0822*/ 0x00000000,
/*0823*/ 0x00000000, /*0823*/ 0x00000000,
/*0824*/ 0x00000000, /*0824*/ 0x00000000,
/*0825*/ 0x00000000, /*0825*/ 0x00000000,
/*0826*/ 0x00000000, /*0826*/ 0x00000000,
/*0827*/ 0x00000000, /*0827*/ 0x00000000,
/*0828*/ 0x00000000, /*0828*/ 0x00000000,
/*0829*/ 0x00000000, /*0829*/ 0x00000000,
/*082a*/ 0x00000000, /*082a*/ 0x00000000,
/*082b*/ 0x00000000, /*082b*/ 0x00000000,
/*082c*/ 0x00000000, /*082c*/ 0x00000000,
/*082d*/ 0x00000000, /*082d*/ 0x00000000,
/*082e*/ 0x00000000, /*082e*/ 0x00000000,
/*082f*/ 0x00000000, /*082f*/ 0x00000000,
/*0830*/ 0x00000000, /*0830*/ 0x00000000,
/*0831*/ 0x00000000, /*0831*/ 0x00000000,
/*0832*/ 0x00000000, /*0832*/ 0x00000000,
/*0833*/ 0x00200000, /*0833*/ 0x00200000,
/*0834*/ 0x08200820, /*0834*/ 0x08200820,
/*0835*/ 0x08200820, /*0835*/ 0x08200820,
/*0836*/ 0x08200820, /*0836*/ 0x08200820,
/*0837*/ 0x08200820, /*0837*/ 0x08200820,
/*0838*/ 0x08200820, /*0838*/ 0x08200820,
/*0839*/ 0x00000820, /*0839*/ 0x00000820,
/*083a*/ 0x03000300, /*083a*/ 0x03000300,
/*083b*/ 0x03000300, /*083b*/ 0x03000300,
/*083c*/ 0x03000300, /*083c*/ 0x03000300,
/*083d*/ 0x03000300, /*083d*/ 0x03000300,
/*083e*/ 0x00000300, /*083e*/ 0x00000300,
/*083f*/ 0x00000000, /*083f*/ 0x00000000,
/*0840*/ 0x00000000, /*0840*/ 0x00000000,
/*0841*/ 0x00000000, /*0841*/ 0x00000000,
/*0842*/ 0x00000000, /*0842*/ 0x00000000,
/*0843*/ 0x00a00000, /*0843*/ 0x00a00000,
/*0844*/ 0x00a000a0, /*0844*/ 0x00a000a0,
/*0845*/ 0x00a000a0, /*0845*/ 0x00a000a0,
/*0846*/ 0x00a000a0, /*0846*/ 0x00a000a0,
/*0847*/ 0x00a000a0, /*0847*/ 0x00a000a0,
/*0848*/ 0x00a000a0, /*0848*/ 0x00a000a0,
/*0849*/ 0x00a000a0, /*0849*/ 0x00a000a0,
/*084a*/ 0x00a000a0, /*084a*/ 0x00a000a0,
/*084b*/ 0x00a000a0, /*084b*/ 0x00a000a0,
/*084c*/ 0x010900a0, /*084c*/ 0x010900a0,
/*084d*/ 0x02000104, /*084d*/ 0x02000104,
/*084e*/ 0x00000000, /*084e*/ 0x00000000,
/*084f*/ 0x00010000, /*084f*/ 0x00010000,
/*0850*/ 0x00000200, /*0850*/ 0x00000200,
/*0851*/ 0x4041a141, /*0851*/ 0x4041a141,
/*0852*/ 0xc00141a0, /*0852*/ 0xc00141a0,
/*0853*/ 0x0e0100c0, /*0853*/ 0x0e0100c0,
/*0854*/ 0x0010000c, /*0854*/ 0x0010000c,
/*0855*/ 0x0c064208, /*0855*/ 0x0c064208,
/*0856*/ 0x000f0c18, /*0856*/ 0x000f0c18,
/*0857*/ 0x00e00140, /*0857*/ 0x00e00140,
/*0858*/ 0x00000c20 /*0858*/ 0x00000c20
}; };
static const uint32_t DDR_PHY_ADR_V_REGSET_M3[DDR_PHY_ADR_V_REGSET_NUM_M3] = { static const uint32_t DDR_PHY_ADR_V_REGSET_M3[DDR_PHY_ADR_V_REGSET_NUM_M3] = {
/*0a00*/ 0x00000000, /*0a00*/ 0x00000000,
/*0a01*/ 0x00000000, /*0a01*/ 0x00000000,
/*0a02*/ 0x00000000, /*0a02*/ 0x00000000,
/*0a03*/ 0x00000000, /*0a03*/ 0x00000000,
/*0a04*/ 0x00000000, /*0a04*/ 0x00000000,
/*0a05*/ 0x00000000, /*0a05*/ 0x00000000,
/*0a06*/ 0x00000002, /*0a06*/ 0x00000002,
/*0a07*/ 0x00000000, /*0a07*/ 0x00000000,
/*0a08*/ 0x00000000, /*0a08*/ 0x00000000,
/*0a09*/ 0x00000000, /*0a09*/ 0x00000000,
/*0a0a*/ 0x00400320, /*0a0a*/ 0x00400320,
/*0a0b*/ 0x00000040, /*0a0b*/ 0x00000040,
/*0a0c*/ 0x00dcba98, /*0a0c*/ 0x00dcba98,
/*0a0d*/ 0x00000000, /*0a0d*/ 0x00000000,
/*0a0e*/ 0x00dcba98, /*0a0e*/ 0x00dcba98,
/*0a0f*/ 0x01000000, /*0a0f*/ 0x01000000,
/*0a10*/ 0x00020003, /*0a10*/ 0x00020003,
/*0a11*/ 0x00000000, /*0a11*/ 0x00000000,
/*0a12*/ 0x00000000, /*0a12*/ 0x00000000,
/*0a13*/ 0x00000000, /*0a13*/ 0x00000000,
/*0a14*/ 0x0000002a, /*0a14*/ 0x0000002a,
/*0a15*/ 0x00000015, /*0a15*/ 0x00000015,
/*0a16*/ 0x00000015, /*0a16*/ 0x00000015,
/*0a17*/ 0x0000002a, /*0a17*/ 0x0000002a,
/*0a18*/ 0x00000033, /*0a18*/ 0x00000033,
/*0a19*/ 0x0000000c, /*0a19*/ 0x0000000c,
/*0a1a*/ 0x0000000c, /*0a1a*/ 0x0000000c,
/*0a1b*/ 0x00000033, /*0a1b*/ 0x00000033,
/*0a1c*/ 0x0a418820, /*0a1c*/ 0x0a418820,
/*0a1d*/ 0x003f0000, /*0a1d*/ 0x003f0000,
/*0a1e*/ 0x0000003f, /*0a1e*/ 0x0000003f,
/*0a1f*/ 0x0002c06e, /*0a1f*/ 0x0002c06e,
/*0a20*/ 0x02c002c0, /*0a20*/ 0x02c002c0,
/*0a21*/ 0x02c002c0, /*0a21*/ 0x02c002c0,
/*0a22*/ 0x000002c0, /*0a22*/ 0x000002c0,
/*0a23*/ 0x42080010, /*0a23*/ 0x42080010,
/*0a24*/ 0x00000003 /*0a24*/ 0x00000003
}; };
static const uint32_t DDR_PHY_ADR_I_REGSET_M3[DDR_PHY_ADR_I_REGSET_NUM_M3] = { static const uint32_t DDR_PHY_ADR_I_REGSET_M3[DDR_PHY_ADR_I_REGSET_NUM_M3] = {
/*0a80*/ 0x04040404, /*0a80*/ 0x04040404,
/*0a81*/ 0x00000404, /*0a81*/ 0x00000404,
/*0a82*/ 0x00000000, /*0a82*/ 0x00000000,
/*0a83*/ 0x00000000, /*0a83*/ 0x00000000,
/*0a84*/ 0x00000000, /*0a84*/ 0x00000000,
/*0a85*/ 0x00000000, /*0a85*/ 0x00000000,
/*0a86*/ 0x00000002, /*0a86*/ 0x00000002,
/*0a87*/ 0x00000000, /*0a87*/ 0x00000000,
/*0a88*/ 0x00000000, /*0a88*/ 0x00000000,
/*0a89*/ 0x00000000, /*0a89*/ 0x00000000,
/*0a8a*/ 0x00400320, /*0a8a*/ 0x00400320,
/*0a8b*/ 0x00000040, /*0a8b*/ 0x00000040,
/*0a8c*/ 0x00000000, /*0a8c*/ 0x00000000,
/*0a8d*/ 0x00000000, /*0a8d*/ 0x00000000,
/*0a8e*/ 0x00000000, /*0a8e*/ 0x00000000,
/*0a8f*/ 0x01000000, /*0a8f*/ 0x01000000,
/*0a90*/ 0x00020003, /*0a90*/ 0x00020003,
/*0a91*/ 0x00000000, /*0a91*/ 0x00000000,
/*0a92*/ 0x00000000, /*0a92*/ 0x00000000,
/*0a93*/ 0x00000000, /*0a93*/ 0x00000000,
/*0a94*/ 0x0000002a, /*0a94*/ 0x0000002a,
/*0a95*/ 0x00000015, /*0a95*/ 0x00000015,
/*0a96*/ 0x00000015, /*0a96*/ 0x00000015,
/*0a97*/ 0x0000002a, /*0a97*/ 0x0000002a,
/*0a98*/ 0x00000033, /*0a98*/ 0x00000033,
/*0a99*/ 0x0000000c, /*0a99*/ 0x0000000c,
/*0a9a*/ 0x0000000c, /*0a9a*/ 0x0000000c,
/*0a9b*/ 0x00000033, /*0a9b*/ 0x00000033,
/*0a9c*/ 0x00000000, /*0a9c*/ 0x00000000,
/*0a9d*/ 0x00000000, /*0a9d*/ 0x00000000,
/*0a9e*/ 0x00000000, /*0a9e*/ 0x00000000,
/*0a9f*/ 0x0002c06e, /*0a9f*/ 0x0002c06e,
/*0aa0*/ 0x02c002c0, /*0aa0*/ 0x02c002c0,
/*0aa1*/ 0x02c002c0, /*0aa1*/ 0x02c002c0,
/*0aa2*/ 0x000002c0, /*0aa2*/ 0x000002c0,
/*0aa3*/ 0x42080010, /*0aa3*/ 0x42080010,
/*0aa4*/ 0x00000003 /*0aa4*/ 0x00000003
}; };
static const uint32_t DDR_PHY_ADR_G_REGSET_M3[DDR_PHY_ADR_G_REGSET_NUM_M3] = { static const uint32_t DDR_PHY_ADR_G_REGSET_M3[DDR_PHY_ADR_G_REGSET_NUM_M3] = {
/*0b80*/ 0x00000001, /*0b80*/ 0x00000001,
/*0b81*/ 0x00000000, /*0b81*/ 0x00000000,
/*0b82*/ 0x00000005, /*0b82*/ 0x00000005,
/*0b83*/ 0x04000f00, /*0b83*/ 0x04000f00,
/*0b84*/ 0x00020080, /*0b84*/ 0x00020080,
/*0b85*/ 0x00020055, /*0b85*/ 0x00020055,
/*0b86*/ 0x00000000, /*0b86*/ 0x00000000,
/*0b87*/ 0x00000000, /*0b87*/ 0x00000000,
/*0b88*/ 0x00000000, /*0b88*/ 0x00000000,
/*0b89*/ 0x00000050, /*0b89*/ 0x00000050,
/*0b8a*/ 0x00000000, /*0b8a*/ 0x00000000,
/*0b8b*/ 0x01010100, /*0b8b*/ 0x01010100,
/*0b8c*/ 0x00000600, /*0b8c*/ 0x00000600,
/*0b8d*/ 0x50640000, /*0b8d*/ 0x50640000,
/*0b8e*/ 0x01421142, /*0b8e*/ 0x01421142,
/*0b8f*/ 0x00000142, /*0b8f*/ 0x00000142,
/*0b90*/ 0x00000000, /*0b90*/ 0x00000000,
/*0b91*/ 0x000f1600, /*0b91*/ 0x000f1600,
/*0b92*/ 0x0f160f16, /*0b92*/ 0x0f160f16,
/*0b93*/ 0x0f160f16, /*0b93*/ 0x0f160f16,
/*0b94*/ 0x00000003, /*0b94*/ 0x00000003,
/*0b95*/ 0x0002c000, /*0b95*/ 0x0002c000,
/*0b96*/ 0x02c002c0, /*0b96*/ 0x02c002c0,
/*0b97*/ 0x000002c0, /*0b97*/ 0x000002c0,
/*0b98*/ 0x03421342, /*0b98*/ 0x03421342,
/*0b99*/ 0x00000342, /*0b99*/ 0x00000342,
/*0b9a*/ 0x00000000, /*0b9a*/ 0x00000000,
/*0b9b*/ 0x00000000, /*0b9b*/ 0x00000000,
/*0b9c*/ 0x05020000, /*0b9c*/ 0x05020000,
/*0b9d*/ 0x00000000, /*0b9d*/ 0x00000000,
/*0b9e*/ 0x00027f6e, /*0b9e*/ 0x00027f6e,
/*0b9f*/ 0x047f027f, /*0b9f*/ 0x047f027f,
/*0ba0*/ 0x00027f6e, /*0ba0*/ 0x00027f6e,
/*0ba1*/ 0x00047f6e, /*0ba1*/ 0x00047f6e,
/*0ba2*/ 0x0003554f, /*0ba2*/ 0x0003554f,
/*0ba3*/ 0x0001554f, /*0ba3*/ 0x0001554f,
/*0ba4*/ 0x0001554f, /*0ba4*/ 0x0001554f,
/*0ba5*/ 0x0001554f, /*0ba5*/ 0x0001554f,
/*0ba6*/ 0x0001554f, /*0ba6*/ 0x0001554f,
/*0ba7*/ 0x00003fee, /*0ba7*/ 0x00003fee,
/*0ba8*/ 0x0001554f, /*0ba8*/ 0x0001554f,
/*0ba9*/ 0x00003fee, /*0ba9*/ 0x00003fee,
/*0baa*/ 0x0001554f, /*0baa*/ 0x0001554f,
/*0bab*/ 0x00027f6e, /*0bab*/ 0x00027f6e,
/*0bac*/ 0x0001554f, /*0bac*/ 0x0001554f,
/*0bad*/ 0x00000000, /*0bad*/ 0x00000000,
/*0bae*/ 0x00000000, /*0bae*/ 0x00000000,
/*0baf*/ 0x00000000, /*0baf*/ 0x00000000,
/*0bb0*/ 0x65000000, /*0bb0*/ 0x65000000,
/*0bb1*/ 0x00000000, /*0bb1*/ 0x00000000,
/*0bb2*/ 0x00000000, /*0bb2*/ 0x00000000,
/*0bb3*/ 0x00000201, /*0bb3*/ 0x00000201,
/*0bb4*/ 0x00000000, /*0bb4*/ 0x00000000,
/*0bb5*/ 0x00000000, /*0bb5*/ 0x00000000,
/*0bb6*/ 0x00000000, /*0bb6*/ 0x00000000,
/*0bb7*/ 0x00000000, /*0bb7*/ 0x00000000,
/*0bb8*/ 0x00000000, /*0bb8*/ 0x00000000,
/*0bb9*/ 0x00000000, /*0bb9*/ 0x00000000,
/*0bba*/ 0x00000000, /*0bba*/ 0x00000000,
/*0bbb*/ 0x00000000, /*0bbb*/ 0x00000000,
/*0bbc*/ 0x06e40000, /*0bbc*/ 0x06e40000,
/*0bbd*/ 0x00000000, /*0bbd*/ 0x00000000,
/*0bbe*/ 0x00000000, /*0bbe*/ 0x00000000,
/*0bbf*/ 0x00010000 /*0bbf*/ 0x00010000
}; };
static const uint32_t DDR_PI_REGSET_M3[DDR_PI_REGSET_NUM_M3] = { static const uint32_t DDR_PI_REGSET_M3[DDR_PI_REGSET_NUM_M3] = {
/*0200*/ 0x00000b00, /*0200*/ 0x00000b00,
/*0201*/ 0x00000100, /*0201*/ 0x00000100,
/*0202*/ 0x00000000, /*0202*/ 0x00000000,
/*0203*/ 0x0000ffff, /*0203*/ 0x0000ffff,
/*0204*/ 0x00000000, /*0204*/ 0x00000000,
/*0205*/ 0x0000ffff, /*0205*/ 0x0000ffff,
/*0206*/ 0x00000000, /*0206*/ 0x00000000,
/*0207*/ 0x304cffff, /*0207*/ 0x304cffff,
/*0208*/ 0x00000200, /*0208*/ 0x00000200,
/*0209*/ 0x00000200, /*0209*/ 0x00000200,
/*020a*/ 0x00000200, /*020a*/ 0x00000200,
/*020b*/ 0x00000200, /*020b*/ 0x00000200,
/*020c*/ 0x0000304c, /*020c*/ 0x0000304c,
/*020d*/ 0x00000200, /*020d*/ 0x00000200,
/*020e*/ 0x00000200, /*020e*/ 0x00000200,
/*020f*/ 0x00000200, /*020f*/ 0x00000200,
/*0210*/ 0x00000200, /*0210*/ 0x00000200,
/*0211*/ 0x0000304c, /*0211*/ 0x0000304c,
/*0212*/ 0x00000200, /*0212*/ 0x00000200,
/*0213*/ 0x00000200, /*0213*/ 0x00000200,
/*0214*/ 0x00000200, /*0214*/ 0x00000200,
/*0215*/ 0x00000200, /*0215*/ 0x00000200,
/*0216*/ 0x00010000, /*0216*/ 0x00010000,
/*0217*/ 0x00000003, /*0217*/ 0x00000003,
/*0218*/ 0x01000001, /*0218*/ 0x01000001,
/*0219*/ 0x00000000, /*0219*/ 0x00000000,
/*021a*/ 0x00000000, /*021a*/ 0x00000000,
/*021b*/ 0x00000000, /*021b*/ 0x00000000,
/*021c*/ 0x00000000, /*021c*/ 0x00000000,
/*021d*/ 0x00000000, /*021d*/ 0x00000000,
/*021e*/ 0x00000000, /*021e*/ 0x00000000,
/*021f*/ 0x00000000, /*021f*/ 0x00000000,
/*0220*/ 0x00000000, /*0220*/ 0x00000000,
/*0221*/ 0x00000000, /*0221*/ 0x00000000,
/*0222*/ 0x00000000, /*0222*/ 0x00000000,
/*0223*/ 0x00000000, /*0223*/ 0x00000000,
/*0224*/ 0x00000000, /*0224*/ 0x00000000,
/*0225*/ 0x00000000, /*0225*/ 0x00000000,
/*0226*/ 0x00000000, /*0226*/ 0x00000000,
/*0227*/ 0x00000000, /*0227*/ 0x00000000,
/*0228*/ 0x00000000, /*0228*/ 0x00000000,
/*0229*/ 0x0f000101, /*0229*/ 0x0f000101,
/*022a*/ 0x08492d25, /*022a*/ 0x08492d25,
/*022b*/ 0x0e0c0004, /*022b*/ 0x0e0c0004,
/*022c*/ 0x000e5000, /*022c*/ 0x000e5000,
/*022d*/ 0x00000250, /*022d*/ 0x00000250,
/*022e*/ 0x00460003, /*022e*/ 0x00460003,
/*022f*/ 0x182600cf, /*022f*/ 0x182600cf,
/*0230*/ 0x182600cf, /*0230*/ 0x182600cf,
/*0231*/ 0x00000005, /*0231*/ 0x00000005,
/*0232*/ 0x00000000, /*0232*/ 0x00000000,
/*0233*/ 0x00000000, /*0233*/ 0x00000000,
/*0234*/ 0x00000000, /*0234*/ 0x00000000,
/*0235*/ 0x00000000, /*0235*/ 0x00000000,
/*0236*/ 0x00000000, /*0236*/ 0x00000000,
/*0237*/ 0x00000000, /*0237*/ 0x00000000,
/*0238*/ 0x00000000, /*0238*/ 0x00000000,
/*0239*/ 0x01000000, /*0239*/ 0x01000000,
/*023a*/ 0x00040404, /*023a*/ 0x00040404,
/*023b*/ 0x01280a00, /*023b*/ 0x01280a00,
/*023c*/ 0x00000000, /*023c*/ 0x00000000,
/*023d*/ 0x000f0000, /*023d*/ 0x000f0000,
/*023e*/ 0x00001803, /*023e*/ 0x00001803,
/*023f*/ 0x00000000, /*023f*/ 0x00000000,
/*0240*/ 0x00000000, /*0240*/ 0x00000000,
/*0241*/ 0x00060002, /*0241*/ 0x00060002,
/*0242*/ 0x00010001, /*0242*/ 0x00010001,
/*0243*/ 0x01000101, /*0243*/ 0x01000101,
/*0244*/ 0x04020201, /*0244*/ 0x04020201,
/*0245*/ 0x00080804, /*0245*/ 0x00080804,
/*0246*/ 0x00000000, /*0246*/ 0x00000000,
/*0247*/ 0x08030000, /*0247*/ 0x08030000,
/*0248*/ 0x15150408, /*0248*/ 0x15150408,
/*0249*/ 0x00000000, /*0249*/ 0x00000000,
/*024a*/ 0x00000000, /*024a*/ 0x00000000,
/*024b*/ 0x00000000, /*024b*/ 0x00000000,
/*024c*/ 0x000f0f00, /*024c*/ 0x000f0f00,
/*024d*/ 0x0000001e, /*024d*/ 0x0000001e,
/*024e*/ 0x00000000, /*024e*/ 0x00000000,
/*024f*/ 0x01000300, /*024f*/ 0x01000300,
/*0250*/ 0x00000000, /*0250*/ 0x00000000,
/*0251*/ 0x00000000, /*0251*/ 0x00000000,
/*0252*/ 0x01000000, /*0252*/ 0x01000000,
/*0253*/ 0x00010101, /*0253*/ 0x00010101,
/*0254*/ 0x000e0e0e, /*0254*/ 0x000e0e0e,
/*0255*/ 0x000c0c0c, /*0255*/ 0x000c0c0c,
/*0256*/ 0x02060601, /*0256*/ 0x02060601,
/*0257*/ 0x00000000, /*0257*/ 0x00000000,
/*0258*/ 0x00000003, /*0258*/ 0x00000003,
/*0259*/ 0x00181703, /*0259*/ 0x00181703,
/*025a*/ 0x00280006, /*025a*/ 0x00280006,
/*025b*/ 0x00280016, /*025b*/ 0x00280016,
/*025c*/ 0x00000016, /*025c*/ 0x00000016,
/*025d*/ 0x00000000, /*025d*/ 0x00000000,
/*025e*/ 0x00000000, /*025e*/ 0x00000000,
/*025f*/ 0x00000000, /*025f*/ 0x00000000,
/*0260*/ 0x140a0000, /*0260*/ 0x140a0000,
/*0261*/ 0x0005010a, /*0261*/ 0x0005010a,
/*0262*/ 0x03018d03, /*0262*/ 0x03018d03,
/*0263*/ 0x000a018d, /*0263*/ 0x000a018d,
/*0264*/ 0x00060100, /*0264*/ 0x00060100,
/*0265*/ 0x01000006, /*0265*/ 0x01000006,
/*0266*/ 0x018e018e, /*0266*/ 0x018e018e,
/*0267*/ 0x018e0100, /*0267*/ 0x018e0100,
/*0268*/ 0x1111018e, /*0268*/ 0x1111018e,
/*0269*/ 0x10010204, /*0269*/ 0x10010204,
/*026a*/ 0x09090650, /*026a*/ 0x09090650,
/*026b*/ 0x20110202, /*026b*/ 0x20110202,
/*026c*/ 0x00201000, /*026c*/ 0x00201000,
/*026d*/ 0x00201000, /*026d*/ 0x00201000,
/*026e*/ 0x04041000, /*026e*/ 0x04041000,
/*026f*/ 0x18020100, /*026f*/ 0x18020100,
/*0270*/ 0x00010118, /*0270*/ 0x00010118,
/*0271*/ 0x004b004a, /*0271*/ 0x004b004a,
/*0272*/ 0x050f0000, /*0272*/ 0x050f0000,
/*0273*/ 0x0c01021e, /*0273*/ 0x0c01021e,
/*0274*/ 0x34000000, /*0274*/ 0x34000000,
/*0275*/ 0x00000000, /*0275*/ 0x00000000,
/*0276*/ 0x00000000, /*0276*/ 0x00000000,
/*0277*/ 0x00000000, /*0277*/ 0x00000000,
/*0278*/ 0x0000d400, /*0278*/ 0x0000d400,
/*0279*/ 0x0031002e, /*0279*/ 0x0031002e,
/*027a*/ 0x00111136, /*027a*/ 0x00111136,
/*027b*/ 0x002e00d4, /*027b*/ 0x002e00d4,
/*027c*/ 0x11360031, /*027c*/ 0x11360031,
/*027d*/ 0x0000d411, /*027d*/ 0x0000d411,
/*027e*/ 0x0031002e, /*027e*/ 0x0031002e,
/*027f*/ 0x00111136, /*027f*/ 0x00111136,
/*0280*/ 0x002e00d4, /*0280*/ 0x002e00d4,
/*0281*/ 0x11360031, /*0281*/ 0x11360031,
/*0282*/ 0x0000d411, /*0282*/ 0x0000d411,
/*0283*/ 0x0031002e, /*0283*/ 0x0031002e,
/*0284*/ 0x00111136, /*0284*/ 0x00111136,
/*0285*/ 0x002e00d4, /*0285*/ 0x002e00d4,
/*0286*/ 0x11360031, /*0286*/ 0x11360031,
/*0287*/ 0x00d40011, /*0287*/ 0x00d40011,
/*0288*/ 0x0031002e, /*0288*/ 0x0031002e,
/*0289*/ 0x00111136, /*0289*/ 0x00111136,
/*028a*/ 0x002e00d4, /*028a*/ 0x002e00d4,
/*028b*/ 0x11360031, /*028b*/ 0x11360031,
/*028c*/ 0x0000d411, /*028c*/ 0x0000d411,
/*028d*/ 0x0031002e, /*028d*/ 0x0031002e,
/*028e*/ 0x00111136, /*028e*/ 0x00111136,
/*028f*/ 0x002e00d4, /*028f*/ 0x002e00d4,
/*0290*/ 0x11360031, /*0290*/ 0x11360031,
/*0291*/ 0x0000d411, /*0291*/ 0x0000d411,
/*0292*/ 0x0031002e, /*0292*/ 0x0031002e,
/*0293*/ 0x00111136, /*0293*/ 0x00111136,
/*0294*/ 0x002e00d4, /*0294*/ 0x002e00d4,
/*0295*/ 0x11360031, /*0295*/ 0x11360031,
/*0296*/ 0x02000011, /*0296*/ 0x02000011,
/*0297*/ 0x018d018d, /*0297*/ 0x018d018d,
/*0298*/ 0x0c08018d, /*0298*/ 0x0c08018d,
/*0299*/ 0x1f121d22, /*0299*/ 0x1f121d22,
/*029a*/ 0x4301b344, /*029a*/ 0x4301b344,
/*029b*/ 0x10172006, /*029b*/ 0x10172006,
/*029c*/ 0x1d220c10, /*029c*/ 0x1d220c10,
/*029d*/ 0x00001f12, /*029d*/ 0x00001f12,
/*029e*/ 0x4301b344, /*029e*/ 0x4301b344,
/*029f*/ 0x10172006, /*029f*/ 0x10172006,
/*02a0*/ 0x1d220c10, /*02a0*/ 0x1d220c10,
/*02a1*/ 0x00001f12, /*02a1*/ 0x00001f12,
/*02a2*/ 0x4301b344, /*02a2*/ 0x4301b344,
/*02a3*/ 0x10172006, /*02a3*/ 0x10172006,
/*02a4*/ 0x02000210, /*02a4*/ 0x02000210,
/*02a5*/ 0x02000200, /*02a5*/ 0x02000200,
/*02a6*/ 0x02000200, /*02a6*/ 0x02000200,
/*02a7*/ 0x02000200, /*02a7*/ 0x02000200,
/*02a8*/ 0x02000200, /*02a8*/ 0x02000200,
/*02a9*/ 0x00000000, /*02a9*/ 0x00000000,
/*02aa*/ 0x00000000, /*02aa*/ 0x00000000,
/*02ab*/ 0x00000000, /*02ab*/ 0x00000000,
/*02ac*/ 0x00000000, /*02ac*/ 0x00000000,
/*02ad*/ 0x00000000, /*02ad*/ 0x00000000,
/*02ae*/ 0x00000000, /*02ae*/ 0x00000000,
/*02af*/ 0x00000000, /*02af*/ 0x00000000,
/*02b0*/ 0x00000000, /*02b0*/ 0x00000000,
/*02b1*/ 0x00000000, /*02b1*/ 0x00000000,
/*02b2*/ 0x00000000, /*02b2*/ 0x00000000,
/*02b3*/ 0x00000000, /*02b3*/ 0x00000000,
/*02b4*/ 0x00000000, /*02b4*/ 0x00000000,
/*02b5*/ 0x00000400, /*02b5*/ 0x00000400,
/*02b6*/ 0x15141312, /*02b6*/ 0x15141312,
/*02b7*/ 0x11100f0e, /*02b7*/ 0x11100f0e,
/*02b8*/ 0x080b0c0d, /*02b8*/ 0x080b0c0d,
/*02b9*/ 0x05040a09, /*02b9*/ 0x05040a09,
/*02ba*/ 0x01000706, /*02ba*/ 0x01000706,
/*02bb*/ 0x00000302, /*02bb*/ 0x00000302,
/*02bc*/ 0x01030201, /*02bc*/ 0x01030201,
/*02bd*/ 0x00304c00, /*02bd*/ 0x00304c00,
/*02be*/ 0x0001e2f8, /*02be*/ 0x0001e2f8,
/*02bf*/ 0x0000304c, /*02bf*/ 0x0000304c,
/*02c0*/ 0x0001e2f8, /*02c0*/ 0x0001e2f8,
/*02c1*/ 0x0000304c, /*02c1*/ 0x0000304c,
/*02c2*/ 0x0001e2f8, /*02c2*/ 0x0001e2f8,
/*02c3*/ 0x08000000, /*02c3*/ 0x08000000,
/*02c4*/ 0x00000100, /*02c4*/ 0x00000100,
/*02c5*/ 0x00000000, /*02c5*/ 0x00000000,
/*02c6*/ 0x00000000, /*02c6*/ 0x00000000,
/*02c7*/ 0x00000000, /*02c7*/ 0x00000000,
/*02c8*/ 0x00000000, /*02c8*/ 0x00000000,
/*02c9*/ 0x00000002 /*02c9*/ 0x00000002
}; };
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