diff options
author | 2020-09-29 21:05:05 +0000 | |
---|---|---|
committer | 2020-09-29 21:05:05 +0000 | |
commit | 9c6ff59f34f941adc87dd12be79c0e3684c0ecf9 (patch) | |
tree | 2c90a3301e0701f7d4030f05f9a628d3de4a3dff /sys | |
parent | Edit for clarity and precision. (diff) | |
download | wireguard-openbsd-9c6ff59f34f941adc87dd12be79c0e3684c0ecf9.tar.xz wireguard-openbsd-9c6ff59f34f941adc87dd12be79c0e3684c0ecf9.zip |
Add support for A64 UART resets.
ok patrick@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/fdt/sxiccmu_clocks.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/dev/fdt/sxiccmu_clocks.h b/sys/dev/fdt/sxiccmu_clocks.h index b8664ec3d29..0c1774a77eb 100644 --- a/sys/dev/fdt/sxiccmu_clocks.h +++ b/sys/dev/fdt/sxiccmu_clocks.h @@ -669,6 +669,11 @@ struct sxiccmu_ccu_bit sun8i_a23_resets[] = { #define A64_RST_BUS_I2C0 42 #define A64_RST_BUS_I2C1 43 #define A64_RST_BUS_I2C2 44 +#define A64_RST_BUS_UART0 46 +#define A64_RST_BUS_UART1 47 +#define A64_RST_BUS_UART2 48 +#define A64_RST_BUS_UART3 49 +#define A64_RST_BUS_UART4 50 struct sxiccmu_ccu_bit sun50i_a64_resets[] = { [A64_RST_USB_PHY0] = { 0x00cc, 0 }, @@ -685,6 +690,11 @@ struct sxiccmu_ccu_bit sun50i_a64_resets[] = { [A64_RST_BUS_I2C0] = { 0x02d8, 0 }, [A64_RST_BUS_I2C1] = { 0x02d8, 1 }, [A64_RST_BUS_I2C2] = { 0x02d8, 2 }, + [A64_RST_BUS_UART0] = { 0x02d8, 16 }, + [A64_RST_BUS_UART1] = { 0x02d8, 17 }, + [A64_RST_BUS_UART2] = { 0x02d8, 18 }, + [A64_RST_BUS_UART3] = { 0x02d8, 19 }, + [A64_RST_BUS_UART4] = { 0x02d8, 20 }, }; /* A80 */ |