ARM: STi: STIH415: Add IR support.
This patch adds IRB support to STiH415 platforms. Tested on B2000 and B2020 development boards. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com>
This commit is contained in:
parent
d25ea58453
commit
8ccd3f3acf
2 changed files with 19 additions and 0 deletions
|
@ -120,6 +120,14 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
rc{
|
||||||
|
pinctrl_ir: ir0 {
|
||||||
|
st,pins {
|
||||||
|
ir = <&PIO4 0 ALT2 IN>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
gmac1 {
|
gmac1 {
|
||||||
pinctrl_mii1: mii1 {
|
pinctrl_mii1: mii1 {
|
||||||
st,pins {
|
st,pins {
|
||||||
|
|
|
@ -195,5 +195,16 @@
|
||||||
clock-names = "stmmaceth";
|
clock-names = "stmmaceth";
|
||||||
clocks = <&CLKS_ETH1_PHY>;
|
clocks = <&CLKS_ETH1_PHY>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
rc: rc@fe518000 {
|
||||||
|
compatible = "st,comms-irb";
|
||||||
|
reg = <0xfe518000 0x234>;
|
||||||
|
interrupts = <0 203 0>;
|
||||||
|
clocks = <&CLK_SYSIN>;
|
||||||
|
rx-mode = "infrared";
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&pinctrl_ir>;
|
||||||
|
resets = <&softreset STIH415_IRB_SOFTRESET>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue