Skip to content

Commit 0e70ecb

Browse files
committed
Merge tag 'stm32-dt-for-v6.7-1' of git://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32 into soc/dt
STM32 DT for v6.7, round 1 Highlights: ---------- - MCU: - Add SDIO sleep pins for F7 boards. - MPU: - STM32MP13: - Add HASH and RNG support. - STMP32MP15: - OCTAVO: - Fix regulators (LDO1/2/6 and 3v3_hdmi) by removing "always-on" property on OSD32 common file. - Add new OS32MP1-RED board. It embeds a STM32157C SoC, 512 MB of DDR3, CAN-FD, HDMI, USB-C OTG. - STM32MP25: - Add and enable SDCARD support. - Add and enable ARM watchdog support and set it to 32 seconds. * tag 'stm32-dt-for-v6.7-1' of git://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32: ARM: dts: stm32: add SDIO pinctrl sleep support on stm32f7 boards ARM: dts: stm32: add stm32f7 SDIO sleep pins ARM: dts: stm32: add RNG node for STM32MP13x platforms ARM: dts: stm32: omit unused pinctrl groups from stm32mp15 dtb files ARM: dts: stm32: stm32f7-pinctrl: don't use multiple blank lines ARM: dts: stm32: add HASH on stm32mp131 arm64: dts: st: enable secure arm-wdt watchdog on stm32mp257f-ev1 arm64: dts: st: add arm-wdt node for watchdog support on stm32mp251 arm64: dts: st: add SD-card support on STM32MP257F-EV1 board arm64: dts: st: add sdmmc1 pins for stm32mp25 arm64: dts: st: add sdmmc1 node in stm32mp251 SoC file ARM: dts: stm32: Add Octavo OSD32MP1-RED board dt-bindings: arm: stm32: add extra SiP compatible for oct,stm32mp157c-osd32-red ARM: dts: stm32: osd32: fix ldo6 not required to be always-on ARM: dts: stm32: lxa-tac: remove v3v3_hdmi override ARM: dts: stm32: osd32: fix ldo2 not required to be always-on ARM: dts: stm32: osd32: fix ldo1 not required to be always-on ARM: dts: stm32: Add alternate pinmux for can pins ARM: dts: stm32: Add alternate pinmux for ldtc pins ARM: dts: stm32: Add alternate pinmux for i2s pins Link: https://lore.kernel.org/r/8a6b3ca9-f10d-825e-e371-8aeff3289a25@foss.st.com Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2 parents 0a84cbf + 1aeb02d commit 0e70ecb

14 files changed

Lines changed: 716 additions & 14 deletions

Documentation/devicetree/bindings/arm/stm32/stm32.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ properties:
146146
- lxa,stm32mp157c-mc1 # Linux Automation MC-1
147147
- lxa,stm32mp157c-tac-gen1 # Linux Automation TAC (Generation 1)
148148
- lxa,stm32mp157c-tac-gen2 # Linux Automation TAC (Generation 2)
149+
- oct,stm32mp157c-osd32-red # Octavo OSD32MP1 RED board
149150
- const: oct,stm32mp15xx-osd32
150151
- enum:
151152
- st,stm32mp157

arch/arm/boot/dts/st/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ dtb-$(CONFIG_ARCH_STM32) += \
5959
stm32mp157c-lxa-tac-gen1.dtb \
6060
stm32mp157c-lxa-tac-gen2.dtb \
6161
stm32mp157c-odyssey.dtb \
62+
stm32mp157c-osd32mp1-red.dtb \
6263
stm32mp157c-phycore-stm32mp1-3.dtb
6364
dtb-$(CONFIG_ARCH_U8500) += \
6465
ste-snowball.dtb \

arch/arm/boot/dts/st/stm32746g-eval.dts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,10 @@
188188
status = "okay";
189189
vmmc-supply = <&mmc_vcard>;
190190
broken-cd;
191-
pinctrl-names = "default", "opendrain";
191+
pinctrl-names = "default", "opendrain", "sleep";
192192
pinctrl-0 = <&sdio_pins_a>;
193193
pinctrl-1 = <&sdio_pins_od_a>;
194+
pinctrl-2 = <&sdio_pins_sleep_a>;
194195
bus-width = <4>;
195196
};
196197

arch/arm/boot/dts/st/stm32f7-pinctrl.dtsi

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,17 @@
263263
};
264264
};
265265

266+
sdio_pins_sleep_a: sdio-pins-sleep-a-0 {
267+
pins {
268+
pinmux = <STM32_PINMUX('C', 8, ANALOG)>, /* SDMMC1 D0 */
269+
<STM32_PINMUX('C', 9, ANALOG)>, /* SDMMC1 D1 */
270+
<STM32_PINMUX('C', 10, ANALOG)>, /* SDMMC1 D2 */
271+
<STM32_PINMUX('C', 11, ANALOG)>, /* SDMMC1 D3 */
272+
<STM32_PINMUX('C', 12, ANALOG)>, /* SDMMC1 CLK */
273+
<STM32_PINMUX('D', 2, ANALOG)>; /* SDMMC1 CMD */
274+
};
275+
};
276+
266277
sdio_pins_b: sdio-pins-b-0 {
267278
pins {
268279
pinmux = <STM32_PINMUX('G', 9, AF11)>, /* SDMMC2 D0 */
@@ -294,6 +305,17 @@
294305
};
295306
};
296307

308+
sdio_pins_sleep_b: sdio-pins-sleep-b-0 {
309+
pins {
310+
pinmux = <STM32_PINMUX('G', 9, ANALOG)>, /* SDMMC2 D0 */
311+
<STM32_PINMUX('G', 10, ANALOG)>, /* SDMMC2 D1 */
312+
<STM32_PINMUX('B', 3, ANALOG)>, /* SDMMC2 D2 */
313+
<STM32_PINMUX('B', 4, ANALOG)>, /* SDMMC2 D3 */
314+
<STM32_PINMUX('D', 6, ANALOG)>, /* SDMMC2 CLK */
315+
<STM32_PINMUX('D', 7, ANALOG)>; /* SDMMC2 CMD */
316+
};
317+
};
318+
297319
can1_pins_a: can1-0 {
298320
pins1 {
299321
pinmux = <STM32_PINMUX('A', 12, AF9)>; /* CAN1_TX */
@@ -376,7 +398,6 @@
376398
};
377399
};
378400

379-
380401
ltdc_pins_a: ltdc-0 {
381402
pins {
382403
pinmux = <STM32_PINMUX('E', 4, AF14)>, /* LCD_B0 */

arch/arm/boot/dts/st/stm32f746-disco.dts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,10 @@
164164
status = "okay";
165165
vmmc-supply = <&vcc_3v3>;
166166
cd-gpios = <&gpioc 13 GPIO_ACTIVE_LOW>;
167-
pinctrl-names = "default", "opendrain";
167+
pinctrl-names = "default", "opendrain", "sleep";
168168
pinctrl-0 = <&sdio_pins_a>;
169169
pinctrl-1 = <&sdio_pins_od_a>;
170+
pinctrl-2 = <&sdio_pins_sleep_a>;
170171
bus-width = <4>;
171172
};
172173

arch/arm/boot/dts/st/stm32f769-disco.dts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,10 @@
131131
vmmc-supply = <&mmc_vcard>;
132132
cd-gpios = <&gpioi 15 GPIO_ACTIVE_LOW>;
133133
broken-cd;
134-
pinctrl-names = "default", "opendrain";
134+
pinctrl-names = "default", "opendrain", "sleep";
135135
pinctrl-0 = <&sdio_pins_b>;
136136
pinctrl-1 = <&sdio_pins_od_b>;
137+
pinctrl-2 = <&sdio_pins_sleep_b>;
137138
bus-width = <4>;
138139
};
139140

arch/arm/boot/dts/st/stm32mp131.dtsi

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1210,6 +1210,25 @@
12101210
};
12111211
};
12121212

1213+
hash: hash@54003000 {
1214+
compatible = "st,stm32mp13-hash";
1215+
reg = <0x54003000 0x400>;
1216+
interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
1217+
clocks = <&rcc HASH1>;
1218+
resets = <&rcc HASH1_R>;
1219+
dmas = <&mdma 30 0x2 0x1000a02 0x0 0x0>;
1220+
dma-names = "in";
1221+
status = "disabled";
1222+
};
1223+
1224+
rng: rng@54004000 {
1225+
compatible = "st,stm32mp13-rng";
1226+
reg = <0x54004000 0x400>;
1227+
clocks = <&rcc RNG1_K>;
1228+
resets = <&rcc RNG1_R>;
1229+
status = "disabled";
1230+
};
1231+
12131232
mdma: dma-controller@58000000 {
12141233
compatible = "st,stm32h7-mdma";
12151234
reg = <0x58000000 0x1000>;

0 commit comments

Comments
 (0)