According to Documentation/devicetree/bindings/serial/rs485.txt the rs485-rts-delay parameter is required. To prepare making use of of_get_rs485_mode which is strict here, add this property to all at91 compatible devices that make use of one of the optional properties. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> --- Cc: Nicolas Ferre <nicolas.ferre@xxxxxxxxxxxxx> Cc: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxxxxxxxxx> arch/arm/boot/dts/animeo_ip.dts | 2 ++ arch/arm/boot/dts/at91-vinco.dts | 1 + 2 files changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/animeo_ip.dts b/arch/arm/boot/dts/animeo_ip.dts index 9cc372b9fb9b..26fea9d79f27 100644 --- a/arch/arm/boot/dts/animeo_ip.dts +++ b/arch/arm/boot/dts/animeo_ip.dts @@ -45,12 +45,14 @@ apb { usart0: serial@fffb0000 { pinctrl-0 = <&pinctrl_usart0 &pinctrl_usart0_rts>; + rs485-rts-delay = <0 0>; linux,rs485-enabled-at-boot-time; status = "okay"; }; usart1: serial@fffb4000 { pinctrl-0 = <&pinctrl_usart1 &pinctrl_usart1_rts>; + rs485-rts-delay = <0 0>; linux,rs485-enabled-at-boot-time; status = "okay"; }; diff --git a/arch/arm/boot/dts/at91-vinco.dts b/arch/arm/boot/dts/at91-vinco.dts index e0c0b2897a49..7bf8391bc7b3 100644 --- a/arch/arm/boot/dts/at91-vinco.dts +++ b/arch/arm/boot/dts/at91-vinco.dts @@ -147,6 +147,7 @@ usart4: serial@fc010000 { /* LMN */ pinctrl-0 = <&pinctrl_usart4 &pinctrl_usart4_rts>; + rs485-rts-delay = <0 0>; linux,rs485-enabled-at-boot-time; status = "okay"; }; -- 2.11.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html