1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (C) 2019 Heiko Schocher <hs@denx.de>
4 */
5
6/ {
7	chosen {
8		u-boot,dm-pre-reloc;
9		stdout-path = &uart2;
10	};
11
12	wdt-reboot {
13		compatible = "wdt-reboot";
14		wdt = <&wdog1>;
15	};
16};
17
18&uart2 {
19	u-boot,dm-pre-reloc;
20};
21
22&pinctrl_gpio {
23	u-boot,dm-pre-reloc;
24};
25
26&pinctrl_uart2 {
27	u-boot,dm-pre-reloc;
28};
29
30&aips2 {
31	u-boot,dm-pre-reloc;
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 {
44	u-boot,dm-pre-reloc;
45
46	wp_spi_nor {
47		gpio-hog;
48		output-high;
49		gpios = <15 GPIO_ACTIVE_HIGH>;
50	};
51};
52
53&gpio1 {
54	usdhc_fix {
55		gpio-hog;
56		output-high;
57		gpios = <12 GPIO_ACTIVE_HIGH>;
58	};
59};
60
61&gpio3 {
62	u-boot,dm-pre-reloc;
63};
64
65&gpio5 {
66	u-boot,dm-pre-reloc;
67};
68
69&ecspi4 {
70	u-boot,dm-pre-reloc;
71};
72
73&flash {
74	u-boot,dm-pre-reloc;
75};
76
77&pinctrl_ecspi4 {
78	u-boot,dm-pre-reloc;
79};
80