Patrick Delaunay | 8e34fbb | 2022-05-20 18:24:39 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) |
| 2 | /* |
| 3 | * Copyright (C) STMicroelectronics 2021 - All Rights Reserved |
| 4 | * Author: Alexandre Torgue <alexandre.torgue@foss.st.com> for STMicroelectronics. |
| 5 | */ |
| 6 | |
| 7 | /dts-v1/; |
| 8 | |
| 9 | #include "stm32mp135.dtsi" |
| 10 | #include "stm32mp13xf.dtsi" |
| 11 | #include "stm32mp13-pinctrl.dtsi" |
| 12 | |
| 13 | / { |
| 14 | model = "STMicroelectronics STM32MP135F-DK Discovery Board"; |
| 15 | compatible = "st,stm32mp135f-dk", "st,stm32mp135"; |
| 16 | |
| 17 | aliases { |
| 18 | serial0 = &uart4; |
| 19 | }; |
| 20 | |
| 21 | memory@c0000000 { |
| 22 | device_type = "memory"; |
| 23 | reg = <0xc0000000 0x20000000>; |
| 24 | }; |
| 25 | |
| 26 | vdd_sd: vdd-sd { |
| 27 | compatible = "regulator-fixed"; |
| 28 | regulator-name = "vdd_sd"; |
| 29 | regulator-min-microvolt = <2900000>; |
| 30 | regulator-max-microvolt = <2900000>; |
| 31 | regulator-always-on; |
| 32 | }; |
| 33 | }; |
| 34 | |
| 35 | &iwdg2 { |
| 36 | timeout-sec = <32>; |
| 37 | status = "okay"; |
| 38 | }; |
| 39 | |
| 40 | &sdmmc1 { |
| 41 | pinctrl-names = "default", "opendrain", "sleep"; |
| 42 | pinctrl-0 = <&sdmmc1_b4_pins_a &sdmmc1_clk_pins_a>; |
| 43 | pinctrl-1 = <&sdmmc1_b4_od_pins_a &sdmmc1_clk_pins_a>; |
| 44 | pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>; |
| 45 | broken-cd; |
| 46 | disable-wp; |
| 47 | st,neg-edge; |
| 48 | bus-width = <4>; |
| 49 | vmmc-supply = <&vdd_sd>; |
| 50 | status = "okay"; |
| 51 | }; |
| 52 | |
| 53 | &uart4 { |
| 54 | pinctrl-names = "default"; |
| 55 | pinctrl-0 = <&uart4_pins_a>; |
| 56 | status = "okay"; |
| 57 | }; |