WIP: device tree MVP

This commit is contained in:
Daniel Agar
2022-01-06 17:20:17 -05:00
parent 07d75d85cf
commit 1f39b42525
1395 changed files with 68755 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
# Copyright (c) 2019, Intel Corporation
# SPDX-License-Identifier: Apache-2.0
description: Microchip XEC PS/2 controller
compatible: "microchip,xec-ps2"
include: ps2.yaml
properties:
reg:
required: true
interrupts:
required: true
girq:
type: int
required: true
description: GIRQ for this device
girq-bit:
type: int
required: true
description: Bit position in GIRQ for this device
@@ -0,0 +1,19 @@
# Copyright (c) 2021 Nuvoton Technology Corporation.
# SPDX-License-Identifier: Apache-2.0
description: Nuvoton, NPCX-PS/2 channel pads node
compatible: "nuvoton,npcx-ps2-channel"
include: base.yaml
properties:
channel:
type: int
required: true
description: index of i2c channel
pinctrl-0:
type: phandles
required: true
description: configurations of pinmux controllers
@@ -0,0 +1,20 @@
# Copyright (c) 2021 Nuvoton Technology Corporation.
# SPDX-License-Identifier: Apache-2.0
description: Nuvoton, NPCX-PS/2 controller node
compatible: "nuvoton,npcx-ps2-ctrl"
include: base.yaml
bus: ps2
properties:
reg:
required: true
clocks:
required: true
interrupts:
required: true
+20
View File
@@ -0,0 +1,20 @@
# Copyright (c) 2019, Intel Corporation
# SPDX-License-Identifier: Apache-2.0
# Common properties for PS/2 devices
include: base.yaml
bus: ps2
properties:
"#address-cells":
type: int
required: true
const: 1
"#size-cells":
type: int
required: true
const: 0
label:
required: true