blob: 3146dbb256abe8f161670ac57a9ddee4ee3c6e9f [file] [log] [blame]
Heiko Schocherccc75952019-12-01 11:23:12 +01001// SPDX-License-Identifier: GPL-2.0
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 Schocherccc75952019-12-01 11:23:12 +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 Schocherccc75952019-12-01 11:23:12 +010020};
21
22&pinctrl_gpio {
Simon Glass8c103c32023-02-13 08:56:33 -070023 bootph-all;
Heiko Schocherccc75952019-12-01 11:23:12 +010024};
25
26&pinctrl_uart2 {
Simon Glass8c103c32023-02-13 08:56:33 -070027 bootph-all;
Heiko Schocherccc75952019-12-01 11:23:12 +010028};
29
30&aips2 {
Simon Glass8c103c32023-02-13 08:56:33 -070031 bootph-all;
Heiko Schocherccc75952019-12-01 11:23:12 +010032};
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 Glass8c103c32023-02-13 08:56:33 -070044 bootph-all;
Heiko Schocherccc75952019-12-01 11:23:12 +010045
46 wp_spi_nor {
47 gpio-hog;
48 output-high;
49 gpios = <15 GPIO_ACTIVE_HIGH>;
50 };
51};
52
Heiko Schocherccc75952019-12-01 11:23:12 +010053&gpio1 {
54 usdhc_fix {
55 gpio-hog;
56 output-high;
57 gpios = <12 GPIO_ACTIVE_HIGH>;
58 };
59};
60
61&gpio3 {
Simon Glass8c103c32023-02-13 08:56:33 -070062 bootph-all;
Heiko Schocherccc75952019-12-01 11:23:12 +010063};
64
65&gpio5 {
Simon Glass8c103c32023-02-13 08:56:33 -070066 bootph-all;
Heiko Schocherccc75952019-12-01 11:23:12 +010067};
68
69&ecspi4 {
Simon Glass8c103c32023-02-13 08:56:33 -070070 bootph-all;
Heiko Schocherccc75952019-12-01 11:23:12 +010071};
72
73&flash {
Simon Glass8c103c32023-02-13 08:56:33 -070074 bootph-all;
Heiko Schocherccc75952019-12-01 11:23:12 +010075};
76
77&pinctrl_ecspi4 {
Simon Glass8c103c32023-02-13 08:56:33 -070078 bootph-all;
Heiko Schocherccc75952019-12-01 11:23:12 +010079};