From c73f9f41e18b856eae671ef5beff601c73068dcb Mon Sep 17 00:00:00 2001 From: Emil Renner Berthing Date: Sun, 24 Jul 2022 19:39:05 +0200 Subject: [PATCH] dt-bindings: reset: Add StarFive JH7110 always-on definitions Add resets for the StarFive JH7110 always-on reset controller. Signed-off-by: Emil Renner Berthing --- include/dt-bindings/reset/starfive-jh7110-aon.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 include/dt-bindings/reset/starfive-jh7110-aon.h diff --git a/include/dt-bindings/reset/starfive-jh7110-aon.h b/include/dt-bindings/reset/starfive-jh7110-aon.h new file mode 100644 index 0000000..fec4bb7 --- /dev/null +++ b/include/dt-bindings/reset/starfive-jh7110-aon.h @@ -0,0 +1,20 @@ +/* SPDX-License-Identifier: GPL-2.0 OR MIT */ +/* + * Copyright (C) 2021 Emil Renner Berthing + */ + +#ifndef __DT_BINDINGS_RESET_STARFIVE_JH7110_AON_H__ +#define __DT_BINDINGS_RESET_STARFIVE_JH7110_AON_H__ + +#define JH7110_AONRST_GMAC0_AXI 0 /* rstn_u0_u0_dw_gmac5_axi64_rstn_axi */ +#define JH7110_AONRST_GMAC0_AHB 1 /* rstn_u0_u0_dw_gmac5_axi64_rstn_ahb */ +#define JH7110_AONRST_AON_IOMUX 2 /* rstn_u0_aon_iomux_presetn */ +#define JH7110_AONRST_PMU_APB 3 /* rstn_u0_pmu_rstn_apb */ +#define JH7110_AONRST_PMU_WKUP 4 /* rstn_u0_pmu_rstn_wkup */ +#define JH7110_AONRST_RTC_APB 5 /* rstn_u0_rtc_hms_rstn_apb */ +#define JH7110_AONRST_RTC_CAL 6 /* rstn_u0_rtc_hms_rstn_cal */ +#define JH7110_AONRST_RTC_32K 7 /* rstn_u0_u7mc_sft7110_rst_core2 */ + +#define JH7110_AONRST_END 8 + +#endif /* __DT_BINDINGS_RESET_STARFIVE_JH7110_SYS_H__ */ -- 2.7.4