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 | usb0 = &usbotg_hs; |
| 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,adc_usb_pd = <&adc1 18>, <&adc1 19>; |
| 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 | &adc { |
| 34 | status = "okay"; |
| 35 | }; |
| 36 | |
| 37 | &uart4 { |
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 | |
| 41 | &uart4_pins_a { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 42 | bootph-all; |
Patrick Delaunay | ddba40a | 2022-07-05 16:55:57 +0200 | [diff] [blame] | 43 | pins1 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 44 | bootph-all; |
Patrick Delaunay | ddba40a | 2022-07-05 16:55:57 +0200 | [diff] [blame] | 45 | }; |
| 46 | pins2 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 47 | bootph-all; |
Patrick Delaunay | ddba40a | 2022-07-05 16:55:57 +0200 | [diff] [blame] | 48 | /* pull-up on rx to avoid floating level */ |
| 49 | bias-pull-up; |
| 50 | }; |
| 51 | }; |
| 52 | |
| 53 | &usbotg_hs { |
| 54 | u-boot,force-b-session-valid; |
| 55 | }; |