1 /* SPDX-License-Identifier: GPL-2.0+ OR BSD-3- 1 /* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */ 2 /* 2 /* 3 * Copyright (c) 2016 BayLibre, SAS. 3 * Copyright (c) 2016 BayLibre, SAS. 4 * Author: Neil Armstrong <narmstrong@baylibre 4 * Author: Neil Armstrong <narmstrong@baylibre.com> 5 * 5 * 6 * Copyright (c) 2017 Amlogic, inc. 6 * Copyright (c) 2017 Amlogic, inc. 7 * Author: Yixun Lan <yixun.lan@amlogic.com> 7 * Author: Yixun Lan <yixun.lan@amlogic.com> 8 * 8 * 9 */ 9 */ 10 10 11 #ifndef _DT_BINDINGS_AMLOGIC_MESON_AXG_RESET_H 11 #ifndef _DT_BINDINGS_AMLOGIC_MESON_AXG_RESET_H 12 #define _DT_BINDINGS_AMLOGIC_MESON_AXG_RESET_H 12 #define _DT_BINDINGS_AMLOGIC_MESON_AXG_RESET_H 13 13 14 /* RESET0 14 /* RESET0 */ 15 #define RESET_HIU 0 15 #define RESET_HIU 0 16 #define RESET_PCIE_A 1 16 #define RESET_PCIE_A 1 17 #define RESET_PCIE_B 2 17 #define RESET_PCIE_B 2 18 #define RESET_DDR_TOP 3 18 #define RESET_DDR_TOP 3 19 /* 4 19 /* 4 */ 20 #define RESET_VIU 5 20 #define RESET_VIU 5 21 #define RESET_PCIE_PHY 6 21 #define RESET_PCIE_PHY 6 22 #define RESET_PCIE_APB 7 22 #define RESET_PCIE_APB 7 23 /* 8 23 /* 8 */ 24 /* 9 24 /* 9 */ 25 #define RESET_VENC 10 25 #define RESET_VENC 10 26 #define RESET_ASSIST 11 26 #define RESET_ASSIST 11 27 /* 12 27 /* 12 */ 28 #define RESET_VCBUS 13 28 #define RESET_VCBUS 13 29 /* 14 29 /* 14 */ 30 /* 15 30 /* 15 */ 31 #define RESET_GIC 16 31 #define RESET_GIC 16 32 #define RESET_CAPB3_DECODE 17 32 #define RESET_CAPB3_DECODE 17 33 /* 18-21 33 /* 18-21 */ 34 #define RESET_SYS_CPU_CAPB3 22 34 #define RESET_SYS_CPU_CAPB3 22 35 #define RESET_CBUS_CAPB3 23 35 #define RESET_CBUS_CAPB3 23 36 #define RESET_AHB_CNTL 24 36 #define RESET_AHB_CNTL 24 37 #define RESET_AHB_DATA 25 37 #define RESET_AHB_DATA 25 38 #define RESET_VCBUS_CLK81 26 38 #define RESET_VCBUS_CLK81 26 39 #define RESET_MMC 27 39 #define RESET_MMC 27 40 /* 28-31 40 /* 28-31 */ 41 /* RESET1 41 /* RESET1 */ 42 /* 32 42 /* 32 */ 43 /* 33 43 /* 33 */ 44 #define RESET_USB_OTG 34 44 #define RESET_USB_OTG 34 45 #define RESET_DDR 35 45 #define RESET_DDR 35 46 #define RESET_AO_RESET 36 46 #define RESET_AO_RESET 36 47 /* 37 47 /* 37 */ 48 #define RESET_AHB_SRAM 38 48 #define RESET_AHB_SRAM 38 49 /* 39 49 /* 39 */ 50 /* 40 50 /* 40 */ 51 #define RESET_DMA 41 51 #define RESET_DMA 41 52 #define RESET_ISA 42 52 #define RESET_ISA 42 53 #define RESET_ETHERNET 43 53 #define RESET_ETHERNET 43 54 /* 44 54 /* 44 */ 55 #define RESET_SD_EMMC_B 45 55 #define RESET_SD_EMMC_B 45 56 #define RESET_SD_EMMC_C 46 56 #define RESET_SD_EMMC_C 46 57 #define RESET_ROM_BOOT 47 57 #define RESET_ROM_BOOT 47 58 #define RESET_SYS_CPU_0 48 58 #define RESET_SYS_CPU_0 48 59 #define RESET_SYS_CPU_1 49 59 #define RESET_SYS_CPU_1 49 60 #define RESET_SYS_CPU_2 50 60 #define RESET_SYS_CPU_2 50 61 #define RESET_SYS_CPU_3 51 61 #define RESET_SYS_CPU_3 51 62 #define RESET_SYS_CPU_CORE_0 52 62 #define RESET_SYS_CPU_CORE_0 52 63 #define RESET_SYS_CPU_CORE_1 53 63 #define RESET_SYS_CPU_CORE_1 53 64 #define RESET_SYS_CPU_CORE_2 54 64 #define RESET_SYS_CPU_CORE_2 54 65 #define RESET_SYS_CPU_CORE_3 55 65 #define RESET_SYS_CPU_CORE_3 55 66 #define RESET_SYS_PLL_DIV 56 66 #define RESET_SYS_PLL_DIV 56 67 #define RESET_SYS_CPU_AXI 57 67 #define RESET_SYS_CPU_AXI 57 68 #define RESET_SYS_CPU_L2 58 68 #define RESET_SYS_CPU_L2 58 69 #define RESET_SYS_CPU_P 59 69 #define RESET_SYS_CPU_P 59 70 #define RESET_SYS_CPU_MBIST 60 70 #define RESET_SYS_CPU_MBIST 60 71 /* 61-63 71 /* 61-63 */ 72 /* RESET2 72 /* RESET2 */ 73 /* 64 73 /* 64 */ 74 /* 65 74 /* 65 */ 75 #define RESET_AUDIO 66 75 #define RESET_AUDIO 66 76 /* 67 76 /* 67 */ 77 #define RESET_MIPI_HOST 68 77 #define RESET_MIPI_HOST 68 78 #define RESET_AUDIO_LOCKER 69 78 #define RESET_AUDIO_LOCKER 69 79 #define RESET_GE2D 70 79 #define RESET_GE2D 70 80 /* 71-76 80 /* 71-76 */ 81 #define RESET_AO_CPU_RESET 77 81 #define RESET_AO_CPU_RESET 77 82 /* 78-95 82 /* 78-95 */ 83 /* RESET3 83 /* RESET3 */ 84 #define RESET_RING_OSCILLATOR 96 84 #define RESET_RING_OSCILLATOR 96 85 /* 97-127 85 /* 97-127 */ 86 /* RESET4 86 /* RESET4 */ 87 /* 128 87 /* 128 */ 88 /* 129 88 /* 129 */ 89 #define RESET_MIPI_PHY 130 89 #define RESET_MIPI_PHY 130 90 /* 131-14 90 /* 131-140 */ 91 #define RESET_VENCL 141 91 #define RESET_VENCL 141 92 #define RESET_I2C_MASTER_2 142 92 #define RESET_I2C_MASTER_2 142 93 #define RESET_I2C_MASTER_1 143 93 #define RESET_I2C_MASTER_1 143 94 /* 144-15 94 /* 144-159 */ 95 /* RESET5 95 /* RESET5 */ 96 /* 160-19 96 /* 160-191 */ 97 /* RESET6 97 /* RESET6 */ 98 #define RESET_PERIPHS_GENERAL 192 98 #define RESET_PERIPHS_GENERAL 192 99 #define RESET_PERIPHS_SPICC 193 99 #define RESET_PERIPHS_SPICC 193 100 /* 194 100 /* 194 */ 101 /* 195 101 /* 195 */ 102 #define RESET_PERIPHS_I2C_MASTER_0 196 102 #define RESET_PERIPHS_I2C_MASTER_0 196 103 /* 197-20 103 /* 197-200 */ 104 #define RESET_PERIPHS_UART_0 201 104 #define RESET_PERIPHS_UART_0 201 105 #define RESET_PERIPHS_UART_1 202 105 #define RESET_PERIPHS_UART_1 202 106 /* 203-20 106 /* 203-204 */ 107 #define RESET_PERIPHS_SPI_0 205 107 #define RESET_PERIPHS_SPI_0 205 108 #define RESET_PERIPHS_I2C_MASTER_3 206 108 #define RESET_PERIPHS_I2C_MASTER_3 206 109 /* 207-22 109 /* 207-223 */ 110 /* RESET7 110 /* RESET7 */ 111 #define RESET_USB_DDR_0 224 111 #define RESET_USB_DDR_0 224 112 #define RESET_USB_DDR_1 225 112 #define RESET_USB_DDR_1 225 113 #define RESET_USB_DDR_2 226 113 #define RESET_USB_DDR_2 226 114 #define RESET_USB_DDR_3 227 114 #define RESET_USB_DDR_3 227 115 /* 228 115 /* 228 */ 116 #define RESET_DEVICE_MMC_ARB 229 116 #define RESET_DEVICE_MMC_ARB 229 117 /* 230 117 /* 230 */ 118 #define RESET_VID_LOCK 231 118 #define RESET_VID_LOCK 231 119 #define RESET_A9_DMC_PIPEL 232 119 #define RESET_A9_DMC_PIPEL 232 120 #define RESET_DMC_VPU_PIPEL 233 120 #define RESET_DMC_VPU_PIPEL 233 121 /* 234-25 121 /* 234-255 */ 122 122 123 #endif 123 #endif 124 124
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.