summaryrefslogtreecommitdiff
path: root/board/xilinx/microblaze-generic/xparameters.h
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2018-07-13 08:26:28 +0200
committerMichal Simek <michal.simek@xilinx.com>2018-07-19 10:49:55 +0200
commit4a693669670fffd9a614c8c5c9f5ba027fd0185e (patch)
tree1196bc82934666aae328518b95cb508ba3ed2dba /board/xilinx/microblaze-generic/xparameters.h
parentc7e794892489316c035e6a0c9e3753306f79d4c0 (diff)
microblaze: Convert generic platform to DM gpio
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>
Diffstat (limited to 'board/xilinx/microblaze-generic/xparameters.h')
-rw-r--r--board/xilinx/microblaze-generic/xparameters.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/board/xilinx/microblaze-generic/xparameters.h b/board/xilinx/microblaze-generic/xparameters.h
index 01116d827c..5e0911faf6 100644
--- a/board/xilinx/microblaze-generic/xparameters.h
+++ b/board/xilinx/microblaze-generic/xparameters.h
@@ -13,9 +13,6 @@
/* Microblaze is microblaze_0 */
#define XILINX_FSL_NUMBER 3
-/* GPIO is LEDs_4Bit*/
-#define XILINX_GPIO_BASEADDR 0x40000000
-
/* Flash Memory is FLASH_2Mx32 */
#define XILINX_FLASH_START 0x2c000000
#define XILINX_FLASH_SIZE 0x00800000