diff options
author | Eugen Hristev <eugen.hristev@microchip.com> | 2021-08-27 13:44:12 +0300 |
---|---|---|
committer | Eugen Hristev <eugen.hristev@microchip.com> | 2021-09-21 10:08:24 +0300 |
commit | d65b84a1d0dc116010a3842dc13661976ef92629 (patch) | |
tree | 2d83052faeddd6fde7a87fe62315915e2edd1f61 /arch/arm/dts/sama7g5ek.dts | |
parent | 0d58dafd6455f708e44a7d4ceee393c31220c725 (diff) |
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 <eugen.hristev@microchip.com>
Diffstat (limited to 'arch/arm/dts/sama7g5ek.dts')
-rw-r--r-- | arch/arm/dts/sama7g5ek.dts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/dts/sama7g5ek.dts b/arch/arm/dts/sama7g5ek.dts index 3a4fdd38a5..1c59a8aaf8 100644 --- a/arch/arm/dts/sama7g5ek.dts +++ b/arch/arm/dts/sama7g5ek.dts @@ -8,6 +8,7 @@ * 2020, Claudiu Beznea <claudiu.beznea@microchip.com> */ /dts-v1/; +#include <dt-bindings/mfd/atmel-flexcom.h> #include "sama7g5.dtsi" #include "sama7g5-pinfunc.h" @@ -64,7 +65,7 @@ }; &flx1 { - atmel,flexcom-mode = <3>; + atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_TWI>; status = "okay"; }; |