Skip to content

Commit 3f35669

Browse files
committed
Merge tag 'stm32-dt-for-v6.10-1' of git://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32 into soc/dt
STM32 DT for v6.10, round 1 Highlights: ---------- - MPU: - STM32MP13: - Add and enable LTDC display (rocktech,rk043fn48h) on stm32mp135f-dk. - Add firewall bus based on ETZPC firewall controller. - Add PWR regulator support: Can be only used if the platform is set as "no-secure" (RCC_SECCFGR cleared) either use SCMI regulator. - STMP32MP15: - Add firewall bus based on ETZPC firewall controller. - Add heartbeat on stm32mp157c-ed1. - STM32MP25: - Add firewall bus based on RIFSC firewall controller. - Add clock support (RCC) based on SCMI clock protocol for root clocks. - Add all I2C instances and declare i2c2/i2c8 on stm32mp257f-ev1. - Add all SPI instances. and declare spi3/spi8 on stm32mp257f-ev1. * tag 'stm32-dt-for-v6.10-1' of git://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32: (21 commits) arm64: dts: st: correct masks for GIC PPI interrupts on stm32mp25 arm64: dts: st: add spi3 / spi8 properties on stm32mp257f-ev1 arm64: dts: st: add spi3/spi8 pins for stm32mp25 arm64: dts: st: add all 8 spi nodes on stm32mp251 arm64: dts: st: add i2c2 / i2c8 properties on stm32mp257f-ev1 arm64: dts: st: add i2c2/i2c8 pins for stm32mp25 arm64: dts: st: add all 8 i2c nodes on stm32mp251 arm64: dts: st: add rcc support for STM32MP25 ARM: dts: stm32: enable display support on stm32mp135f-dk board ARM: dts: stm32: add LTDC pinctrl on STM32MP13x SoC family ARM: dts: stm32: add LTDC support for STM32MP13x SoC family dt-bindings: display: simple: allow panel-common properties ARM: dts: stm32: add PWR regulators support on stm32mp131 media: dt-bindings: add access-controllers to STM32MP25 video codecs ARM: dts: stm32: add heartbeat led for stm32mp157c-ed1 ARM: dts: stm32: move can3 node from stm32f746 to stm32f769 ARM: dts: stm32: put ETZPC as an access controller for STM32MP13x boards ARM: dts: stm32: add ETZPC as a system bus for STM32MP13x boards ARM: dts: stm32: put ETZPC as an access controller for STM32MP15x boards ARM: dts: stm32: add ETZPC as a system bus for STM32MP15x boards ... Link: https://lore.kernel.org/r/2040767c-413e-4447-b354-c44999930e4c@foss.st.com Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2 parents 405a7cd + 36cf0d8 commit 3f35669

20 files changed

Lines changed: 2683 additions & 2026 deletions

Documentation/devicetree/bindings/display/panel/panel-simple.yaml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -348,15 +348,6 @@ properties:
348348
# Yes Optoelectronics YTC700TLAG-05-201C 7" TFT LCD panel
349349
- yes-optoelectronics,ytc700tlag-05-201c
350350

351-
backlight: true
352-
ddc-i2c-bus: true
353-
enable-gpios: true
354-
port: true
355-
power-supply: true
356-
no-hpd: true
357-
hpd-gpios: true
358-
data-mapping: true
359-
360351
if:
361352
not:
362353
properties:
@@ -367,7 +358,7 @@ then:
367358
properties:
368359
data-mapping: false
369360

370-
additionalProperties: false
361+
unevaluatedProperties: false
371362

372363
required:
373364
- compatible

Documentation/devicetree/bindings/media/st,stm32mp25-video-codec.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ properties:
3030
clocks:
3131
maxItems: 1
3232

33+
access-controllers:
34+
minItems: 1
35+
maxItems: 2
36+
3337
required:
3438
- compatible
3539
- reg

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

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -257,23 +257,6 @@
257257
status = "disabled";
258258
};
259259

260-
can3: can@40003400 {
261-
compatible = "st,stm32f4-bxcan";
262-
reg = <0x40003400 0x200>;
263-
interrupts = <104>, <105>, <106>, <107>;
264-
interrupt-names = "tx", "rx0", "rx1", "sce";
265-
resets = <&rcc STM32F7_APB1_RESET(CAN3)>;
266-
clocks = <&rcc 0 STM32F7_APB1_CLOCK(CAN3)>;
267-
st,gcan = <&gcan3>;
268-
status = "disabled";
269-
};
270-
271-
gcan3: gcan@40003600 {
272-
compatible = "st,stm32f4-gcan", "syscon";
273-
reg = <0x40003600 0x200>;
274-
clocks = <&rcc 0 STM32F7_APB1_CLOCK(CAN3)>;
275-
};
276-
277260
spi2: spi@40003800 {
278261
#address-cells = <1>;
279262
#size-cells = <0>;

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

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,23 @@
77

88
/ {
99
soc {
10+
can3: can@40003400 {
11+
compatible = "st,stm32f4-bxcan";
12+
reg = <0x40003400 0x200>;
13+
interrupts = <104>, <105>, <106>, <107>;
14+
interrupt-names = "tx", "rx0", "rx1", "sce";
15+
resets = <&rcc STM32F7_APB1_RESET(CAN3)>;
16+
clocks = <&rcc 0 STM32F7_APB1_CLOCK(CAN3)>;
17+
st,gcan = <&gcan3>;
18+
status = "disabled";
19+
};
20+
21+
gcan3: gcan@40003600 {
22+
compatible = "st,stm32f4-gcan", "syscon";
23+
reg = <0x40003600 0x200>;
24+
clocks = <&rcc 0 STM32F7_APB1_CLOCK(CAN3)>;
25+
};
26+
1027
dsi: dsi@40016c00 {
1128
compatible = "st,stm32-dsi";
1229
reg = <0x40016c00 0x800>;

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

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,63 @@
4747
};
4848
};
4949

50+
ltdc_pins_a: ltdc-0 {
51+
pins {
52+
pinmux = <STM32_PINMUX('D', 9, AF13)>, /* LCD_CLK */
53+
<STM32_PINMUX('C', 6, AF14)>, /* LCD_HSYNC */
54+
<STM32_PINMUX('G', 4, AF11)>, /* LCD_VSYNC */
55+
<STM32_PINMUX('H', 9, AF11)>, /* LCD_DE */
56+
<STM32_PINMUX('G', 7, AF14)>, /* LCD_R2 */
57+
<STM32_PINMUX('B', 12, AF13)>, /* LCD_R3 */
58+
<STM32_PINMUX('D', 14, AF14)>, /* LCD_R4 */
59+
<STM32_PINMUX('E', 7, AF14)>, /* LCD_R5 */
60+
<STM32_PINMUX('E', 13, AF14)>, /* LCD_R6 */
61+
<STM32_PINMUX('E', 9, AF14)>, /* LCD_R7 */
62+
<STM32_PINMUX('H', 13, AF14)>, /* LCD_G2 */
63+
<STM32_PINMUX('F', 3, AF14)>, /* LCD_G3 */
64+
<STM32_PINMUX('D', 5, AF14)>, /* LCD_G4 */
65+
<STM32_PINMUX('G', 0, AF14)>, /* LCD_G5 */
66+
<STM32_PINMUX('C', 7, AF14)>, /* LCD_G6 */
67+
<STM32_PINMUX('A', 15, AF11)>, /* LCD_G7 */
68+
<STM32_PINMUX('D', 10, AF14)>, /* LCD_B2 */
69+
<STM32_PINMUX('F', 2, AF14)>, /* LCD_B3 */
70+
<STM32_PINMUX('H', 14, AF11)>, /* LCD_B4 */
71+
<STM32_PINMUX('E', 0, AF14)>, /* LCD_B5 */
72+
<STM32_PINMUX('B', 6, AF7)>, /* LCD_B6 */
73+
<STM32_PINMUX('F', 1, AF13)>; /* LCD_B7 */
74+
bias-disable;
75+
drive-push-pull;
76+
slew-rate = <0>;
77+
};
78+
};
79+
80+
ltdc_sleep_pins_a: ltdc-sleep-0 {
81+
pins {
82+
pinmux = <STM32_PINMUX('D', 9, ANALOG)>, /* LCD_CLK */
83+
<STM32_PINMUX('C', 6, ANALOG)>, /* LCD_HSYNC */
84+
<STM32_PINMUX('G', 4, ANALOG)>, /* LCD_VSYNC */
85+
<STM32_PINMUX('H', 9, ANALOG)>, /* LCD_DE */
86+
<STM32_PINMUX('G', 7, ANALOG)>, /* LCD_R2 */
87+
<STM32_PINMUX('B', 12, ANALOG)>, /* LCD_R3 */
88+
<STM32_PINMUX('D', 14, ANALOG)>, /* LCD_R4 */
89+
<STM32_PINMUX('E', 7, ANALOG)>, /* LCD_R5 */
90+
<STM32_PINMUX('E', 13, ANALOG)>, /* LCD_R6 */
91+
<STM32_PINMUX('E', 9, ANALOG)>, /* LCD_R7 */
92+
<STM32_PINMUX('H', 13, ANALOG)>, /* LCD_G2 */
93+
<STM32_PINMUX('F', 3, ANALOG)>, /* LCD_G3 */
94+
<STM32_PINMUX('D', 5, ANALOG)>, /* LCD_G4 */
95+
<STM32_PINMUX('G', 0, ANALOG)>, /* LCD_G5 */
96+
<STM32_PINMUX('C', 7, ANALOG)>, /* LCD_G6 */
97+
<STM32_PINMUX('A', 15, ANALOG)>, /* LCD_G7 */
98+
<STM32_PINMUX('D', 10, ANALOG)>, /* LCD_B2 */
99+
<STM32_PINMUX('F', 2, ANALOG)>, /* LCD_B3 */
100+
<STM32_PINMUX('H', 14, ANALOG)>, /* LCD_B4 */
101+
<STM32_PINMUX('E', 0, ANALOG)>, /* LCD_B5 */
102+
<STM32_PINMUX('B', 6, ANALOG)>, /* LCD_B6 */
103+
<STM32_PINMUX('F', 1, ANALOG)>; /* LCD_B7 */
104+
};
105+
};
106+
50107
mcp23017_pins_a: mcp23017-0 {
51108
pins {
52109
pinmux = <STM32_PINMUX('G', 12, GPIO)>;

0 commit comments

Comments
 (0)