dts: power: Add npcx PSL DT node.

Add NPCX Power Switch Logic (PSL) DT node which controls the power rails
of SoC to get better power consumption.

Signed-off-by: Mulin Chao <mlchao@nuvoton.com>
This commit is contained in:
Mulin Chao 2022-06-08 02:26:10 -07:00 committed by Fabio Baltieri
commit 5bb33e9a1d
2 changed files with 26 additions and 0 deletions

View file

@ -691,6 +691,12 @@
label = "I2C_7_PORT_0";
status = "disabled";
};
power_ctrl_psl: power-ctrl-psl {
compatible = "nuvoton,npcx-power-psl";
label = "POWER_CONTROL_PSL";
status = "disabled";
};
};
soc-id {

View file

@ -0,0 +1,20 @@
# Copyright (c) 2022 Nuvoton Technology Corporation.
# SPDX-License-Identifier: Apache-2.0
description: Nuvoton, NPCX Power Switch Logic (PSL) control node
compatible: "nuvoton,npcx-power-psl"
include: [base.yaml, pinctrl-device.yaml]
properties:
enable-gpios:
type: phandle-array
required: true
description: |
GPIO to used to turn on/off the Core Domain power supply (VCC1) of NPCX
embedded controller (EC)
pinctrl-0:
required: true
pinctrl-names:
required: true