pdm360ng.h 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481
  1. /*
  2. * (C) Copyright 2009-2010
  3. * Michael Weiß, ifm ecomatic gmbh, michael.weiss@ifm.com
  4. *
  5. * See file CREDITS for list of people who contributed to this
  6. * project.
  7. *
  8. * This program is free software; you can redistribute it and/or
  9. * modify it under the terms of the GNU General Public License as
  10. * published by the Free Software Foundation; either version 2 of
  11. * the License, or (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with this program; if not, write to the Free Software
  20. * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  21. * MA 02111-1307 USA
  22. */
  23. /*
  24. * pdm360ng board configuration file
  25. */
  26. #ifndef __CONFIG_H
  27. #define __CONFIG_H
  28. #define CONFIG_PDM360NG 1
  29. /*
  30. * Memory map for the PDM360NG board:
  31. *
  32. * 0x0000_0000 - 0x1FFF_FFFF DDR RAM (512 MB)
  33. * 0x2000_0000 - 0x3FFF_FFFF reserved (DDR RAM (512 MB)
  34. * 0x5000_0000 - 0x5001_FFFF SRAM (128 KB)
  35. * 0x5004_0000 - 0x5005_FFFF MRAM (CS2) (128 KB)
  36. * 0x8000_0000 - 0x803F_FFFF IMMR (4 MB)
  37. * 0xF000_0000 - 0xF7FF_FFFF NOR FLASH (CS0) (128 MB)
  38. * 0xF800_0000 - 0xFFFF_FFFF NOR FLASH (CS1) (128 MB) optional
  39. */
  40. /*
  41. * High Level Configuration Options
  42. */
  43. #define CONFIG_E300 1 /* E300 Family */
  44. #define CONFIG_MPC512X 1 /* MPC512X family */
  45. #define CONFIG_FSL_DIU_FB 1 /* FSL DIU */
  46. /* Used for silent command in environment */
  47. #define CONFIG_SYS_DEVICE_NULLDEV
  48. #define CONFIG_SILENT_CONSOLE
  49. /* Video */
  50. #define CONFIG_VIDEO
  51. #if defined(CONFIG_VIDEO)
  52. #define CONFIG_CFB_CONSOLE
  53. #define CONFIG_VGA_AS_SINGLE_DEVICE
  54. #define CONFIG_SPLASH_SCREEN
  55. #define CONFIG_VIDEO_LOGO
  56. #define CONFIG_VIDEO_BMP_RLE8
  57. #define CONFIG_VIDEO_XRES 800
  58. #define CONFIG_VIDEO_YRES 480
  59. #endif
  60. #define CONFIG_SYS_MPC512X_CLKIN 33333333 /* in Hz */
  61. #define CONFIG_BOARD_EARLY_INIT_F /* call board_early_init_f() */
  62. #define CONFIG_MISC_INIT_R
  63. #define CONFIG_SYS_IMMR 0x80000000
  64. #define CONFIG_SYS_DIU_ADDR ((CONFIG_SYS_IMMR) + 0x2100)
  65. /*
  66. * DDR Setup
  67. */
  68. /* DDR is system memory */
  69. #define CONFIG_SYS_DDR_BASE 0x00000000
  70. #define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_BASE
  71. #define CONFIG_SYS_MAX_RAM_SIZE 0x40000000
  72. /* DDR pin mux and slew rate */
  73. #define CONFIG_SYS_IOCTRL_MUX_DDR 0x00000012
  74. /* Manually set all parameters as there's no SPD etc. */
  75. /*
  76. * DDR Controller Configuration for Micron DDR2 SDRAM MT47H128M8-3
  77. *
  78. * SYS_CFG:
  79. * [31:31] MDDRC Soft Reset: Diabled
  80. * [30:30] DRAM CKE pin: Enabled
  81. * [29:29] DRAM CLK: Enabled
  82. * [28:28] Command Mode: Enabled (For initialization only)
  83. * [27:25] DRAM Row Select: dram_row[15:0] = magenta_address[25:10]
  84. * [24:21] DRAM Bank Select: dram_bank[1:0] = magenta_address[11:10]
  85. * [20:19] Read Test: DON'T USE
  86. * [18:18] Self Refresh: Enabled
  87. * [17:17] 16bit Mode: Disabled
  88. * [16:13] Read Delay: 3
  89. * [12:12] Half DQS Delay: Disabled
  90. * [11:11] Quarter DQS Delay: Disabled
  91. * [10:08] Write Delay: 2
  92. * [07:07] Early ODT: Disabled
  93. * [06:06] On DIE Termination: Enabled
  94. * [05:05] FIFO Overflow Clear: DON'T USE here
  95. * [04:04] FIFO Underflow Clear: DON'T USE here
  96. * [03:03] FIFO Overflow Pending: DON'T USE here
  97. * [02:02] FIFO Underlfow Pending: DON'T USE here
  98. * [01:01] FIFO Overlfow Enabled: Enabled
  99. * [00:00] FIFO Underflow Enabled: Enabled
  100. * TIME_CFG0
  101. * [31:16] DRAM Refresh Time: 0 CSB clocks
  102. * [15:8] DRAM Command Time: 0 CSB clocks
  103. * [07:00] DRAM Precharge Time: 0 CSB clocks
  104. * TIME_CFG1
  105. * [31:26] DRAM tRFC:
  106. * [25:21] DRAM tWR1:
  107. * [20:17] DRAM tWRT1:
  108. * [16:11] DRAM tDRR:
  109. * [10:05] DRAM tRC:
  110. * [04:00] DRAM tRAS:
  111. * TIME_CFG2
  112. * [31:28] DRAM tRCD:
  113. * [27:23] DRAM tFAW:
  114. * [22:19] DRAM tRTW1:
  115. * [18:15] DRAM tCCD:
  116. * [14:10] DRAM tRTP:
  117. * [09:05] DRAM tRP:
  118. * [04:00] DRAM tRPA
  119. */
  120. #define CONFIG_SYS_MDDRC_SYS_CFG 0xEA804A40
  121. #define CONFIG_SYS_MDDRC_TIME_CFG0 0x030C3D2E
  122. #define CONFIG_SYS_MDDRC_TIME_CFG1 0x68EC1168
  123. #define CONFIG_SYS_MDDRC_TIME_CFG2 0x34310864
  124. /*
  125. * Alternative 1: small RAM (128 MB) configuration
  126. */
  127. #define CONFIG_SYS_MDDRC_SYS_CFG_ALT1 0xE8604A40
  128. #define CONFIG_SYS_MDDRC_TIME_CFG0_ALT1 0x030C3D2E
  129. #define CONFIG_SYS_MDDRC_TIME_CFG1_ALT1 0x3CEC1168
  130. #define CONFIG_SYS_MDDRC_TIME_CFG2_ALT1 0x33310863
  131. #define CONFIG_SYS_MDDRC_SYS_CFG_EN 0xF0000000
  132. #define CONFIG_SYS_DDRCMD_NOP 0x01380000
  133. #define CONFIG_SYS_DDRCMD_PCHG_ALL 0x01100400
  134. #define CONFIG_SYS_DDRCMD_EM2 0x01020000 /* EMR2 */
  135. #define CONFIG_SYS_DDRCMD_EM3 0x01030000 /* EMR3 */
  136. /* EMR with 150 ohm ODT todo: verify */
  137. #define CONFIG_SYS_DDRCMD_EN_DLL 0x01010040
  138. #define CONFIG_SYS_DDRCMD_RES_DLL 0x01000100
  139. #define CONFIG_SYS_DDRCMD_RFSH 0x01080000
  140. #define CONFIG_SYS_MICRON_INIT_DEV_OP 0x01000432
  141. /* EMR with 150 ohm ODT todo: verify */
  142. #define CONFIG_SYS_DDRCMD_OCD_DEFAULT 0x010107C0
  143. /* EMR new command with 150 ohm ODT todo: verify */
  144. #define CONFIG_SYS_DDRCMD_OCD_EXIT 0x01010440
  145. /* DDR Priority Manager Configuration */
  146. #define CONFIG_SYS_MDDRCGRP_PM_CFG1 0x00077777
  147. #define CONFIG_SYS_MDDRCGRP_PM_CFG2 0x00000000
  148. #define CONFIG_SYS_MDDRCGRP_HIPRIO_CFG 0x00000001
  149. #define CONFIG_SYS_MDDRCGRP_LUT0_MU 0xFFEEDDCC
  150. #define CONFIG_SYS_MDDRCGRP_LUT0_ML 0xBBAAAAAA
  151. #define CONFIG_SYS_MDDRCGRP_LUT1_MU 0x66666666
  152. #define CONFIG_SYS_MDDRCGRP_LUT1_ML 0x55555555
  153. #define CONFIG_SYS_MDDRCGRP_LUT2_MU 0x44444444
  154. #define CONFIG_SYS_MDDRCGRP_LUT2_ML 0x44444444
  155. #define CONFIG_SYS_MDDRCGRP_LUT3_MU 0x55555555
  156. #define CONFIG_SYS_MDDRCGRP_LUT3_ML 0x55555558
  157. #define CONFIG_SYS_MDDRCGRP_LUT4_MU 0x11111111
  158. #define CONFIG_SYS_MDDRCGRP_LUT4_ML 0x11111122
  159. #define CONFIG_SYS_MDDRCGRP_LUT0_AU 0xaaaaaaaa
  160. #define CONFIG_SYS_MDDRCGRP_LUT0_AL 0xaaaaaaaa
  161. #define CONFIG_SYS_MDDRCGRP_LUT1_AU 0x66666666
  162. #define CONFIG_SYS_MDDRCGRP_LUT1_AL 0x66666666
  163. #define CONFIG_SYS_MDDRCGRP_LUT2_AU 0x11111111
  164. #define CONFIG_SYS_MDDRCGRP_LUT2_AL 0x11111111
  165. #define CONFIG_SYS_MDDRCGRP_LUT3_AU 0x11111111
  166. #define CONFIG_SYS_MDDRCGRP_LUT3_AL 0x11111111
  167. #define CONFIG_SYS_MDDRCGRP_LUT4_AU 0x11111111
  168. #define CONFIG_SYS_MDDRCGRP_LUT4_AL 0x11111111
  169. /*
  170. * NOR FLASH on the Local Bus
  171. */
  172. #define CONFIG_SYS_FLASH_CFI /* use Common Flash Interface */
  173. #define CONFIG_FLASH_CFI_DRIVER /* use the CFI driver */
  174. #define CONFIG_SYS_FLASH_USE_BUFFER_WRITE
  175. #define CONFIG_SYS_FLASH_BASE 0xF0000000 /* start of FLASH-Bank0 */
  176. #define CONFIG_SYS_FLASH_SIZE 0x08000000 /* max size of a Bank */
  177. /* start of FLASH-Bank1 */
  178. #define CONFIG_SYS_FLASH1_BASE (CONFIG_SYS_FLASH_BASE + \
  179. CONFIG_SYS_FLASH_SIZE)
  180. #define CONFIG_SYS_MAX_FLASH_SECT 512 /* max sectors per device */
  181. #define CONFIG_SYS_MAX_FLASH_BANKS 2 /* number of banks */
  182. #define CONFIG_SYS_FLASH_BANKS_LIST \
  183. {CONFIG_SYS_FLASH_BASE, CONFIG_SYS_FLASH1_BASE}
  184. #define CONFIG_SYS_SRAM_BASE 0x50000000
  185. #define CONFIG_SYS_SRAM_SIZE 0x00020000 /* 128 KB */
  186. /* ALE active low, data size 4 bytes */
  187. #define CONFIG_SYS_CS0_CFG 0x05059350
  188. /* ALE active low, data size 4 bytes */
  189. #define CONFIG_SYS_CS1_CFG 0x05059350
  190. #define CONFIG_SYS_MRAM_BASE 0x50040000
  191. #define CONFIG_SYS_MRAM_SIZE 0x00020000
  192. /* ALE active low, data size 4 bytes */
  193. #define CONFIG_SYS_CS2_CFG 0x05059110
  194. /* alt. CS timing for CS0, CS1, CS2 */
  195. #define CONFIG_SYS_CS_ALETIMING 0x00000007
  196. /*
  197. * NAND FLASH
  198. */
  199. #define CONFIG_CMD_NAND /* enable NAND support */
  200. #define CONFIG_NAND_MPC5121_NFC
  201. #define CONFIG_SYS_NAND_BASE 0x40000000
  202. #define CONFIG_SYS_MAX_NAND_DEVICE 1
  203. #define NAND_MAX_CHIPS CONFIG_SYS_MAX_NAND_DEVICE
  204. #define CONFIG_SYS_NAND_SELECT_DEVICE /* driver supports mutipl. chips */
  205. /*
  206. * Configuration parameters for MPC5121 NAND driver
  207. */
  208. #define CONFIG_FSL_NFC_WIDTH 1
  209. #define CONFIG_FSL_NFC_WRITE_SIZE 2048
  210. #define CONFIG_FSL_NFC_SPARE_SIZE 64
  211. #define CONFIG_FSL_NFC_CHIPS CONFIG_SYS_MAX_NAND_DEVICE
  212. /*
  213. * Dynamic MTD partition support
  214. */
  215. #define CONFIG_CMD_MTDPARTS
  216. #define CONFIG_MTD_DEVICE /* needed for mtdparts commands */
  217. #define CONFIG_FLASH_CFI_MTD
  218. #define MTDIDS_DEFAULT "nor0=f0000000.flash,nor1=f8000000.flash," \
  219. "nand0=MPC5121 NAND"
  220. /*
  221. * Flash layout
  222. */
  223. #define MTDPARTS_DEFAULT "mtdparts=f0000000.flash:512k(u-boot)," \
  224. "256k(environment1)," \
  225. "256k(environment2)," \
  226. "256k(splash-factory)," \
  227. "2m(FIT: recovery)," \
  228. "4608k(fs-recovery)," \
  229. "256k(splash-customer),"\
  230. "5m(FIT: kernel+dtb)," \
  231. "64m(rootfs squash)ro," \
  232. "51m(userfs ubi);" \
  233. "f8000000.flash:-(unused);" \
  234. "MPC5121 NAND:1024m(extended-userfs)"
  235. /*
  236. * Override partitions in device tree using info
  237. * in "mtdparts" environment variable
  238. */
  239. #ifdef CONFIG_CMD_MTDPARTS
  240. #define CONFIG_FDT_FIXUP_PARTITIONS
  241. #endif
  242. #define CONFIG_SYS_MONITOR_BASE TEXT_BASE /* Start of monitor */
  243. #define CONFIG_SYS_MONITOR_LEN (512 * 1024) /* 512 kB for monitor */
  244. #ifdef CONFIG_FSL_DIU_FB
  245. #define CONFIG_SYS_MALLOC_LEN (6 * 1024 * 1024) /* for malloc */
  246. #else
  247. #define CONFIG_SYS_MALLOC_LEN (512 * 1024)
  248. #endif
  249. /*
  250. * Serial Port
  251. */
  252. #define CONFIG_CONS_INDEX 1
  253. /*
  254. * Serial console configuration
  255. */
  256. #define CONFIG_PSC_CONSOLE 6 /* console is on PSC6 */
  257. #if CONFIG_PSC_CONSOLE != 6
  258. #error CONFIG_PSC_CONSOLE must be 6
  259. #endif
  260. #define CONSOLE_FIFO_TX_SIZE FIFOC_PSC6_TX_SIZE
  261. #define CONSOLE_FIFO_TX_ADDR FIFOC_PSC6_TX_ADDR
  262. #define CONSOLE_FIFO_RX_SIZE FIFOC_PSC6_RX_SIZE
  263. #define CONSOLE_FIFO_RX_ADDR FIFOC_PSC6_RX_ADDR
  264. /*
  265. * Used PSC UART devices
  266. */
  267. #define CONFIG_SERIAL_MULTI
  268. #define CONFIG_SYS_PSC1
  269. #define CONFIG_SYS_PSC4
  270. #define CONFIG_SYS_PSC6
  271. /*
  272. * Co-processor communication parameters
  273. */
  274. #define CONFIG_SYS_PDM360NG_COPROC_READ_DELAY 5000
  275. #define CONFIG_SYS_PDM360NG_COPROC_BAUDRATE 38400
  276. /*
  277. * I2C
  278. */
  279. #define CONFIG_HARD_I2C /* I2C with hardware support */
  280. #define CONFIG_I2C_MULTI_BUS
  281. #define CONFIG_I2C_CMD_TREE
  282. /* I2C speed and slave address */
  283. #define CONFIG_SYS_I2C_SPEED 100000
  284. #define CONFIG_SYS_I2C_SLAVE 0x7F
  285. /*
  286. * EEPROM configuration
  287. */
  288. #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 2 /* 16-bit EEPROM addr */
  289. #define CONFIG_SYS_I2C_EEPROM_ADDR 0x50 /* ST AT24C01 */
  290. #define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 10 /* 10ms of delay */
  291. #define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS 4 /* 16-Byte Write Mode */
  292. /*
  293. * MAC addr in EEPROM
  294. */
  295. #define CONFIG_SYS_I2C_EEPROM_BUS_NUM 0
  296. #define CONFIG_SYS_I2C_EEPROM_MAC_OFFSET 0x10
  297. /*
  298. * Enabled only to delete "ethaddr" before testing
  299. * "ethaddr" setting from EEPROM
  300. */
  301. #define CONFIG_ENV_OVERWRITE
  302. /*
  303. * Ethernet configuration
  304. */
  305. #define CONFIG_MPC512x_FEC 1
  306. #define CONFIG_NET_MULTI
  307. #define CONFIG_PHY_ADDR 0x1F
  308. #define CONFIG_MII 1 /* MII PHY management */
  309. #define CONFIG_FEC_AN_TIMEOUT 1
  310. #define CONFIG_HAS_ETH0
  311. /*
  312. * Configure on-board RTC
  313. */
  314. #define CONFIG_RTC_M41T62 /* use M41T00 rtc via i2c */
  315. #define CONFIG_SYS_I2C_RTC_ADDR 0x68 /* at address 0x68 */
  316. /*
  317. * Environment
  318. */
  319. #define CONFIG_ENV_IS_IN_FLASH 1
  320. /* This has to be a multiple of the Flash sector size */
  321. #define CONFIG_ENV_ADDR (CONFIG_SYS_MONITOR_BASE + \
  322. CONFIG_SYS_MONITOR_LEN)
  323. #define CONFIG_ENV_SIZE 0x2000
  324. #define CONFIG_ENV_SECT_SIZE 0x40000 /* one sector (256K) for env */
  325. /* Address and size of Redundant Environment Sector */
  326. #define CONFIG_ENV_ADDR_REDUND (CONFIG_ENV_ADDR + CONFIG_ENV_SECT_SIZE)
  327. #define CONFIG_ENV_SIZE_REDUND (CONFIG_ENV_SIZE)
  328. #define CONFIG_LOADS_ECHO 1 /* echo on for serial download */
  329. #define CONFIG_SYS_LOADS_BAUD_CHANGE 1 /* allow baudrate change */
  330. #include <config_cmd_default.h>
  331. #define CONFIG_CMD_ASKENV
  332. #define CONFIG_CMD_DATE
  333. #define CONFIG_CMD_DHCP
  334. #define CONFIG_CMD_EEPROM
  335. #define CONFIG_CMD_I2C
  336. #define CONFIG_CMD_MII
  337. #define CONFIG_CMD_PING
  338. #define CONFIG_CMD_REGINFO
  339. #ifdef CONFIG_VIDEO
  340. #define CONFIG_CMD_BMP
  341. #endif
  342. /*
  343. * Miscellaneous configurable options
  344. */
  345. #define CONFIG_SYS_LONGHELP /* undef to save memory */
  346. #define CONFIG_SYS_LOAD_ADDR 0x2000000 /* default load address */
  347. #define CONFIG_SYS_PROMPT "=> " /* Monitor Command Prompt */
  348. #ifdef CONFIG_CMD_KGDB
  349. #define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */
  350. #else
  351. #define CONFIG_SYS_CBSIZE 256 /* Console I/O Buffer Size */
  352. #endif
  353. /* Print Buffer Size */
  354. #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16)
  355. /* Max number of command args */
  356. #define CONFIG_SYS_MAXARGS 16
  357. /* Boot Argument Buffer Size */
  358. #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
  359. /* Decrementer freq: 1ms ticks */
  360. #define CONFIG_SYS_HZ 1000
  361. /*
  362. * For booting Linux, the board info and command line data
  363. * have to be in the first 8 MB of memory, since this is
  364. * the maximum mapped by the Linux kernel during initialization.
  365. */
  366. /* Initial Memory map for Linux */
  367. #define CONFIG_SYS_BOOTMAPSZ (8 << 20)
  368. /* Cache Configuration */
  369. #define CONFIG_SYS_DCACHE_SIZE 32768
  370. #define CONFIG_SYS_CACHELINE_SIZE 32
  371. #ifdef CONFIG_CMD_KGDB
  372. /* log base 2 of the above value */
  373. #define CONFIG_SYS_CACHELINE_SHIFT 5
  374. #endif
  375. #define CONFIG_SYS_HID0_INIT 0x000000000
  376. #define CONFIG_SYS_HID0_FINAL (HID0_ENABLE_MACHINE_CHECK | HID0_ICE)
  377. #define CONFIG_SYS_HID2 HID2_HBE
  378. #define CONFIG_HIGH_BATS 1 /* High BATs supported */
  379. /*
  380. * Internal Definitions
  381. *
  382. * Boot Flags
  383. */
  384. #define BOOTFLAG_COLD 0x01 /* Normal Power-On: Boot from FLASH */
  385. #define BOOTFLAG_WARM 0x02 /* Software reboot */
  386. #ifdef CONFIG_CMD_KGDB
  387. #define CONFIG_KGDB_BAUDRATE 230400 /* speed of kgdb serial port */
  388. #define CONFIG_KGDB_SER_INDEX 2 /* which serial port to use */
  389. #endif
  390. /*
  391. * Environment Configuration
  392. */
  393. #define CONFIG_TIMESTAMP
  394. #define CONFIG_HOSTNAME pdm360ng
  395. /* default location for tftp and bootm */
  396. #define CONFIG_LOADADDR 400000
  397. #define CONFIG_BOOTDELAY 5 /* -1 disables auto-boot */
  398. #define CONFIG_PREBOOT "echo;" \
  399. "echo PDM360NG SAMPLE;" \
  400. "echo"
  401. #define CONFIG_BOOTCOMMAND "run env_cont"
  402. #define CONFIG_OF_LIBFDT 1
  403. #define CONFIG_OF_BOARD_SETUP 1
  404. #define CONFIG_OF_SUPPORT_OLD_DEVICE_TREES 1
  405. #define CONFIG_FIT
  406. #define CONFIG_FIT_VERBOSE
  407. #define OF_CPU "PowerPC,5121@0"
  408. #define OF_SOC_COMPAT "fsl,mpc5121-immr"
  409. #define OF_TBCLK (bd->bi_busfreq / 4)
  410. #define OF_STDOUT_PATH "/soc@80000000/serial@11600"
  411. /*
  412. * Include common options for all mpc5121 boards
  413. */
  414. #include "mpc5121-common.h"
  415. #endif /* __CONFIG_H */