Skip to content

Commit

Permalink
yocto-stm32: Add support for the stm32mp157d board, and remove others
Browse files Browse the repository at this point in the history
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
  • Loading branch information
minimaxwell committed Oct 5, 2021
1 parent 6fa578a commit 6041cc7
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 79 deletions.

This file was deleted.

@@ -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

This file was deleted.

0 comments on commit 6041cc7

Please sign in to comment.