blob: e48557098f81a1ee20e7cd8d2ebe076600dc50b5 [file] [log] [blame]
Stefan Roese9693c3d2009-07-20 06:57:27 +02001/*
2 * (C) Copyright 2008-2009
3 * Stefan Roese, DENX Software Engineering, sr@denx.de.
4 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005 * SPDX-License-Identifier: GPL-2.0+
Stefan Roese9693c3d2009-07-20 06:57:27 +02006 */
7
8#include <common.h>
9#include <asm/ppc4xx_config.h>
10
11struct ppc4xx_config ppc4xx_config_val[] = {
12 {
13 "600-nor", "NOR CPU: 600 PLB: 200 OPB: 100 EBC: 100",
14 {
15 0x86, 0x80, 0xce, 0x1f, 0x79, 0x80, 0x00, 0xa0,
16 0x40, 0x08, 0x23, 0x50, 0x0d, 0x05, 0x00, 0x00
17 }
18 },
19 {
Stefan Roesefce070a2009-08-17 16:57:53 +020020 "800-nor", "NOR CPU: 800 PLB: 200 OPB: 100 EBC: 100",
Stefan Roese9693c3d2009-07-20 06:57:27 +020021 {
Stefan Roesefce070a2009-08-17 16:57:53 +020022 0x86, 0x80, 0xba, 0x14, 0x99, 0x80, 0x00, 0xa0,
23 0x40, 0x08, 0x23, 0x50, 0x0d, 0x05, 0x00, 0x00
Stefan Roese9693c3d2009-07-20 06:57:27 +020024 }
25 },
26 {
Stefan Roesefce070a2009-08-17 16:57:53 +020027 "1000-nor", "NOR CPU:1000 PLB: 200 OPB: 100 EBC: 100",
Stefan Roese9693c3d2009-07-20 06:57:27 +020028 {
Stefan Roesefce070a2009-08-17 16:57:53 +020029 0x86, 0x82, 0x96, 0x19, 0xb9, 0x80, 0x00, 0xa0,
Stefan Roese9693c3d2009-07-20 06:57:27 +020030 0x40, 0x08, 0x23, 0x50, 0x0d, 0x05, 0x00, 0x00
31 }
32 },
33 {
Stefan Roesefce070a2009-08-17 16:57:53 +020034 "1066-nor", "NOR CPU:1066 PLB: 266 OPB: 88 EBC: 88",
Stefan Roese9693c3d2009-07-20 06:57:27 +020035 {
Stefan Roesefce070a2009-08-17 16:57:53 +020036 0x86, 0x80, 0xb3, 0x01, 0x9d, 0x80, 0x00, 0xa0,
37 0x40, 0x08, 0x23, 0x50, 0x0d, 0x05, 0x00, 0x00
Stefan Roese9693c3d2009-07-20 06:57:27 +020038 }
39 },
Stefan Roesefce070a2009-08-17 16:57:53 +020040#if !defined(CONFIG_ARCHES)
Stefan Roese9693c3d2009-07-20 06:57:27 +020041 {
Stefan Roesefce070a2009-08-17 16:57:53 +020042 "600-nand", "NAND CPU: 600 PLB: 200 OPB: 100 EBC: 100",
Stefan Roese9693c3d2009-07-20 06:57:27 +020043 {
Stefan Roesefce070a2009-08-17 16:57:53 +020044 0x86, 0x80, 0xce, 0x1f, 0x79, 0x90, 0x01, 0xa0,
45 0xa0, 0xe8, 0x23, 0x58, 0x0d, 0x05, 0x00, 0x00
Stefan Roese9693c3d2009-07-20 06:57:27 +020046 }
47 },
48 {
Stefan Roesefce070a2009-08-17 16:57:53 +020049 "800-nand", "NAND CPU: 800 PLB: 200 OPB: 100 EBC: 100",
Stefan Roese9693c3d2009-07-20 06:57:27 +020050 {
Stefan Roesefce070a2009-08-17 16:57:53 +020051 0x86, 0x80, 0xba, 0x14, 0x99, 0x90, 0x01, 0xa0,
Stefan Roese9693c3d2009-07-20 06:57:27 +020052 0xa0, 0xe8, 0x23, 0x58, 0x0d, 0x05, 0x00, 0x00
53 }
54 },
55 {
Stefan Roesefce070a2009-08-17 16:57:53 +020056 "1000-nand", "NAND CPU:1000 PLB: 200 OPB: 100 EBC: 100",
Stefan Roese9693c3d2009-07-20 06:57:27 +020057 {
Stefan Roesefce070a2009-08-17 16:57:53 +020058 0x86, 0x82, 0x96, 0x19, 0xb9, 0x90, 0x01, 0xa0,
59 0xa0, 0xe8, 0x23, 0x58, 0x0d, 0x05, 0x00, 0x00
Stefan Roese9693c3d2009-07-20 06:57:27 +020060 }
61 },
62 {
63 "1066-nand", "NAND CPU:1066 PLB: 266 OPB: 88 EBC: 88",
64 {
65 0x86, 0x80, 0xb3, 0x01, 0x9d, 0x90, 0x01, 0xa0,
66 0xa0, 0xe8, 0x23, 0x58, 0x0d, 0x05, 0x00, 0x00
67 }
68 },
Stefan Roesefce070a2009-08-17 16:57:53 +020069#endif
Stefan Roese9693c3d2009-07-20 06:57:27 +020070};
71
72int ppc4xx_config_count = ARRAY_SIZE(ppc4xx_config_val);