Skip to content

Commit d0bfe81

Browse files
ene-stevenfabiobaltieri
authored andcommitted
dts: tach: kb1200 tach device nodes
Add tach device nodes and pinctrl nodes for ENE KB1200 Signed-off-by: Steven Chang <[email protected]>
1 parent 1b49216 commit d0bfe81

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

dts/arm/ene/kb1200-pinctrl.dtsi

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,4 +101,16 @@
101101
/omit-if-no-ref/ fanpwm1_gpio74: fanpwm1_gpio74 {
102102
pinmux = <ENE_KB1200_PINMUX(0x74, PINMUX_FUNC_B)>;
103103
};
104+
/omit-if-no-ref/ tach0_gpio48: tach0_gpio48 {
105+
pinmux = <ENE_KB1200_PINMUX(0x48, PINMUX_FUNC_A)>;
106+
};
107+
/omit-if-no-ref/ tach1_gpio4e: tach1_gpio4e {
108+
pinmux = <ENE_KB1200_PINMUX(0x4E, PINMUX_FUNC_A)>;
109+
};
110+
/omit-if-no-ref/ tach2_gpio0e: tach2_gpio0e {
111+
pinmux = <ENE_KB1200_PINMUX(0x0E, PINMUX_FUNC_A)>;
112+
};
113+
/omit-if-no-ref/ tach3_gpio43: tach3_gpio43 {
114+
pinmux = <ENE_KB1200_PINMUX(0x43, PINMUX_FUNC_A)>;
115+
};
104116
};

dts/arm/ene/kb1200.dtsi

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,30 @@
214214
#pwm-cells = <3>;
215215
status = "disabled";
216216
};
217+
218+
tach0: tach@40100000 {
219+
compatible = "ene,kb1200-tach";
220+
reg = <0x40100000 0x10>;
221+
status = "disabled";
222+
};
223+
224+
tach1: tach@40100010 {
225+
compatible = "ene,kb1200-tach";
226+
reg = <0x40100010 0x10>;
227+
status = "disabled";
228+
};
229+
230+
tach2: tach@40100020 {
231+
compatible = "ene,kb1200-tach";
232+
reg = <0x40100020 0x10>;
233+
status = "disabled";
234+
};
235+
236+
tach3: tach@40100030 {
237+
compatible = "ene,kb1200-tach";
238+
reg = <0x40100030 0x10>;
239+
status = "disabled";
240+
};
217241
};
218242
};
219243

0 commit comments

Comments
 (0)