Skip to content

Commit 0fb0d36

Browse files
valpackettAngeloGioacchino Del Regno
authored andcommitted
arm64: dts: mediatek: mt8516: add keypad node
Add a keypad matrix node for the MT8516/MT8167 SoC. Signed-off-by: Val Packett <[email protected]> Reviewed-by: Mattijs Korpershoek <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: AngeloGioacchino Del Regno <[email protected]>
1 parent 6139d9e commit 0fb0d36

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

arch/arm64/boot/dts/mediatek/mt8516.dtsi

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,17 @@
220220
clock-names = "clk13m", "bus";
221221
};
222222

223+
keypad: keypad@10002000 {
224+
compatible = "mediatek,mt8516-keypad",
225+
"mediatek,mt6779-keypad";
226+
reg = <0 0x10002000 0 0x1000>;
227+
wakeup-source;
228+
interrupts = <GIC_SPI 149 IRQ_TYPE_EDGE_FALLING>;
229+
clocks = <&clk26m>;
230+
clock-names = "kpd";
231+
status = "disabled";
232+
};
233+
223234
syscfg_pctl: syscfg-pctl@10005000 {
224235
compatible = "syscon";
225236
reg = <0 0x10005000 0 0x1000>;

0 commit comments

Comments
 (0)