blob: 33c3467b6add73901ef5f3e6b8e7f1e62002179a [file] [log] [blame]
Heiko Schocher227cb302019-12-01 11:23:32 +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 Glass8c103c32023-02-13 08:56:33 -07008 bootph-all;
Heiko Schocher227cb302019-12-01 11:23:32 +01009 stdout-path = &uart2;
10 };
11
12 wdt-reboot {
13 compatible = "wdt-reboot";
14 wdt = <&wdog1>;
15 };
16};
17
18&uart2 {
Simon Glass8c103c32023-02-13 08:56:33 -070019 bootph-all;
Heiko Schocher227cb302019-12-01 11:23:32 +010020};
21
22&pinctrl_gpio {
Simon Glass8c103c32023-02-13 08:56:33 -070023 bootph-all;
Heiko Schocher227cb302019-12-01 11:23:32 +010024};
25
26&pinctrl_uart2 {
Simon Glass8c103c32023-02-13 08:56:33 -070027 bootph-all;
Heiko Schocher227cb302019-12-01 11:23:32 +010028};
29
30&iomuxc {
Simon Glass8c103c32023-02-13 08:56:33 -070031 bootph-all;
Heiko Schocher227cb302019-12-01 11:23:32 +010032};
33
34&aips2 {
Simon Glass8c103c32023-02-13 08:56:33 -070035 bootph-all;
Heiko Schocher227cb302019-12-01 11:23:32 +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 Glass8c103c32023-02-13 08:56:33 -070048 bootph-all;
Heiko Schocher227cb302019-12-01 11:23:32 +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 Glass8c103c32023-02-13 08:56:33 -070064 bootph-all;
Heiko Schocher227cb302019-12-01 11:23:32 +010065};
66
67&ecspi1 {
Simon Glass8c103c32023-02-13 08:56:33 -070068 bootph-all;
Heiko Schocher227cb302019-12-01 11:23:32 +010069};
70
71&flash {
Simon Glass8c103c32023-02-13 08:56:33 -070072 bootph-all;
Heiko Schocher227cb302019-12-01 11:23:32 +010073};
74
75&pinctrl_ecspi1 {
Simon Glass8c103c32023-02-13 08:56:33 -070076 bootph-all;
Heiko Schocher227cb302019-12-01 11:23:32 +010077};