blob: 04ed0c1e15bd30ef60e4fe4f6a4ee4606e7df07b [file] [log] [blame]
Heiko Schocherb43a1d72020-11-30 20:46:03 +01001// SPDX-License-Identifier: GPL-2.0+ or X11
2/*
3 * Copyright (C) 2019 Heiko Schocher <hs@denx.de>
4 */
5
6/ {
7 chosen {
Simon Glassd3a98cb2023-02-13 08:56:33 -07008 bootph-all;
Heiko Schocherb43a1d72020-11-30 20:46:03 +01009 stdout-path = &uart1;
10 };
11
12 wdt-reboot {
13 compatible = "wdt-reboot";
14 wdt = <&wdog1>;
15 };
16};
17
18&uart1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070019 bootph-all;
Heiko Schocherb43a1d72020-11-30 20:46:03 +010020};
21
22&pinctrl_gpio {
Simon Glassd3a98cb2023-02-13 08:56:33 -070023 bootph-all;
Heiko Schocherb43a1d72020-11-30 20:46:03 +010024};
25
26&pinctrl_uart1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070027 bootph-all;
Heiko Schocherb43a1d72020-11-30 20:46:03 +010028};
29
30&iomuxc {
Simon Glassd3a98cb2023-02-13 08:56:33 -070031 bootph-all;
Heiko Schocherb43a1d72020-11-30 20:46:03 +010032};
33
34&aips1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070035 bootph-all;
Heiko Schocherb43a1d72020-11-30 20:46:03 +010036};
37
38&backlight {
39 pwms = <&pwm1 0 300000>;
40 default-brightness-level = <2>;
41};
42
43/*
44 * allow switching write protect / reset pin by gpio,
45 * because "pinctrl-assert-gpios" from &ecspi1 isn't handled by u-boot
46 */
47&gpio2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070048 bootph-all;
Heiko Schocherb43a1d72020-11-30 20:46:03 +010049
50 wp_spi_nor {
51 gpio-hog;
52 output-high;
53 gpios = <15 GPIO_ACTIVE_HIGH>;
54 };
55
56 reset_spi_nor {
57 gpio-hog;
58 output-high;
59 gpios = <28 GPIO_ACTIVE_HIGH>;
60 };
61};
62
63&gpio4 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070064 bootph-all;
Heiko Schocherb43a1d72020-11-30 20:46:03 +010065};
66
67&ecspi1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070068 bootph-all;
Heiko Schocherb43a1d72020-11-30 20:46:03 +010069};
70
71&flash {
Simon Glassd3a98cb2023-02-13 08:56:33 -070072 bootph-all;
Heiko Schocherb43a1d72020-11-30 20:46:03 +010073};
74
75&pinctrl_ecspi1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070076 bootph-all;
Heiko Schocherb43a1d72020-11-30 20:46:03 +010077};