dts: bindings: tach: Add nodes and bindings for tachometer
Introduction of tachometer device nodes for the Microchip MEC1501 SOC. In addition, dts bindings for are also introduced. Signed-off-by: Francisco Munoz <francisco.munoz.ruiz@intel.com>
This commit is contained in:
parent
28a88fc638
commit
98bef9a08c
3 changed files with 69 additions and 0 deletions
|
@ -342,6 +342,42 @@
|
|||
#size-cells = <0>;
|
||||
status = "disabled";
|
||||
};
|
||||
tach0: tach@40006000 {
|
||||
compatible = "microchip,xec-tach";
|
||||
reg = <0x40006000 0x10>;
|
||||
interrupts = <71 4>;
|
||||
label = "TACH_0";
|
||||
status = "disabled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
};
|
||||
tach1: tach@40006010 {
|
||||
compatible = "microchip,xec-tach";
|
||||
reg = <0x40006010 0x10>;
|
||||
interrupts = <72 4>;
|
||||
label = "TACH_1";
|
||||
status = "disabled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
};
|
||||
tach2: tach@40006020 {
|
||||
compatible = "microchip,xec-tach";
|
||||
reg = <0x40006020 0x10>;
|
||||
interrupts = <73 4>;
|
||||
label = "TACH_2";
|
||||
status = "disabled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
};
|
||||
tach3: tach@40006030 {
|
||||
compatible = "microchip,xec-tach";
|
||||
reg = <0x40006030 0x10>;
|
||||
interrupts = <159 4>;
|
||||
label = "TACH_3";
|
||||
status = "disabled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
21
dts/bindings/tach/microchip,xec-tach.yaml
Normal file
21
dts/bindings/tach/microchip,xec-tach.yaml
Normal file
|
@ -0,0 +1,21 @@
|
|||
# Copyright (c) 2020, Intel Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: Microchip XEC tachometer controller
|
||||
|
||||
compatible: "microchip,xec-tach"
|
||||
|
||||
include: tach.yaml
|
||||
|
||||
properties:
|
||||
"#address-cells":
|
||||
required: true
|
||||
const: 1
|
||||
"#size-cells":
|
||||
type: int
|
||||
const: 0
|
||||
reg:
|
||||
required: true
|
||||
|
||||
interrupts:
|
||||
required: true
|
12
dts/bindings/tach/tach.yaml
Normal file
12
dts/bindings/tach/tach.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
# Copyright (c) 2020, Intel Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# Common properties for HW supported tachometers
|
||||
|
||||
include: base.yaml
|
||||
|
||||
bus: tach
|
||||
|
||||
properties:
|
||||
label:
|
||||
required: true
|
Loading…
Add table
Add a link
Reference in a new issue