diff options
author | Gabriel FERNANDEZ <gabriel.fernandez@st.com> | 2014-04-11 17:07:00 +0200 |
---|---|---|
committer | Maxime Coquelin <maxime.coquelin@st.com> | 2014-05-21 14:27:06 +0200 |
commit | c316d7d420ca6cad6b5b992b581122c6607553e4 (patch) | |
tree | 622c6e0c5556985a4869a23b0b7be15ff90b0023 /arch/arm/boot/dts/stih415.dtsi | |
parent | driver: reset: sti: add keyscan for stih416 (diff) | |
download | linux-c316d7d420ca6cad6b5b992b581122c6607553e4.tar.xz linux-c316d7d420ca6cad6b5b992b581122c6607553e4.zip |
ARM: STi: DT: add keyscan for stih415
Add keyscan support for stih415.
It is put disabled by default because it is not enabled on all boards
Also there are PIOs conflict with already claimed lines.
Acked-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Giuseppe Condorelli <giuseppe.condorelli@st.com>
Signed-off-by: Gabriel Fernandez <gabriel.fernandez@linaro.org>
Signed-off-by: Maxime Coquelin <maxime.coquelin@st.com>
Diffstat (limited to 'arch/arm/boot/dts/stih415.dtsi')
-rw-r--r-- | arch/arm/boot/dts/stih415.dtsi | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stih415.dtsi b/arch/arm/boot/dts/stih415.dtsi index d89064c20c8a..ba0905c65527 100644 --- a/arch/arm/boot/dts/stih415.dtsi +++ b/arch/arm/boot/dts/stih415.dtsi @@ -206,5 +206,17 @@ pinctrl-0 = <&pinctrl_ir>; resets = <&softreset STIH415_IRB_SOFTRESET>; }; + + keyscan: keyscan@fe4b0000 { + compatible = "st,sti-keyscan"; + status = "disabled"; + reg = <0xfe4b0000 0x2000>; + interrupts = <GIC_SPI 212 IRQ_TYPE_NONE>; + clocks = <&CLK_SYSIN>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_keyscan>; + resets = <&powerdown STIH415_KEYSCAN_POWERDOWN>, + <&softreset STIH415_KEYSCAN_SOFTRESET>; + }; }; }; |