mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-07 13:44:29 +00:00
4a69366967
Converting GPIO to DM requires to do changes in reset subsystem that's why support for Microblaze soft reset via sysreset and GPIO sysreset support was added. These two patches enables enabling GPIO DM. Microblaze soft reset is bind at last reset method. GPIO reset is handled via sysreset with adding this fragment to DT. gpio-restart { compatible = "gpio-restart"; gpios = <&reset_gpio 0 0 0>; /* 3rd cell ACTIVE_HIGH = 0, ACTIVE_LOW = 1 */ }; hard-reset-gpio property is not documented and also handled. Conversion is required. Unfortunately do_reset is required for SPL that's why use only soft microblaze reset for now. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
18 lines
533 B
C
18 lines
533 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* (C) Copyright 2007 Michal Simek
|
|
*
|
|
* Michal SIMEK <monstr@monstr.eu>
|
|
*
|
|
* CAUTION: This file is a faked configuration !!!
|
|
* There is no real target for the microblaze-generic
|
|
* configuration. You have to replace this file with
|
|
* the generated file from your Xilinx design flow.
|
|
*/
|
|
|
|
/* Microblaze is microblaze_0 */
|
|
#define XILINX_FSL_NUMBER 3
|
|
|
|
/* Flash Memory is FLASH_2Mx32 */
|
|
#define XILINX_FLASH_START 0x2c000000
|
|
#define XILINX_FLASH_SIZE 0x00800000
|