Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yocto-stm32: Add support for the stm32mp157d board, and remove others
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
- Loading branch information
1 parent
6fa578a
commit 6041cc7
Showing
3 changed files
with
41 additions
and
79 deletions.
There are no files selected for viewing
40 changes: 0 additions & 40 deletions
40
...yocto-stm32/bootlin-lab-data/nunchuk/linux/0002-ARM-dts-stm32mp157a-dk1-add-nunchuk.patch
This file was deleted.
Oops, something went wrong.
41 changes: 41 additions & 0 deletions
41
...yocto-stm32/bootlin-lab-data/nunchuk/linux/0002-ARM-dts-stm32mp157d-dk1-add-nunchuk.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
From f152fe2412ba458fdff41d915b7f79948f655f74 Mon Sep 17 00:00:00 2001 | ||
From: Maxime Chevallier <maxime.chevallier@bootlin.com> | ||
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 <maxime.chevallier@bootlin.com> | ||
--- | ||
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 | ||
|
39 changes: 0 additions & 39 deletions
39
...yocto-stm32/bootlin-lab-data/nunchuk/linux/0003-ARM-dts-stm32mp157c-dk2-add-nunchuk.patch
This file was deleted.
Oops, something went wrong.