forked from OERV-BSP/u-boot
Agilex5 FSBL is required to disable the power of unused peripheral SRAM blocks to reduce power consumption. Introducing a new power manager driver for Agilex5 which will be called as part of Agilex5 SPL initialization process. This driver will read the peripheral handoff data obtained from the bitstream and will power off the specified peripheral's SRAM from the handoff data values. Signed-off-by: Alif Zakuan Yuslaimi <alif.zakuan.yuslaimi@altera.com> Reviewed-by: Tien Fong Chee <tien.fong.chee@altera.com>
40 lines
844 B
YAML
40 lines
844 B
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: "http://devicetree.org/schemas/power/altr,pmgr-agilex5.yaml#"
|
|
$schema: "http://devicetree.org/meta-schemas/core.yaml#"
|
|
|
|
title: Altera Agilex5 Power Manager
|
|
|
|
maintainers:
|
|
- name: Alif Zakuan Yuslaimi
|
|
email: alif.zakuan.yuslaimi@altera.com
|
|
|
|
description: |
|
|
This controller will read the peripheral handoff data obtained from the
|
|
bitstream and will power gate the specified peripheral's SRAM from the
|
|
handoff data values to reduce power consumption.
|
|
|
|
properties:
|
|
compatible:
|
|
const: "altr,pmgr-agilex5"
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
bootph-all: true
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
pwrmgr: pwrmgr@10d14000 {
|
|
compatible = "altr,pmgr-agilex5";
|
|
reg = <0x10d14000 0x100>;
|
|
bootph-all;
|
|
};
|