blob: 17e6828c79f8d50ebb0130e37cbe9dab6058387f [file] [log] [blame]
Tim Harvey1a50e742022-02-11 10:48:56 -08001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2022 Gateworks Corporation
4 */
5
6#include "imx8mn-venice-u-boot.dtsi"
7
Tim Harveya5953f92022-04-13 09:02:44 -07008&gpio1 {
9 m2rst {
10 gpio-hog;
11 output-low;
12 gpios = <13 GPIO_ACTIVE_HIGH>;
13 line-name = "m2_reset";
14 };
15
16 m2wdis {
17 gpio-hog;
18 output-high;
19 gpios = <15 GPIO_ACTIVE_HIGH>;
20 line-name = "m2_wdis#";
21 };
22};
23
24&gpio2 {
25 uart2en {
26 gpio-hog;
27 output-high;
28 gpios = <8 GPIO_ACTIVE_HIGH>;
29 line-name = "uart2_en#";
30 };
31};
32
33&gpio3 {
34 m2gdis {
35 gpio-hog;
36 output-high;
37 gpios = <1 GPIO_ACTIVE_HIGH>;
38 line-name = "m2_gdis#";
39 };
40
41 m2off {
42 gpio-hog;
43 output-high;
44 gpios = <7 GPIO_ACTIVE_HIGH>;
45 line-name = "m2_off#";
46 };
47};
48
49&gpio4 {
50 appgpio1 {
51 gpio-hog;
52 input;
53 gpios = <21 GPIO_ACTIVE_HIGH>;
54 line-name = "app_gpio1";
55 };
56
57 uart1rs485 {
58 gpio-hog;
59 output-low;
60 gpios = <23 GPIO_ACTIVE_HIGH>;
61 line-name = "uart1_rs485";
62 };
63
64 uart1term {
65 gpio-hog;
66 output-low;
67 gpios = <25 GPIO_ACTIVE_HIGH>;
68 line-name = "uart1_term";
69 };
70
71 uart1half {
72 gpio-hog;
73 output-low;
74 gpios = <26 GPIO_ACTIVE_HIGH>;
75 line-name = "uart1_half";
76 };
77
78 appgpio2 {
79 gpio-hog;
80 input;
81 gpios = <27 GPIO_ACTIVE_HIGH>;
82 line-name = "app_gpio2";
83 };
84
85 mipigpio1 {
86 gpio-hog;
87 input;
88 gpios = <28 GPIO_ACTIVE_HIGH>;
89 line-name = "mipi_gpio1";
90 };
91};
92
93&gpio5 {
94 mipigpio4 {
95 gpio-hog;
96 input;
97 gpios = <3 GPIO_ACTIVE_HIGH>;
98 line-name = "mipi_gpio4";
99 };
100
101 mipigpio3 {
102 gpio-hog;
103 input;
104 gpios = <4 GPIO_ACTIVE_HIGH>;
105 line-name = "mipi_gpio3";
106 };
107
108 mipigpio2 {
109 gpio-hog;
110 input;
111 gpios = <5 GPIO_ACTIVE_HIGH>;
112 line-name = "mipi_gpio2";
113 };
114};
115
Tim Harvey1a50e742022-02-11 10:48:56 -0800116&fec1 {
117 phy-reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
118 phy-reset-duration = <1>;
Tim Harvey3c436182022-04-13 09:09:49 -0700119 phy-reset-post-delay = <300>;
Tim Harvey1a50e742022-02-11 10:48:56 -0800120};
121
122&pinctrl_fec1 {
123 u-boot,dm-spl;
124};
125
126&{/soc@0/bus@30800000/i2c@30a20000/pmic@4b} {
127 u-boot,dm-spl;
128};
129
130&{/soc@0/bus@30800000/i2c@30a20000/pmic@4b/regulators} {
131 u-boot,dm-spl;
132};
133
134&pinctrl_pmic {
135 u-boot,dm-spl;
136};