Alexandre Torgue | 00510af | 2021-11-18 12:26:49 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) |
| 2 | /* |
Yann Gautier | 4abeb0e | 2024-01-04 18:53:09 +0100 | [diff] [blame] | 3 | * Copyright (C) 2023-2024, STMicroelectronics - All Rights Reserved |
Alexandre Torgue | 00510af | 2021-11-18 12:26:49 +0100 | [diff] [blame] | 4 | * Author: Alexandre Torgue <alexandre.torgue@foss.st.com> for STMicroelectronics. |
| 5 | */ |
| 6 | |
| 7 | /dts-v1/; |
| 8 | |
Yann Gautier | 0ff7a17 | 2022-11-03 17:25:40 +0100 | [diff] [blame] | 9 | #include <dt-bindings/clock/stm32mp25-clksrc.h> |
Alexandre Torgue | 00510af | 2021-11-18 12:26:49 +0100 | [diff] [blame] | 10 | #include "stm32mp257.dtsi" |
| 11 | #include "stm32mp25xf.dtsi" |
Yann Gautier | 0ff7a17 | 2022-11-03 17:25:40 +0100 | [diff] [blame] | 12 | #include "stm32mp257f-ev1-ca35tdcid-rcc.dtsi" |
Alexandre Torgue | 00510af | 2021-11-18 12:26:49 +0100 | [diff] [blame] | 13 | #include "stm32mp25-pinctrl.dtsi" |
| 14 | #include "stm32mp25xxai-pinctrl.dtsi" |
| 15 | |
| 16 | / { |
| 17 | model = "STMicroelectronics STM32MP257F-EV1 Evaluation Board"; |
| 18 | compatible = "st,stm32mp257f-ev1", "st,stm32mp257"; |
| 19 | |
| 20 | aliases { |
| 21 | serial0 = &usart2; |
| 22 | }; |
| 23 | |
| 24 | chosen { |
| 25 | stdout-path = "serial0:115200n8"; |
| 26 | }; |
| 27 | |
| 28 | memory@80000000 { |
| 29 | device_type = "memory"; |
Yann Gautier | c55e2ee | 2023-10-18 14:17:04 +0200 | [diff] [blame] | 30 | reg = <0x0 0x80000000 0x1 0x0>; |
Alexandre Torgue | 00510af | 2021-11-18 12:26:49 +0100 | [diff] [blame] | 31 | }; |
| 32 | }; |
| 33 | |
Yann Gautier | 4abeb0e | 2024-01-04 18:53:09 +0100 | [diff] [blame] | 34 | &bsec { |
| 35 | board_id: board-id@3d8 { |
| 36 | reg = <0x3d8 0x4>; |
| 37 | }; |
| 38 | }; |
| 39 | |
Yann Gautier | b4397d0 | 2024-05-21 11:18:52 +0200 | [diff] [blame] | 40 | &sdmmc1 { |
| 41 | pinctrl-names = "default"; |
| 42 | pinctrl-0 = <&sdmmc1_b4_pins_a>; |
| 43 | st,neg-edge; |
| 44 | bus-width = <4>; |
| 45 | status = "okay"; |
| 46 | }; |
| 47 | |
| 48 | &sdmmc2 { |
| 49 | pinctrl-names = "default"; |
| 50 | pinctrl-0 = <&sdmmc2_b4_pins_a &sdmmc2_d47_pins_a>; |
| 51 | non-removable; |
| 52 | no-sd; |
| 53 | no-sdio; |
| 54 | st,neg-edge; |
| 55 | bus-width = <8>; |
| 56 | status = "okay"; |
| 57 | }; |
| 58 | |
Alexandre Torgue | 00510af | 2021-11-18 12:26:49 +0100 | [diff] [blame] | 59 | &usart2 { |
| 60 | pinctrl-names = "default"; |
| 61 | pinctrl-0 = <&usart2_pins_a>; |
| 62 | status = "okay"; |
| 63 | }; |