Heiko Schocher | 5433379 | 2019-12-01 11:23:12 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /* |
| 3 | * Copyright (C) 2019 Heiko Schocher <hs@denx.de> |
| 4 | */ |
| 5 | |
| 6 | / { |
| 7 | chosen { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 8 | bootph-all; |
Heiko Schocher | 5433379 | 2019-12-01 11:23:12 +0100 | [diff] [blame] | 9 | stdout-path = &uart2; |
| 10 | }; |
| 11 | |
| 12 | wdt-reboot { |
| 13 | compatible = "wdt-reboot"; |
| 14 | wdt = <&wdog1>; |
| 15 | }; |
| 16 | }; |
| 17 | |
| 18 | &uart2 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 19 | bootph-all; |
Heiko Schocher | 5433379 | 2019-12-01 11:23:12 +0100 | [diff] [blame] | 20 | }; |
| 21 | |
| 22 | &pinctrl_gpio { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 23 | bootph-all; |
Heiko Schocher | 5433379 | 2019-12-01 11:23:12 +0100 | [diff] [blame] | 24 | }; |
| 25 | |
| 26 | &pinctrl_uart2 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 27 | bootph-all; |
Heiko Schocher | 5433379 | 2019-12-01 11:23:12 +0100 | [diff] [blame] | 28 | }; |
| 29 | |
| 30 | &aips2 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 31 | bootph-all; |
Heiko Schocher | 5433379 | 2019-12-01 11:23:12 +0100 | [diff] [blame] | 32 | }; |
| 33 | |
| 34 | &backlight { |
| 35 | pwms = <&pwm1 0 300000>; |
| 36 | default-brightness-level = <2>; |
| 37 | }; |
| 38 | |
| 39 | /* |
| 40 | * allow switching write protect pin by gpio, |
| 41 | * because "pinctrl-assert-gpios" from &ecspi1 isn't handled by u-boot |
| 42 | */ |
| 43 | &gpio2 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 44 | bootph-all; |
Heiko Schocher | 5433379 | 2019-12-01 11:23:12 +0100 | [diff] [blame] | 45 | |
| 46 | wp_spi_nor { |
| 47 | gpio-hog; |
| 48 | output-high; |
| 49 | gpios = <15 GPIO_ACTIVE_HIGH>; |
| 50 | }; |
| 51 | }; |
| 52 | |
Heiko Schocher | 5433379 | 2019-12-01 11:23:12 +0100 | [diff] [blame] | 53 | &gpio1 { |
| 54 | usdhc_fix { |
| 55 | gpio-hog; |
| 56 | output-high; |
| 57 | gpios = <12 GPIO_ACTIVE_HIGH>; |
| 58 | }; |
| 59 | }; |
| 60 | |
| 61 | &gpio3 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 62 | bootph-all; |
Heiko Schocher | 5433379 | 2019-12-01 11:23:12 +0100 | [diff] [blame] | 63 | }; |
| 64 | |
| 65 | &gpio5 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 66 | bootph-all; |
Heiko Schocher | 5433379 | 2019-12-01 11:23:12 +0100 | [diff] [blame] | 67 | }; |
| 68 | |
| 69 | &ecspi4 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 70 | bootph-all; |
Heiko Schocher | 5433379 | 2019-12-01 11:23:12 +0100 | [diff] [blame] | 71 | }; |
| 72 | |
| 73 | &flash { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 74 | bootph-all; |
Heiko Schocher | 5433379 | 2019-12-01 11:23:12 +0100 | [diff] [blame] | 75 | }; |
| 76 | |
| 77 | &pinctrl_ecspi4 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 78 | bootph-all; |
Heiko Schocher | 5433379 | 2019-12-01 11:23:12 +0100 | [diff] [blame] | 79 | }; |