Resguardo inicial

This commit is contained in:
lastdragon
2026-09-06 12:53:21 -06:00
parent 662efe3c2a
commit ad2088d178
94853 changed files with 43200404 additions and 0 deletions
@@ -0,0 +1,12 @@
/* SPDX-License-Identifier: GPL-2.0-or-later OR MIT */
#ifndef __DT_BINDINGS_SOC_BCM_PMB_H
#define __DT_BINDINGS_SOC_BCM_PMB_H
#define BCM_PMB_PCIE0 0x01
#define BCM_PMB_PCIE1 0x02
#define BCM_PMB_PCIE2 0x03
#define BCM_PMB_HOST_USB 0x04
#define BCM_PMB_SATA 0x05
#endif
@@ -0,0 +1,28 @@
/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
#ifndef _DT_BINDINGS_ARM_BCM2835_PM_H
#define _DT_BINDINGS_ARM_BCM2835_PM_H
#define BCM2835_POWER_DOMAIN_GRAFX 0
#define BCM2835_POWER_DOMAIN_GRAFX_V3D 1
#define BCM2835_POWER_DOMAIN_IMAGE 2
#define BCM2835_POWER_DOMAIN_IMAGE_PERI 3
#define BCM2835_POWER_DOMAIN_IMAGE_ISP 4
#define BCM2835_POWER_DOMAIN_IMAGE_H264 5
#define BCM2835_POWER_DOMAIN_USB 6
#define BCM2835_POWER_DOMAIN_DSI0 7
#define BCM2835_POWER_DOMAIN_DSI1 8
#define BCM2835_POWER_DOMAIN_CAM0 9
#define BCM2835_POWER_DOMAIN_CAM1 10
#define BCM2835_POWER_DOMAIN_CCP2TX 11
#define BCM2835_POWER_DOMAIN_HDMI 12
#define BCM2835_POWER_DOMAIN_COUNT 13
#define BCM2835_RESET_V3D 0
#define BCM2835_RESET_ISP 1
#define BCM2835_RESET_H264 2
#define BCM2835_RESET_COUNT 3
#endif /* _DT_BINDINGS_ARM_BCM2835_PM_H */
@@ -0,0 +1,17 @@
/* SPDX-License-Identifier: GPL-2.0+ */
#ifndef __DT_BINDINGS_BMIPS_BCM6318_PM_H
#define __DT_BINDINGS_BMIPS_BCM6318_PM_H
#define BCM6318_POWER_DOMAIN_PCIE 0
#define BCM6318_POWER_DOMAIN_USB 1
#define BCM6318_POWER_DOMAIN_EPHY0 2
#define BCM6318_POWER_DOMAIN_EPHY1 3
#define BCM6318_POWER_DOMAIN_EPHY2 4
#define BCM6318_POWER_DOMAIN_EPHY3 5
#define BCM6318_POWER_DOMAIN_LDO2P5 6
#define BCM6318_POWER_DOMAIN_LDO2P9 7
#define BCM6318_POWER_DOMAIN_SW1P0 8
#define BCM6318_POWER_DOMAIN_PAD 9
#endif /* __DT_BINDINGS_BMIPS_BCM6318_PM_H */
@@ -0,0 +1,21 @@
/* SPDX-License-Identifier: GPL-2.0+ */
#ifndef __DT_BINDINGS_BMIPS_BCM63268_PM_H
#define __DT_BINDINGS_BMIPS_BCM63268_PM_H
#define BCM63268_POWER_DOMAIN_SAR 0
#define BCM63268_POWER_DOMAIN_IPSEC 1
#define BCM63268_POWER_DOMAIN_MIPS 2
#define BCM63268_POWER_DOMAIN_DECT 3
#define BCM63268_POWER_DOMAIN_USBH 4
#define BCM63268_POWER_DOMAIN_USBD 5
#define BCM63268_POWER_DOMAIN_ROBOSW 6
#define BCM63268_POWER_DOMAIN_PCM 7
#define BCM63268_POWER_DOMAIN_PERIPH 8
#define BCM63268_POWER_DOMAIN_VDSL_PHY 9
#define BCM63268_POWER_DOMAIN_VDSL_MIPS 10
#define BCM63268_POWER_DOMAIN_FAP 11
#define BCM63268_POWER_DOMAIN_PCIE 12
#define BCM63268_POWER_DOMAIN_WLAN_PADS 13
#endif /* __DT_BINDINGS_BMIPS_BCM63268_PM_H */
@@ -0,0 +1,17 @@
/* SPDX-License-Identifier: GPL-2.0+ */
#ifndef __DT_BINDINGS_BMIPS_BCM6328_PM_H
#define __DT_BINDINGS_BMIPS_BCM6328_PM_H
#define BCM6328_POWER_DOMAIN_ADSL2_MIPS 0
#define BCM6328_POWER_DOMAIN_ADSL2_PHY 1
#define BCM6328_POWER_DOMAIN_ADSL2_AFE 2
#define BCM6328_POWER_DOMAIN_SAR 3
#define BCM6328_POWER_DOMAIN_PCM 4
#define BCM6328_POWER_DOMAIN_USBD 5
#define BCM6328_POWER_DOMAIN_USBH 6
#define BCM6328_POWER_DOMAIN_PCIE 7
#define BCM6328_POWER_DOMAIN_ROBOSW 8
#define BCM6328_POWER_DOMAIN_EPHY 9
#endif /* __DT_BINDINGS_BMIPS_BCM6328_PM_H */
@@ -0,0 +1,21 @@
/* SPDX-License-Identifier: GPL-2.0+ */
#ifndef __DT_BINDINGS_BMIPS_BCM6362_PM_H
#define __DT_BINDINGS_BMIPS_BCM6362_PM_H
#define BCM6362_POWER_DOMAIN_SAR 0
#define BCM6362_POWER_DOMAIN_IPSEC 1
#define BCM6362_POWER_DOMAIN_MIPS 2
#define BCM6362_POWER_DOMAIN_DECT 3
#define BCM6362_POWER_DOMAIN_USBH 4
#define BCM6362_POWER_DOMAIN_USBD 5
#define BCM6362_POWER_DOMAIN_ROBOSW 6
#define BCM6362_POWER_DOMAIN_PCM 7
#define BCM6362_POWER_DOMAIN_PERIPH 8
#define BCM6362_POWER_DOMAIN_ADSL_PHY 9
#define BCM6362_POWER_DOMAIN_GMII_PADS 10
#define BCM6362_POWER_DOMAIN_FAP 11
#define BCM6362_POWER_DOMAIN_PCIE 12
#define BCM6362_POWER_DOMAIN_WLAN_PADS 13
#endif /* __DT_BINDINGS_BMIPS_BCM6362_PM_H */
@@ -0,0 +1,13 @@
/* SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause */
#ifndef __DT_BINDINGS_SOC_FSL_TSA_H
#define __DT_BINDINGS_SOC_FSL_TSA_H
#define FSL_CPM_TSA_NU 0 /* Pseuso Cell Id for not used item */
#define FSL_CPM_TSA_SCC2 1
#define FSL_CPM_TSA_SCC3 2
#define FSL_CPM_TSA_SCC4 3
#define FSL_CPM_TSA_SMC1 4
#define FSL_CPM_TSA_SMC2 5
#endif
@@ -0,0 +1,28 @@
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __DT_BINDINGS_QCOM_APR_H
#define __DT_BINDINGS_QCOM_APR_H
/* Domain IDs */
#define APR_DOMAIN_SIM 0x1
#define APR_DOMAIN_PC 0x2
#define APR_DOMAIN_MODEM 0x3
#define APR_DOMAIN_ADSP 0x4
#define APR_DOMAIN_APPS 0x5
#define APR_DOMAIN_MAX 0x6
/* ADSP service IDs */
#define APR_SVC_ADSP_CORE 0x3
#define APR_SVC_AFE 0x4
#define APR_SVC_VSM 0x5
#define APR_SVC_VPM 0x6
#define APR_SVC_ASM 0x7
#define APR_SVC_ADM 0x8
#define APR_SVC_ADSP_MVM 0x09
#define APR_SVC_ADSP_CVS 0x0A
#define APR_SVC_ADSP_CVP 0x0B
#define APR_SVC_USM 0x0C
#define APR_SVC_LSM 0x0D
#define APR_SVC_VIDC 0x16
#define APR_SVC_MAX 0x17
#endif /* __DT_BINDINGS_QCOM_APR_H */
@@ -0,0 +1,19 @@
/* SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause */
#ifndef __DT_BINDINGS_QCOM_GPR_H
#define __DT_BINDINGS_QCOM_GPR_H
/* DOMAINS */
#define GPR_DOMAIN_ID_MODEM 1
#define GPR_DOMAIN_ID_ADSP 2
#define GPR_DOMAIN_ID_APPS 3
/* Static Services */
#define GPR_APM_MODULE_IID 1
#define GPR_PRM_MODULE_IID 2
#define GPR_AMDB_MODULE_IID 3
#define GPR_VCPM_MODULE_IID 4
#endif /* __DT_BINDINGS_QCOM_GPR_H */
@@ -0,0 +1,18 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/* Copyright (c) 2013, The Linux Foundation. All rights reserved.
*/
#ifndef __DT_BINDINGS_QCOM_GSBI_H
#define __DT_BINDINGS_QCOM_GSBI_H
#define GSBI_PROT_IDLE 0
#define GSBI_PROT_I2C_UIM 1
#define GSBI_PROT_I2C 2
#define GSBI_PROT_SPI 3
#define GSBI_PROT_UART_W_FC 4
#define GSBI_PROT_UIM 5
#define GSBI_PROT_I2C_UART 6
#define GSBI_CRCI_QUP 0
#define GSBI_CRCI_UART 1
#endif
@@ -0,0 +1,14 @@
/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2016-2018, The Linux Foundation. All rights reserved.
*/
#ifndef __DT_QCOM_RPMH_RSC_H__
#define __DT_QCOM_RPMH_RSC_H__
#define SLEEP_TCS 0
#define WAKE_TCS 1
#define ACTIVE_TCS 2
#define CONTROL_TCS 3
#endif /* __DT_QCOM_RPMH_RSC_H__ */
@@ -0,0 +1,13 @@
/* SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause */
#ifndef __DT_BINDINGS_SOC_FSL_QE_TSA_H
#define __DT_BINDINGS_SOC_FSL_QE_TSA_H
#define FSL_QE_TSA_NU 0
#define FSL_QE_TSA_UCC1 1
#define FSL_QE_TSA_UCC2 2
#define FSL_QE_TSA_UCC3 3
#define FSL_QE_TSA_UCC4 4
#define FSL_QE_TSA_UCC5 5
#endif
@@ -0,0 +1,28 @@
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
#ifndef _DT_BINDINGS_SOC_RENESAS_R8A78000_MFIS_H
#define _DT_BINDINGS_SOC_RENESAS_R8A78000_MFIS_H
/*
* Constants for the second mbox-cell of the Renesas MFIS IP core. To be treated
* as bit flags which can be ORed.
*/
/*
* MFIS HW design before r8a78001 requires a channel to be marked as either
* TX or RX.
*/
#define MFIS_CHANNEL_TX (0 << 0)
#define MFIS_CHANNEL_RX (1 << 0)
/*
* MFIS variants before r8a78001 work with pairs of IICR and EICR registers.
* Usually, it is specified in the datasheets which of the two a specific core
* should use. Then, it does not need extra description in DT. For plain MFIS
* of r8a78000, this is selectable, though. According to the system design and
* the firmware in use, these channels need to be marked. This is not needed
* with other versions of the MFIS, not even with MFIS-SCP of r8a78000.
*/
#define MFIS_CHANNEL_IICR (0 << 1)
#define MFIS_CHANNEL_EICR (1 << 1)
#endif /* _DT_BINDINGS_SOC_RENESAS_R8A78000_MFIS_H */
@@ -0,0 +1,16 @@
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __ROCKCHIP_BOOT_MODE_H
#define __ROCKCHIP_BOOT_MODE_H
/*high 24 bits is tag, low 8 bits is type*/
#define REBOOT_FLAG 0x5242C300
/* normal boot */
#define BOOT_NORMAL (REBOOT_FLAG + 0)
/* enter bootloader rockusb mode */
#define BOOT_BL_DOWNLOAD (REBOOT_FLAG + 1)
/* enter recovery */
#define BOOT_RECOVERY (REBOOT_FLAG + 3)
/* enter fastboot mode */
#define BOOT_FASTBOOT (REBOOT_FLAG + 9)
#endif
@@ -0,0 +1,18 @@
/* SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause */
#ifndef __DT_BINDINGS_ROCKCHIP_VOP2_H
#define __DT_BINDINGS_ROCKCHIP_VOP2_H
#define ROCKCHIP_VOP2_EP_RGB0 1
#define ROCKCHIP_VOP2_EP_HDMI0 2
#define ROCKCHIP_VOP2_EP_EDP0 3
#define ROCKCHIP_VOP2_EP_MIPI0 4
#define ROCKCHIP_VOP2_EP_LVDS0 5
#define ROCKCHIP_VOP2_EP_MIPI1 6
#define ROCKCHIP_VOP2_EP_LVDS1 7
#define ROCKCHIP_VOP2_EP_HDMI1 8
#define ROCKCHIP_VOP2_EP_EDP1 9
#define ROCKCHIP_VOP2_EP_DP0 10
#define ROCKCHIP_VOP2_EP_DP1 11
#endif /* __DT_BINDINGS_ROCKCHIP_VOP2_H */
@@ -0,0 +1,18 @@
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
/*
* Copyright (c) 2022 Samsung Electronics Co., Ltd.
* Author: Chanho Park <chanho61.park@samsung.com>
*
* Device Tree bindings for Samsung Boot Mode.
*/
#ifndef __DT_BINDINGS_SAMSUNG_BOOT_MODE_H
#define __DT_BINDINGS_SAMSUNG_BOOT_MODE_H
/* Boot mode definitions for Exynos Auto v9 SoC */
#define EXYNOSAUTOV9_BOOT_FASTBOOT 0xfa
#define EXYNOSAUTOV9_BOOT_BOOTLOADER 0xfc
#define EXYNOSAUTOV9_BOOT_RECOVERY 0xff
#endif /* __DT_BINDINGS_SAMSUNG_BOOT_MODE_H */
@@ -0,0 +1,26 @@
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
/*
* Copyright (c) 2021 Linaro Ltd.
* Author: Sam Protsenko <semen.protsenko@linaro.org>
*
* Device Tree bindings for Samsung Exynos USI (Universal Serial Interface).
*/
#ifndef __DT_BINDINGS_SAMSUNG_EXYNOS_USI_H
#define __DT_BINDINGS_SAMSUNG_EXYNOS_USI_H
#define USI_MODE_NONE 0
#define USI_MODE_UART 1
#define USI_MODE_SPI 2
#define USI_MODE_I2C 3
#define USI_MODE_I2C1 4
#define USI_MODE_I2C0_1 5
#define USI_MODE_UART_I2C1 6
/* Deprecated */
#define USI_V2_NONE USI_MODE_NONE
#define USI_V2_UART USI_MODE_UART
#define USI_V2_SPI USI_MODE_SPI
#define USI_V2_I2C USI_MODE_I2C
#endif /* __DT_BINDINGS_SAMSUNG_EXYNOS_USI_H */
@@ -0,0 +1,16 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2019-2020, NVIDIA CORPORATION. All rights reserved.
*/
#ifndef _DT_BINDINGS_SOC_TEGRA_PMC_H
#define _DT_BINDINGS_SOC_TEGRA_PMC_H
#define TEGRA_PMC_CLK_OUT_1 0
#define TEGRA_PMC_CLK_OUT_2 1
#define TEGRA_PMC_CLK_OUT_3 2
#define TEGRA_PMC_CLK_BLINK 3
#define TEGRA_PMC_CLK_MAX 4
#endif /* _DT_BINDINGS_SOC_TEGRA_PMC_H */
@@ -0,0 +1,9 @@
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __DT_BINDINGS_TI_SCI_PM_DOMAIN_H
#define __DT_BINDINGS_TI_SCI_PM_DOMAIN_H
#define TI_SCI_PD_EXCLUSIVE 1
#define TI_SCI_PD_SHARED 0
#endif /* __DT_BINDINGS_TI_SCI_PM_DOMAIN_H */