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) 2019 BayLibre, SAS. 3 * Copyright (c) 2019 BayLibre, SAS. 4 * Author: Jerome Brunet <jbrunet@baylibre.com 4 * Author: Jerome Brunet <jbrunet@baylibre.com> 5 * 5 * 6 */ 6 */ 7 7 8 #ifndef _DT_BINDINGS_AMLOGIC_MESON_G12A_RESET_ 8 #ifndef _DT_BINDINGS_AMLOGIC_MESON_G12A_RESET_H 9 #define _DT_BINDINGS_AMLOGIC_MESON_G12A_RESET_ 9 #define _DT_BINDINGS_AMLOGIC_MESON_G12A_RESET_H 10 10 11 /* RESET0 11 /* RESET0 */ 12 #define RESET_HIU 0 12 #define RESET_HIU 0 13 /* 1 13 /* 1 */ 14 #define RESET_DOS 2 14 #define RESET_DOS 2 15 /* 3-4 15 /* 3-4 */ 16 #define RESET_VIU 5 16 #define RESET_VIU 5 17 #define RESET_AFIFO 6 17 #define RESET_AFIFO 6 18 #define RESET_VID_PLL_DIV 7 18 #define RESET_VID_PLL_DIV 7 19 /* 8-9 19 /* 8-9 */ 20 #define RESET_VENC 10 20 #define RESET_VENC 10 21 #define RESET_ASSIST 11 21 #define RESET_ASSIST 11 22 #define RESET_PCIE_CTRL_A 12 22 #define RESET_PCIE_CTRL_A 12 23 #define RESET_VCBUS 13 23 #define RESET_VCBUS 13 24 #define RESET_PCIE_PHY 14 24 #define RESET_PCIE_PHY 14 25 #define RESET_PCIE_APB 15 25 #define RESET_PCIE_APB 15 26 #define RESET_GIC 16 26 #define RESET_GIC 16 27 #define RESET_CAPB3_DECODE 17 27 #define RESET_CAPB3_DECODE 17 28 /* 18 28 /* 18 */ 29 #define RESET_HDMITX_CAPB3 19 29 #define RESET_HDMITX_CAPB3 19 30 #define RESET_DVALIN_CAPB3 20 30 #define RESET_DVALIN_CAPB3 20 31 #define RESET_DOS_CAPB3 21 31 #define RESET_DOS_CAPB3 21 32 /* 22 32 /* 22 */ 33 #define RESET_CBUS_CAPB3 23 33 #define RESET_CBUS_CAPB3 23 34 #define RESET_AHB_CNTL 24 34 #define RESET_AHB_CNTL 24 35 #define RESET_AHB_DATA 25 35 #define RESET_AHB_DATA 25 36 #define RESET_VCBUS_CLK81 26 36 #define RESET_VCBUS_CLK81 26 37 /* 27-31 37 /* 27-31 */ 38 /* RESET1 38 /* RESET1 */ 39 /* 32 39 /* 32 */ 40 #define RESET_DEMUX 33 40 #define RESET_DEMUX 33 41 #define RESET_USB 34 41 #define RESET_USB 34 42 #define RESET_DDR 35 42 #define RESET_DDR 35 43 /* 36 43 /* 36 */ 44 #define RESET_BT656 37 44 #define RESET_BT656 37 45 #define RESET_AHB_SRAM 38 45 #define RESET_AHB_SRAM 38 46 /* 39 46 /* 39 */ 47 #define RESET_PARSER 40 47 #define RESET_PARSER 40 48 /* 41 48 /* 41 */ 49 #define RESET_ISA 42 49 #define RESET_ISA 42 50 #define RESET_ETHERNET 43 50 #define RESET_ETHERNET 43 51 #define RESET_SD_EMMC_A 44 51 #define RESET_SD_EMMC_A 44 52 #define RESET_SD_EMMC_B 45 52 #define RESET_SD_EMMC_B 45 53 #define RESET_SD_EMMC_C 46 53 #define RESET_SD_EMMC_C 46 54 /* 47 54 /* 47 */ 55 #define RESET_USB_PHY20 48 55 #define RESET_USB_PHY20 48 56 #define RESET_USB_PHY21 49 56 #define RESET_USB_PHY21 49 57 /* 50-60 57 /* 50-60 */ 58 #define RESET_AUDIO_CODEC 61 58 #define RESET_AUDIO_CODEC 61 59 /* 62-63 59 /* 62-63 */ 60 /* RESET2 60 /* RESET2 */ 61 /* 64 61 /* 64 */ 62 #define RESET_AUDIO 65 62 #define RESET_AUDIO 65 63 #define RESET_HDMITX_PHY 66 63 #define RESET_HDMITX_PHY 66 64 /* 67 64 /* 67 */ 65 #define RESET_MIPI_DSI_HOST 68 65 #define RESET_MIPI_DSI_HOST 68 66 #define RESET_ALOCKER 69 66 #define RESET_ALOCKER 69 67 #define RESET_GE2D 70 67 #define RESET_GE2D 70 68 #define RESET_PARSER_REG 71 68 #define RESET_PARSER_REG 71 69 #define RESET_PARSER_FETCH 72 69 #define RESET_PARSER_FETCH 72 70 #define RESET_CTL 73 70 #define RESET_CTL 73 71 #define RESET_PARSER_TOP 74 71 #define RESET_PARSER_TOP 74 72 /* 75 !! 72 /* 75-77 */ 73 #define RESET_NNA 76 << 74 /* 77 << 75 #define RESET_DVALIN 78 73 #define RESET_DVALIN 78 76 #define RESET_HDMITX 79 74 #define RESET_HDMITX 79 77 /* 80-95 75 /* 80-95 */ 78 /* RESET3 76 /* RESET3 */ 79 /* 96-95 77 /* 96-95 */ 80 #define RESET_DEMUX_TOP 105 78 #define RESET_DEMUX_TOP 105 81 #define RESET_DEMUX_DES_PL 106 79 #define RESET_DEMUX_DES_PL 106 82 #define RESET_DEMUX_S2P_0 107 80 #define RESET_DEMUX_S2P_0 107 83 #define RESET_DEMUX_S2P_1 108 81 #define RESET_DEMUX_S2P_1 108 84 #define RESET_DEMUX_0 109 82 #define RESET_DEMUX_0 109 85 #define RESET_DEMUX_1 110 83 #define RESET_DEMUX_1 110 86 #define RESET_DEMUX_2 111 84 #define RESET_DEMUX_2 111 87 /* 112-12 85 /* 112-127 */ 88 /* RESET4 86 /* RESET4 */ 89 /* 128-12 87 /* 128-129 */ 90 #define RESET_MIPI_DSI_PHY 130 88 #define RESET_MIPI_DSI_PHY 130 91 /* 131-13 89 /* 131-132 */ 92 #define RESET_RDMA 133 90 #define RESET_RDMA 133 93 #define RESET_VENCI 134 91 #define RESET_VENCI 134 94 #define RESET_VENCP 135 92 #define RESET_VENCP 135 95 /* 136 93 /* 136 */ 96 #define RESET_VDAC 137 94 #define RESET_VDAC 137 97 /* 138-13 95 /* 138-139 */ 98 #define RESET_VDI6 140 96 #define RESET_VDI6 140 99 #define RESET_VENCL 141 97 #define RESET_VENCL 141 100 #define RESET_I2C_M1 142 98 #define RESET_I2C_M1 142 101 #define RESET_I2C_M2 143 99 #define RESET_I2C_M2 143 102 /* 144-15 100 /* 144-159 */ 103 /* RESET5 101 /* RESET5 */ 104 /* 160-19 102 /* 160-191 */ 105 /* RESET6 103 /* RESET6 */ 106 #define RESET_GEN 192 104 #define RESET_GEN 192 107 #define RESET_SPICC0 193 105 #define RESET_SPICC0 193 108 #define RESET_SC 194 106 #define RESET_SC 194 109 #define RESET_SANA_3 195 107 #define RESET_SANA_3 195 110 #define RESET_I2C_M0 196 108 #define RESET_I2C_M0 196 111 #define RESET_TS_PLL 197 109 #define RESET_TS_PLL 197 112 #define RESET_SPICC1 198 110 #define RESET_SPICC1 198 113 #define RESET_STREAM 199 111 #define RESET_STREAM 199 114 #define RESET_TS_CPU 200 112 #define RESET_TS_CPU 200 115 #define RESET_UART0 201 113 #define RESET_UART0 201 116 #define RESET_UART1_2 202 114 #define RESET_UART1_2 202 117 #define RESET_ASYNC0 203 115 #define RESET_ASYNC0 203 118 #define RESET_ASYNC1 204 116 #define RESET_ASYNC1 204 119 #define RESET_SPIFC0 205 117 #define RESET_SPIFC0 205 120 #define RESET_I2C_M3 206 118 #define RESET_I2C_M3 206 121 /* 207-22 119 /* 207-223 */ 122 /* RESET7 120 /* RESET7 */ 123 #define RESET_USB_DDR_0 224 121 #define RESET_USB_DDR_0 224 124 #define RESET_USB_DDR_1 225 122 #define RESET_USB_DDR_1 225 125 #define RESET_USB_DDR_2 226 123 #define RESET_USB_DDR_2 226 126 #define RESET_USB_DDR_3 227 124 #define RESET_USB_DDR_3 227 127 #define RESET_TS_GPU 228 125 #define RESET_TS_GPU 228 128 #define RESET_DEVICE_MMC_ARB 229 126 #define RESET_DEVICE_MMC_ARB 229 129 #define RESET_DVALIN_DMC_PIPL 230 127 #define RESET_DVALIN_DMC_PIPL 230 130 #define RESET_VID_LOCK 231 128 #define RESET_VID_LOCK 231 131 #define RESET_NIC_DMC_PIPL 232 129 #define RESET_NIC_DMC_PIPL 232 132 #define RESET_DMC_VPU_PIPL 233 130 #define RESET_DMC_VPU_PIPL 233 133 #define RESET_GE2D_DMC_PIPL 234 131 #define RESET_GE2D_DMC_PIPL 234 134 #define RESET_HCODEC_DMC_PIPL 235 132 #define RESET_HCODEC_DMC_PIPL 235 135 #define RESET_WAVE420_DMC_PIPL 236 133 #define RESET_WAVE420_DMC_PIPL 236 136 #define RESET_HEVCF_DMC_PIPL 237 134 #define RESET_HEVCF_DMC_PIPL 237 137 /* 238-25 135 /* 238-255 */ 138 136 139 #endif 137 #endif 140 138
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.