[media] add stih-cec driver into DT
authorBenjamin Gaignard <benjamin.gaignard@linaro.org>
Thu, 15 Sep 2016 07:37:45 +0000 (04:37 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 19 Sep 2016 15:48:54 +0000 (12:48 -0300)
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Acked-by: Peter Griffin <peter.griffin@linaro.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
arch/arm/boot/dts/stih407-family.dtsi

index d294e82447a292bb24e0989191494693f7ee0ac3..9f88086b8c24f05e401439074841b9a6e02f819a 100644 (file)
                                 <&clk_s_c0_flexgen CLK_ETH_PHY>;
                };
 
+               cec: sti-cec@094a087c {
+                       compatible = "st,stih-cec";
+                       reg = <0x94a087c 0x64>;
+                       clocks = <&clk_sysin>;
+                       clock-names = "cec-clk";
+                       interrupts = <GIC_SPI 140 IRQ_TYPE_NONE>;
+                       interrupt-names = "cec-irq";
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&pinctrl_cec0_default>;
+                       resets = <&softreset STIH407_LPM_SOFTRESET>;
+               };
+
                rng10: rng@08a89000 {
                        compatible      = "st,rng";
                        reg             = <0x08a89000 0x1000>;