mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-14 15:54:15 +08:00
ARM: STi: STIH416: Add IR support.
This patch adds IRB support to STiH416 platforms. Tested on B2000 and B2020 development board Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com>
This commit is contained in:
parent
8ccd3f3acf
commit
e063735f91
@ -106,6 +106,13 @@
|
|||||||
st,retime-pin-mask = <0x7f>;
|
st,retime-pin-mask = <0x7f>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
rc{
|
||||||
|
pinctrl_ir: ir0 {
|
||||||
|
st,pins {
|
||||||
|
ir = <&PIO4 0 ALT2 IN>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
sbc_serial1 {
|
sbc_serial1 {
|
||||||
pinctrl_sbc_serial1: sbc_serial1 {
|
pinctrl_sbc_serial1: sbc_serial1 {
|
||||||
st,pins {
|
st,pins {
|
||||||
|
@ -200,5 +200,17 @@
|
|||||||
clock-names = "stmmaceth";
|
clock-names = "stmmaceth";
|
||||||
clocks = <&CLK_S_ETH1_PHY>;
|
clocks = <&CLK_S_ETH1_PHY>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
rc: rc@fe518000 {
|
||||||
|
compatible = "st,comms-irb";
|
||||||
|
reg = <0xfe518000 0x234>;
|
||||||
|
interrupts = <0 203 0>;
|
||||||
|
rx-mode = "infrared";
|
||||||
|
clocks = <&CLK_SYSIN>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&pinctrl_ir>;
|
||||||
|
resets = <&softreset STIH416_IRB_SOFTRESET>;
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user