Patrick Delaunay | ddba40a | 2022-07-05 16:55:57 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-or-later OR BSD-3-Clause |
| 2 | /* |
| 3 | * Copyright : STMicroelectronics 2022 |
| 4 | */ |
| 5 | |
| 6 | #include <dt-bindings/clock/stm32mp1-clksrc.h> |
| 7 | #include "stm32mp15-scmi-u-boot.dtsi" |
Patrick Delaunay | ddba40a | 2022-07-05 16:55:57 +0200 | [diff] [blame] | 8 | |
| 9 | / { |
| 10 | aliases { |
| 11 | i2c3 = &i2c4; |
| 12 | }; |
| 13 | |
| 14 | config { |
| 15 | u-boot,boot-led = "heartbeat"; |
| 16 | u-boot,error-led = "error"; |
| 17 | u-boot,mmc-env-partition = "u-boot-env"; |
| 18 | st,fastboot-gpios = <&gpioa 13 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; |
| 19 | st,stm32prog-gpios = <&gpioa 14 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; |
| 20 | }; |
| 21 | |
| 22 | led { |
| 23 | red { |
| 24 | label = "error"; |
| 25 | gpios = <&gpioa 13 GPIO_ACTIVE_LOW>; |
| 26 | default-state = "off"; |
| 27 | status = "okay"; |
| 28 | }; |
| 29 | }; |
| 30 | }; |
| 31 | |
| 32 | &uart4 { |
| 33 | u-boot,dm-pre-reloc; |
| 34 | }; |
| 35 | |
| 36 | &uart4_pins_a { |
| 37 | u-boot,dm-pre-reloc; |
| 38 | pins1 { |
| 39 | u-boot,dm-pre-reloc; |
| 40 | }; |
| 41 | pins2 { |
| 42 | u-boot,dm-pre-reloc; |
| 43 | /* pull-up on rx to avoid floating level */ |
| 44 | bias-pull-up; |
| 45 | }; |
| 46 | }; |