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:
parent
851e357aa4
commit
5bb33e9a1d
2 changed files with 26 additions and 0 deletions
|
@ -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 {
|
||||
|
|
20
dts/bindings/power/nuvoton,npcx-power-psl.yaml
Normal file
20
dts/bindings/power/nuvoton,npcx-power-psl.yaml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue