From: Eugen Hristev Date: Fri, 27 Aug 2021 10:44:12 +0000 (+0300) Subject: ARM: dts: at91: update flexcom defines using include file X-Git-Tag: v2022.01-rc1~40^2~16^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d65b84a1d0dc116010a3842dc13661976ef92629;p=pandora-u-boot.git ARM: dts: at91: update flexcom defines using include file Replace the number in the flexcom-mode property with the define from the include file. This corresponds to the approach in Linux kernel. Signed-off-by: Eugen Hristev --- diff --git a/arch/arm/dts/sam9x60ek.dts b/arch/arm/dts/sam9x60ek.dts index 77edd593b41..32ffe93b4d9 100644 --- a/arch/arm/dts/sam9x60ek.dts +++ b/arch/arm/dts/sam9x60ek.dts @@ -7,6 +7,7 @@ * Author: Sandeep Sheriker M */ /dts-v1/; +#include #include "sam9x60.dtsi" / { @@ -57,7 +58,7 @@ }; flx0: flexcom@f801c600 { - atmel,flexcom-mode = <3>; + atmel,flexcom-mode = ; status = "okay"; i2c@600 { diff --git a/arch/arm/dts/sama7g5ek.dts b/arch/arm/dts/sama7g5ek.dts index 3a4fdd38a59..1c59a8aaf8f 100644 --- a/arch/arm/dts/sama7g5ek.dts +++ b/arch/arm/dts/sama7g5ek.dts @@ -8,6 +8,7 @@ * 2020, Claudiu Beznea */ /dts-v1/; +#include #include "sama7g5.dtsi" #include "sama7g5-pinfunc.h" @@ -64,7 +65,7 @@ }; &flx1 { - atmel,flexcom-mode = <3>; + atmel,flexcom-mode = ; status = "okay"; };