[PATCH] dt-bindings: xilinx: Add missing ids for PD

Michal Simek monstr at monstr.eu
Tue Apr 5 15:12:24 CEST 2022


st 30. 3. 2022 v 9:56 odesílatel Michal Simek <michal.simek at xilinx.com> napsal:
>
> There are some new power domain IDs which are used in Linux kernel that's
> why add them here too.
>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
>
>  include/dt-bindings/power/xlnx-versal-power.h | 11 +++++++++++
>  include/dt-bindings/power/xlnx-zynqmp-power.h | 11 +++++++++++
>  2 files changed, 22 insertions(+)
>
> diff --git a/include/dt-bindings/power/xlnx-versal-power.h b/include/dt-bindings/power/xlnx-versal-power.h
> index 4a727754ad02..51d1def67739 100644
> --- a/include/dt-bindings/power/xlnx-versal-power.h
> +++ b/include/dt-bindings/power/xlnx-versal-power.h
> @@ -6,6 +6,16 @@
>  #ifndef _DT_BINDINGS_VERSAL_POWER_H
>  #define _DT_BINDINGS_VERSAL_POWER_H
>
> +#define PM_DEV_RPU0_0                          (0x18110005U)
> +#define PM_DEV_RPU0_1                          (0x18110006U)
> +#define PM_DEV_OCM_0                           (0x18314007U)
> +#define PM_DEV_OCM_1                           (0x18314008U)
> +#define PM_DEV_OCM_2                           (0x18314009U)
> +#define PM_DEV_OCM_3                           (0x1831400aU)
> +#define PM_DEV_TCM_0_A                         (0x1831800bU)
> +#define PM_DEV_TCM_0_B                         (0x1831800cU)
> +#define PM_DEV_TCM_1_A                         (0x1831800dU)
> +#define PM_DEV_TCM_1_B                         (0x1831800eU)
>  #define PM_DEV_USB_0                           (0x18224018U)
>  #define PM_DEV_GEM_0                           (0x18224019U)
>  #define PM_DEV_GEM_1                           (0x1822401aU)
> @@ -38,6 +48,7 @@
>  #define PM_DEV_ADMA_5                          (0x1822403aU)
>  #define PM_DEV_ADMA_6                          (0x1822403bU)
>  #define PM_DEV_ADMA_7                          (0x1822403cU)
> +#define PM_DEV_AMS_ROOT                                (0x18224055U)
>  #define PM_DEV_AI                              (0x18224072U)
>
>  #endif
> diff --git a/include/dt-bindings/power/xlnx-zynqmp-power.h b/include/dt-bindings/power/xlnx-zynqmp-power.h
> index 0d9a412fd5e0..e7eb0960480a 100644
> --- a/include/dt-bindings/power/xlnx-zynqmp-power.h
> +++ b/include/dt-bindings/power/xlnx-zynqmp-power.h
> @@ -6,6 +6,16 @@
>  #ifndef _DT_BINDINGS_ZYNQMP_POWER_H
>  #define _DT_BINDINGS_ZYNQMP_POWER_H
>
> +#define                PD_RPU_0        6
> +#define                PD_RPU_1        7
> +#define                PD_OCM_BANK_0   11
> +#define                PD_OCM_BANK_1   12
> +#define                PD_OCM_BANK_2   13
> +#define                PD_OCM_BANK_3   14
> +#define                PD_TCM_BANK_0   15
> +#define                PD_TCM_BANK_1   16
> +#define                PD_TCM_BANK_2   17
> +#define                PD_TCM_BANK_3   18
>  #define                PD_USB_0        22
>  #define                PD_USB_1        23
>  #define                PD_TTC_0        24
> @@ -35,5 +45,6 @@
>  #define                PD_CAN_1        48
>  #define                PD_GPU          58
>  #define                PD_PCIE         59
> +#define                PD_PL           69
>
>  #endif
> --
> 2.35.1
>

Applied.
M

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs


More information about the U-Boot mailing list