blob: caeba6f71fc451aa7f9ef6475d180682ec32f039 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
From 4dda6d4ab43c8628066b0c0f72107249cfb86d39 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.com>
Date: Tue, 9 May 2023 14:20:58 +0100
Subject: [PATCH] ARM: dts: bcm2711-rpi-ds: Set default I/O pins
Give all the extended I/O interfaces - I2C3-6, SPI3-6 and UART2-5 -
sensible default pinctrl references.
See: https://github.com/raspberrypi/linux/pull/5443
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
---
arch/arm/boot/dts/bcm2711-rpi-ds.dtsi | 60 +++++++++++++++++++++++++++
1 file changed, 60 insertions(+)
--- a/arch/arm/boot/dts/bcm2711-rpi-ds.dtsi
+++ b/arch/arm/boot/dts/bcm2711-rpi-ds.dtsi
@@ -418,6 +418,66 @@
i2c_arm: &i2c1 {};
i2c_vc: &i2c0 {};
+&i2c3 {
+ pinctrl-0 = <&i2c3_pins>;
+ pinctrl-names = "default";
+};
+
+&i2c4 {
+ pinctrl-0 = <&i2c4_pins>;
+ pinctrl-names = "default";
+};
+
+&i2c5 {
+ pinctrl-0 = <&i2c5_pins>;
+ pinctrl-names = "default";
+};
+
+&i2c6 {
+ pinctrl-0 = <&i2c6_pins>;
+ pinctrl-names = "default";
+};
+
+&spi3 {
+ pinctrl-0 = <&spi3_pins &spi3_cs_pins>;
+ pinctrl-names = "default";
+};
+
+&spi4 {
+ pinctrl-0 = <&spi4_pins &spi4_cs_pins>;
+ pinctrl-names = "default";
+};
+
+&spi5 {
+ pinctrl-0 = <&spi5_pins &spi5_cs_pins>;
+ pinctrl-names = "default";
+};
+
+&spi6 {
+ pinctrl-0 = <&spi6_pins &spi6_cs_pins>;
+ pinctrl-names = "default";
+};
+
+&uart2 {
+ pinctrl-0 = <&uart2_pins>;
+ pinctrl-names = "default";
+};
+
+&uart3 {
+ pinctrl-0 = <&uart3_pins>;
+ pinctrl-names = "default";
+};
+
+&uart4 {
+ pinctrl-0 = <&uart4_pins>;
+ pinctrl-names = "default";
+};
+
+&uart5 {
+ pinctrl-0 = <&uart5_pins>;
+ pinctrl-names = "default";
+};
+
/delete-node/ &v3d;
/ {
|