Commit 5fac0d32 authored by Andre Przywara's avatar Andre Przywara
Browse files

allwinner: H6: Fix GPIO and CCU memory map addresses



The base address for both the GPIO and the clock unit of the H6 memory map
have been typo-ed. Fix them to match the Linux DT and the manual.

The H6 code use neither of them, so this doesn't change or fix anything
in the real world, but should be corrected anyway.

The issue was found and reported by Github user "armlabs".

Change-Id: Ic6fdfb732ce1cfc54cbb927718035624a06a9e08
Signed-off-by: default avatarAndre Przywara <andre.przywara@arm.com>
parent c9796852
...@@ -29,9 +29,9 @@ ...@@ -29,9 +29,9 @@
#define SUNXI_SID_BASE 0x03006000 #define SUNXI_SID_BASE 0x03006000
#define SUNXI_DMA_BASE 0x03002000 #define SUNXI_DMA_BASE 0x03002000
#define SUNXI_MSGBOX_BASE 0x03003000 #define SUNXI_MSGBOX_BASE 0x03003000
#define SUNXI_CCU_BASE 0x03010000 #define SUNXI_CCU_BASE 0x03001000
#define SUNXI_CCU_SEC_SWITCH_REG (SUNXI_CCU_BASE + 0xf00) #define SUNXI_CCU_SEC_SWITCH_REG (SUNXI_CCU_BASE + 0xf00)
#define SUNXI_PIO_BASE 0x030b0000 #define SUNXI_PIO_BASE 0x0300b000
#define SUNXI_TIMER_BASE 0x03009000 #define SUNXI_TIMER_BASE 0x03009000
#define SUNXI_WDOG_BASE 0x030090a0 #define SUNXI_WDOG_BASE 0x030090a0
#define SUNXI_THS_BASE 0x05070400 #define SUNXI_THS_BASE 0x05070400
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment