diff --git a/board/myna-player-odyssey/rootfs_patches/linux/0008-stm32mp157c-odyssey-Re-order-i2c-devices-for-Raspber.patch b/board/myna-player-odyssey/rootfs_patches/linux/0008-stm32mp157c-odyssey-Re-order-i2c-devices-for-Raspber.patch new file mode 100644 index 0000000..71c1659 --- /dev/null +++ b/board/myna-player-odyssey/rootfs_patches/linux/0008-stm32mp157c-odyssey-Re-order-i2c-devices-for-Raspber.patch @@ -0,0 +1,27 @@ +From 1bcab1dfb4ea78c2cab59813442231dc3d2bc67b Mon Sep 17 00:00:00 2001 +From: Jookia +Date: Fri, 14 Aug 2020 13:15:17 +1000 +Subject: [PATCH 8/8] stm32mp157c-odyssey: Re-order i2c devices for Raspberry + Pi compatibility + +--- + arch/arm/boot/dts/stm32mp157c-odyssey.dts | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/arch/arm/boot/dts/stm32mp157c-odyssey.dts b/arch/arm/boot/dts/stm32mp157c-odyssey.dts +index 41392245b09c..a8c17c4e89cc 100644 +--- a/arch/arm/boot/dts/stm32mp157c-odyssey.dts ++++ b/arch/arm/boot/dts/stm32mp157c-odyssey.dts +@@ -15,6 +15,9 @@ + aliases { + ethernet0 = ðernet0; + serial0 = &uart4; ++ i2c0 = &i2c2; ++ i2c1 = &i2c4; /* RPi compatible */ ++ i2c2 = &i2c1; + }; + + chosen { +-- +2.20.1 +