diff --git a/lab-data/yocto-stm32/bootlin-lab-data/nunchuk/linux/0002-ARM-dts-stm32mp157a-dk1-add-nunchuk.patch b/lab-data/yocto-stm32/bootlin-lab-data/nunchuk/linux/0002-ARM-dts-stm32mp157a-dk1-add-nunchuk.patch deleted file mode 100644 index 7672ce109..000000000 --- a/lab-data/yocto-stm32/bootlin-lab-data/nunchuk/linux/0002-ARM-dts-stm32mp157a-dk1-add-nunchuk.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 47ce64860905c5ffc4023f2cffd42d36831a66a2 Mon Sep 17 00:00:00 2001 -From: Alexandre Belloni -Date: Fri, 6 Sep 2019 23:37:48 +0200 -Subject: [PATCH 2/3] ARM: dts: stm32mp157a-dk1: add nunchuk - -Signed-off-by: Alexandre Belloni -Signed-off-by: Thomas Perrot ---- - arch/arm/boot/dts/stm32mp157a-dk1.dts | 18 ++++++++++++++++++ - 1 file changed, 18 insertions(+) - -diff --git a/arch/arm/boot/dts/stm32mp157a-dk1.dts b/arch/arm/boot/dts/stm32mp157a-dk1.dts -index 1f265fed2c5d..147ff9e1d02f 100644 ---- a/arch/arm/boot/dts/stm32mp157a-dk1.dts -+++ b/arch/arm/boot/dts/stm32mp157a-dk1.dts -@@ -33,3 +33,21 @@ - }; - }; - }; -+ -+&i2c5 { -+ pinctrl-names = "default", "sleep"; -+ pinctrl-0 = <&i2c5_pins_a>; -+ pinctrl-1 = <&i2c5_pins_sleep_a>; -+ i2c-scl-rising-time-ns = <100>; -+ i2c-scl-falling-time-ns = <7>; -+ status = "okay"; -+ /delete-property/dmas; -+ /delete-property/dma-names; -+ clock-frequency = <100000>; -+ -+ nunchuk: nunchuk@52 { -+ compatible = "nintendo,wiimote-extension"; -+ reg = <0x52>; -+ status = "okay"; -+ }; -+}; --- -2.31.1 - diff --git a/lab-data/yocto-stm32/bootlin-lab-data/nunchuk/linux/0002-ARM-dts-stm32mp157d-dk1-add-nunchuk.patch b/lab-data/yocto-stm32/bootlin-lab-data/nunchuk/linux/0002-ARM-dts-stm32mp157d-dk1-add-nunchuk.patch new file mode 100644 index 000000000..f564799a8 --- /dev/null +++ b/lab-data/yocto-stm32/bootlin-lab-data/nunchuk/linux/0002-ARM-dts-stm32mp157d-dk1-add-nunchuk.patch @@ -0,0 +1,41 @@ +From f152fe2412ba458fdff41d915b7f79948f655f74 Mon Sep 17 00:00:00 2001 +From: Maxime Chevallier +Date: Tue, 5 Oct 2021 14:00:00 +0000 +Subject: [PATCH] ARM: dts: stm32mp157d-dk1: add nunchuk + +Add nunchuck node for the STM32MP157-D board. + +Signed-off-by: Maxime Chevallier +--- + arch/arm/boot/dts/stm32mp157d-dk1.dts | 18 ++++++++++++++++++ + 1 file changed, 18 insertions(+) + +diff --git a/arch/arm/boot/dts/stm32mp157d-dk1.dts b/arch/arm/boot/dts/stm32mp157d-dk1.dts +index bcc012cff..5b6e36eb2 100644 +--- a/arch/arm/boot/dts/stm32mp157d-dk1.dts ++++ b/arch/arm/boot/dts/stm32mp157d-dk1.dts +@@ -26,3 +26,21 @@ chosen { + stdout-path = "serial0:115200n8"; + }; + }; ++ ++&i2c5 { ++ pinctrl-names = "default", "sleep"; ++ pinctrl-0 = <&i2c5_pins_a>; ++ pinctrl-1 = <&i2c5_pins_sleep_a>; ++ i2c-scl-rising-time-ns = <100>; ++ i2c-scl-falling-time-ns = <7>; ++ status = "okay"; ++ /delete-property/dmas; ++ /delete-property/dma-names; ++ clock-frequency = <100000>; ++ ++ nunchuk: nunchuk@52 { ++ compatible = "nintendo,wiimote-extension"; ++ reg = <0x52>; ++ status = "okay"; ++ }; ++}; +-- +2.25.4 + diff --git a/lab-data/yocto-stm32/bootlin-lab-data/nunchuk/linux/0003-ARM-dts-stm32mp157c-dk2-add-nunchuk.patch b/lab-data/yocto-stm32/bootlin-lab-data/nunchuk/linux/0003-ARM-dts-stm32mp157c-dk2-add-nunchuk.patch deleted file mode 100644 index 8f61776bc..000000000 --- a/lab-data/yocto-stm32/bootlin-lab-data/nunchuk/linux/0003-ARM-dts-stm32mp157c-dk2-add-nunchuk.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 6d21d4db24bdfdaf70fef77c9d9bcfcea33e3b51 Mon Sep 17 00:00:00 2001 -From: Thomas Perrot -Date: Thu, 10 Jun 2021 11:15:36 +0200 -Subject: [PATCH 3/3] ARM: dts: stm32mp157c-dk2: add nunchuk - -Signed-off-by: Thomas Perrot ---- - arch/arm/boot/dts/stm32mp157c-dk2.dts | 18 ++++++++++++++++++ - 1 file changed, 18 insertions(+) - -diff --git a/arch/arm/boot/dts/stm32mp157c-dk2.dts b/arch/arm/boot/dts/stm32mp157c-dk2.dts -index ba1d15de2f2c..54200327c2a2 100644 ---- a/arch/arm/boot/dts/stm32mp157c-dk2.dts -+++ b/arch/arm/boot/dts/stm32mp157c-dk2.dts -@@ -169,3 +169,21 @@ - vddio-supply = <&v3v3>; - }; - }; -+ -+&i2c5 { -+ pinctrl-names = "default", "sleep"; -+ pinctrl-0 = <&i2c5_pins_a>; -+ pinctrl-1 = <&i2c5_pins_sleep_a>; -+ i2c-scl-rising-time-ns = <100>; -+ i2c-scl-falling-time-ns = <7>; -+ status = "okay"; -+ /delete-property/dmas; -+ /delete-property/dma-names; -+ clock-frequency = <100000>; -+ -+ nunchuk: nunchuk@52 { -+ compatible = "nintendo,wiimote-extension"; -+ reg = <0x52>; -+ status = "okay"; -+ }; -+}; --- -2.31.1 -