/* SPDX-License-Identifier: GPL-2.0-only */1/*2* Microchip SAMA7 SFRBU registers offsets and bit definitions.3*4* Copyright (C) [2020] Microchip Technology Inc. and its subsidiaries5*6* Author: Claudu Beznea <[email protected]>7*/89#ifndef __SAMA7_SFRBU_H__10#define __SAMA7_SFRBU_H__1112#ifdef CONFIG_SOC_SAMA71314#define AT91_SFRBU_PSWBU (0x00) /* SFRBU Power Switch BU Control Register */15#define AT91_SFRBU_PSWBU_PSWKEY (0x4BD20C << 8) /* Specific value mandatory to allow writing of other register bits */16#define AT91_SFRBU_PSWBU_STATE (1 << 2) /* Power switch BU state */17#define AT91_SFRBU_PSWBU_SOFTSWITCH (1 << 1) /* Power switch BU source selection */18#define AT91_SFRBU_PSWBU_CTRL (1 << 0) /* Power switch BU control */1920#define AT91_FRBU_DDRPWR (0x10) /* SFRBU DDR Power Control Register */21#define AT91_FRBU_DDRPWR_STATE (1 << 0) /* DDR Power Mode State */2223#endif /* CONFIG_SOC_SAMA7 */2425#endif /* __SAMA7_SFRBU_H__ */26272829