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 | |
Patrick Delaunay | ddba40a | 2022-07-05 16:55:57 +0200 | [diff] [blame] | 6 | #include "stm32mp15-scmi-u-boot.dtsi" |
Patrick Delaunay | ddba40a | 2022-07-05 16:55:57 +0200 | [diff] [blame] | 7 | |
| 8 | / { |
| 9 | aliases { |
| 10 | i2c3 = &i2c4; |
| 11 | }; |
| 12 | |
| 13 | config { |
| 14 | u-boot,boot-led = "heartbeat"; |
| 15 | u-boot,error-led = "error"; |
| 16 | u-boot,mmc-env-partition = "u-boot-env"; |
| 17 | st,fastboot-gpios = <&gpioa 13 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; |
| 18 | st,stm32prog-gpios = <&gpioa 14 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; |
| 19 | }; |
| 20 | |
| 21 | led { |
| 22 | red { |
| 23 | label = "error"; |
| 24 | gpios = <&gpioa 13 GPIO_ACTIVE_LOW>; |
| 25 | default-state = "off"; |
| 26 | status = "okay"; |
| 27 | }; |
| 28 | }; |
| 29 | }; |
| 30 | |
| 31 | &uart4 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 32 | bootph-all; |
Patrick Delaunay | ddba40a | 2022-07-05 16:55:57 +0200 | [diff] [blame] | 33 | }; |
| 34 | |
| 35 | &uart4_pins_a { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 36 | bootph-all; |
Patrick Delaunay | ddba40a | 2022-07-05 16:55:57 +0200 | [diff] [blame] | 37 | pins1 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 38 | bootph-all; |
Patrick Delaunay | ddba40a | 2022-07-05 16:55:57 +0200 | [diff] [blame] | 39 | }; |
| 40 | pins2 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 41 | bootph-all; |
Patrick Delaunay | ddba40a | 2022-07-05 16:55:57 +0200 | [diff] [blame] | 42 | /* pull-up on rx to avoid floating level */ |
| 43 | bias-pull-up; |
| 44 | }; |
| 45 | }; |