blob: 11c773bb70d6779a0271d5d1ee1ce58f20001e89 [file] [log] [blame]
Tim Harvey1b7fbf62021-06-30 16:50:02 -07001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2020 Gateworks Corporation
4 */
5
Tim Harveyb0606c22021-08-24 12:04:00 -07006#include "imx8mm-venice-u-boot.dtsi"
Tim Harvey1b7fbf62021-06-30 16:50:02 -07007
Tim Harveya5953f92022-04-13 09:02:44 -07008&gpio1 {
9 uart1_rs422 {
10 gpio-hog;
11 output-high;
12 gpios = <0 GPIO_ACTIVE_HIGH>;
13 line-name = "uart1_rs422#";
14 };
15
16 uart1rs485 {
17 gpio-hog;
18 output-high;
19 gpios = <3 GPIO_ACTIVE_HIGH>;
20 line-name = "uart1_rs485#";
21 };
22
23 uart1rs232 {
24 gpio-hog;
25 output-high;
26 gpios = <5 GPIO_ACTIVE_HIGH>;
27 line-name = "uart1_rs232#";
28 };
29
30 dig1in {
31 gpio-hog;
32 input;
33 gpios = <6 GPIO_ACTIVE_HIGH>;
34 line-name = "dig1_in";
35 };
36
37 dig1out {
38 gpio-hog;
39 output-low;
40 gpios = <7 GPIO_ACTIVE_HIGH>;
41 line-name = "dig1_out";
42 };
43};
44
45&gpio4 {
46 uart3_rs232 {
47 gpio-hog;
48 output-high;
49 gpios = <6 GPIO_ACTIVE_HIGH>;
50 line-name = "uart3_rs232#";
51 };
52
53 uart3_rs422 {
54 gpio-hog;
55 output-high;
56 gpios = <7 GPIO_ACTIVE_HIGH>;
57 line-name = "uart3_rs422#";
58 };
59
60 uart3_rs485 {
61 gpio-hog;
62 output-high;
63 gpios = <8 GPIO_ACTIVE_HIGH>;
64 line-name = "uart3_rs485#";
65 };
66
67 uart4_rs485 {
68 gpio-hog;
69 output-high;
70 gpios = <27 GPIO_ACTIVE_HIGH>;
71 line-name = "uart4_rs485#";
72 };
73
74 sim1det {
75 gpio-hog;
76 input;
77 gpios = <29 GPIO_ACTIVE_HIGH>;
78 line-name = "sim1_det";
79 };
80
81 sim2det {
82 gpio-hog;
83 input;
84 gpios = <30 GPIO_ACTIVE_HIGH>;
85 line-name = "sim2_det";
86 };
87};
88
89&gpio5 {
90 dig2out {
91 gpio-hog;
92 output-low;
93 gpios = <3 GPIO_ACTIVE_HIGH>;
94 line-name = "dig2_out";
95 };
96
97 dig2in {
98 gpio-hog;
99 input;
100 gpios = <4 GPIO_ACTIVE_HIGH>;
101 line-name = "dig2_in";
102 };
103
104 sim2sel {
105 gpio-hog;
106 output-low;
107 gpios = <5 GPIO_ACTIVE_HIGH>;
108 line-name = "sim2_sel";
109 };
110
111 uart4_rs232 {
112 gpio-hog;
113 output-high;
114 gpios = <10 GPIO_ACTIVE_HIGH>;
115 line-name = "uart4_rs232#";
116 };
117
118 uart4_rs422 {
119 gpio-hog;
120 output-high;
121 gpios = <13 GPIO_ACTIVE_HIGH>;
122 line-name = "uart4_rs422#";
123 };
124};
125
Tim Harvey1b7fbf62021-06-30 16:50:02 -0700126&fec1 {
127 phy-reset-gpios = <&gpio4 19 GPIO_ACTIVE_LOW>;
128 phy-reset-duration = <1>;
129 phy-reset-post-delay = <1>;
130};
131
Tim Harveyb0606c22021-08-24 12:04:00 -0700132&pinctrl_fec1 {
133 u-boot,dm-spl;
134};
135
Tim Harvey1b7fbf62021-06-30 16:50:02 -0700136&{/soc@0/bus@30800000/i2c@30a30000/pmic@4b} {
137 u-boot,dm-spl;
138};
139
140&{/soc@0/bus@30800000/i2c@30a30000/pmic@4b/regulators} {
141 u-boot,dm-spl;
142};
143
144&pinctrl_pmic {
145 u-boot,dm-spl;
146};