blob: 88826a2634c8f008e6ae29cc08bcd1dd96275956 [file] [log] [blame]
Heiko Schocher1204b962019-12-01 11:23:30 +01001// SPDX-License-Identifier: GPL-2.0+ or X11
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&iomuxc {
31 u-boot,dm-pre-reloc;
32};
33
34&aips2 {
35 u-boot,dm-pre-reloc;
36};
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 {
48 u-boot,dm-pre-reloc;
49
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 {
64 u-boot,dm-pre-reloc;
65};
66
67&ecspi1 {
68 u-boot,dm-pre-reloc;
69};
70
71&flash {
72 u-boot,dm-pre-reloc;
73};
74
75&pinctrl_ecspi1 {
76 u-boot,dm-pre-reloc;
77};