Message ID | 1500366141-30706-1-git-send-email-benjamin.gaignard@linaro.org |
---|---|
State | Superseded |
Headers | show |
Series | [1/2] arm: dts: stm32: add cec for stm32f7 familly | expand |
Hi Benjamin, On 07/18/2017 10:22 AM, Benjamin Gaignard wrote: > enable cec for stm32f769 discovery board > > Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org> > --- > arch/arm/boot/dts/stm32f769-disco.dts | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/arch/arm/boot/dts/stm32f769-disco.dts b/arch/arm/boot/dts/stm32f769-disco.dts > index 166728a..14e54da 100644 > --- a/arch/arm/boot/dts/stm32f769-disco.dts > +++ b/arch/arm/boot/dts/stm32f769-disco.dts > @@ -72,3 +72,9 @@ > pinctrl-names = "default"; > status = "okay"; > }; > + > +&cec { > + pinctrl-0 = <&cec_pins_a>; > + pinctrl-names = "default"; > + status = "okay"; > +}; > After minor changes, applied on stm32-dt-for-v4.14 branch. Thanks Alex -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/arch/arm/boot/dts/stm32f746.dtsi b/arch/arm/boot/dts/stm32f746.dtsi index 0c3dd1f..770e474 100644 --- a/arch/arm/boot/dts/stm32f746.dtsi +++ b/arch/arm/boot/dts/stm32f746.dtsi @@ -167,6 +167,15 @@ status = "disabled"; }; + cec: cec@40006c00 { + compatible = "st,stm32-cec"; + reg = <0x40006C00 0x400>; + interrupts = <94>; + clocks = <&rcc 0 STM32F7_APB1_CLOCK(CEC)>, <&rcc 1 CLK_HDMI_CEC>; + clock-names = "cec", "hdmi-cec"; + status = "disabled"; + }; + usart7: serial@40007800 { compatible = "st,stm32f7-usart", "st,stm32f7-uart"; reg = <0x40007800 0x400>; @@ -339,6 +348,15 @@ st,bank-name = "GPIOK"; }; + cec_pins_a: cec@0 { + pins { + pinmux = <STM32F746_PA15_FUNC_HDMI_CEC>; + slew-rate = <3>; + drive-open-drain; + bias-disable; + }; + }; + usart1_pins_a: usart1@0 { pins1 { pinmux = <STM32F746_PA9_FUNC_USART1_TX>;
add cec in devicetree for stm32f7 familly Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org> --- arch/arm/boot/dts/stm32f746.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html