summaryrefslogtreecommitdiff
path: root/board/keymile/kmp204x/kmp204x.h
blob: b6ba67241302ad4825bde46122b847a8ae7d20de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 * (C) Copyright 2013 Keymile AG
 * Valentin Longchamp <valentin.longchamp@keymile.com>
 *
 * SPDX-License-Identifier:	GPL-2.0+
 */

#define PRSTCFG_POWUP_UNIT_CORE_RST	0x0
#define PRSTCFG_POWUP_UNIT_RST		0x1
#define PRSTCFG_POWUP_RST		0x3

void qrio_prst(u8 bit, bool en, bool wden);
void qrio_prstcfg(u8 bit, u8 mode);

void pci_of_setup(void *blob, bd_t *bd);