[Linux-stm32] [PATCH] ARM: dts: stm32: Enable I2C2 on DHCOM PDK2 carrier board

Alexandre Torgue alexandre.torgue at st.com
Wed Apr 1 09:25:49 UTC 2020


Hi Marek

On 3/22/20 7:40 PM, Marek Vasut wrote:
> The I2C2 is routed out to header X21, enable it to make it available.
> Add a comment to I2C5, which is routed to header X22 right next to it.
> 
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Alexandre Torgue <alexandre.torgue at st.com>
> Cc: Maxime Coquelin <mcoquelin.stm32 at gmail.com>
> Cc: Patrice Chotard <patrice.chotard at st.com>
> Cc: Patrick Delaunay <patrick.delaunay at st.com>
> Cc: linux-stm32 at st-md-mailman.stormreply.com
> To: linux-arm-kernel at lists.infradead.org
> ---

Applied on stm32-next.

Thanks.
Alex


>   arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dts | 14 +++++++++++++-
>   1 file changed, 13 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dts b/arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dts
> index 093cf9605807..3589d81441b1 100644
> --- a/arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dts
> +++ b/arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dts
> @@ -97,7 +97,19 @@ phy0: ethernet-phy at 1 {
>   	};
>   };
>   
> -&i2c5 {
> +&i2c2 {	/* Header X22 */
> +	pinctrl-names = "default";
> +	pinctrl-0 = <&i2c2_pins_a>;
> +	i2c-scl-rising-time-ns = <185>;
> +	i2c-scl-falling-time-ns = <20>;
> +	status = "okay";
> +	/* spare dmas for other usage */
> +	/delete-property/dmas;
> +	/delete-property/dma-names;
> +	status = "okay";
> +};
> +
> +&i2c5 {	/* Header X21 */
>   	pinctrl-names = "default";
>   	pinctrl-0 = <&i2c5_pins_a>;
>   	i2c-scl-rising-time-ns = <185>;
> 




More information about the Linux-stm32 mailing list