mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-07 13:23:20 +09:00
![Nicolas Saenz Julienne](/assets/img/avatar_default.png)
Raspberry Pi 4's co-processor controls some of the board's HW initialization process, but it's up to Linux to trigger it when relevant. Introduce a reset controller capable of interfacing with RPi4's co-processor that models these firmware initialization routines as reset lines. Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de> Signed-off-by: Matthias Brugger <mbrugger@suse.com>
14 lines
350 B
C
14 lines
350 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (c) 2020 Nicolas Saenz Julienne
|
|
* Author: Nicolas Saenz Julienne <nsaenzjulienne@suse.com>
|
|
*/
|
|
|
|
#ifndef _DT_BINDINGS_RASPBERRYPI_FIRMWARE_RESET_H
|
|
#define _DT_BINDINGS_RASPBERRYPI_FIRMWARE_RESET_H
|
|
|
|
#define RASPBERRYPI_FIRMWARE_RESET_ID_USB 0
|
|
#define RASPBERRYPI_FIRMWARE_RESET_NUM_IDS 1
|
|
|
|
#endif
|