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" |
| 8 | #include "stm32mp15-ddr3-2x4Gb-1066-binG.dtsi" |
| 9 | |
| 10 | / { |
| 11 | aliases { |
| 12 | i2c3 = &i2c4; |
| 13 | }; |
| 14 | |
| 15 | config { |
| 16 | u-boot,boot-led = "heartbeat"; |
| 17 | u-boot,error-led = "error"; |
| 18 | u-boot,mmc-env-partition = "u-boot-env"; |
| 19 | st,fastboot-gpios = <&gpioa 13 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; |
| 20 | st,stm32prog-gpios = <&gpioa 14 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; |
| 21 | }; |
| 22 | |
| 23 | led { |
| 24 | red { |
| 25 | label = "error"; |
| 26 | gpios = <&gpioa 13 GPIO_ACTIVE_LOW>; |
| 27 | default-state = "off"; |
| 28 | status = "okay"; |
| 29 | }; |
| 30 | }; |
| 31 | }; |
| 32 | |
| 33 | &uart4 { |
| 34 | u-boot,dm-pre-reloc; |
| 35 | }; |
| 36 | |
| 37 | &uart4_pins_a { |
| 38 | u-boot,dm-pre-reloc; |
| 39 | pins1 { |
| 40 | u-boot,dm-pre-reloc; |
| 41 | }; |
| 42 | pins2 { |
| 43 | u-boot,dm-pre-reloc; |
| 44 | /* pull-up on rx to avoid floating level */ |
| 45 | bias-pull-up; |
| 46 | }; |
| 47 | }; |