blob: a012705870f782446fd4cb5b06bab705714b9b27 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Albert ARIBAUD \(3ADEV\)ddef3b62016-09-26 09:08:08 +02002/*
3 * Copyright 2016 3ADEV <http://3adev.com>
4 * Written-by: Albert ARIBAUD <albert.aribaud@3adev.fr>
5 *
6 * Configuration settings for the phytec PCM-052 SoM-based BK4R1.
Albert ARIBAUD \(3ADEV\)ddef3b62016-09-26 09:08:08 +02007 */
8
9/* Define the BK4r1-specific env commands */
10#define PCM052_EXTRA_ENV_SETTINGS \
11 "set_gpio103=mw 0x400ff0c4 0x0080; mw 0x4004819C 0x000011bf\0" \
12 "set_gpio122=mw 0x400481e8 0x0282; mw 0x400ff0c4 0x04000000\0"
13
14/* BK4r1 boot command sets GPIO103/PTC30 to force USB hub out of reset*/
15#define PCM052_BOOTCOMMAND "run set_gpio103; sf probe; "
16
17/* BK4r1 net init sets GPIO122/PTE17 to enable Ethernet */
18#define PCM052_NET_INIT "run set_gpio122; "
19
20/* add NOR to MTD env */
Albert ARIBAUD \(3ADEV\)ddef3b62016-09-26 09:08:08 +020021
22/* now include standard PCM052 config */
23
24#include "configs/pcm052.h"