~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
blob: b3592331c72b006d21d3f8118a1be996e4161aa1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
// SPDX-License-Identifier: GPL-2.0+
/*
 * Copyright 2021 Gateworks Corporation
 */
#include "imx8mm-venice-gw700x-u-boot.dtsi"

&gpio1 {
	pci_usb_sel {
		gpio-hog;
		output-low;
		gpios = <6 GPIO_ACTIVE_HIGH>;
		line-name = "pci_usb_sel";
	};

	dio_0 {
		gpio-hog;
		input;
		gpios = <7 GPIO_ACTIVE_HIGH>;
		line-name = "dio0";
	};

	dio_1 {
		gpio-hog;
		input;
		gpios = <9 GPIO_ACTIVE_HIGH>;
		line-name = "dio1";
	};
};

&gpio4 {
	dio_2 {
		gpio-hog;
		input;
		gpios = <3 GPIO_ACTIVE_HIGH>;
		line-name = "dio2";
	};

	dio_3 {
		gpio-hog;
		input;
		gpios = <4 GPIO_ACTIVE_HIGH>;
		line-name = "dio3";
	};

	pci_wdis {
		gpio-hog;
		output-high;
		gpios = <7 GPIO_ACTIVE_HIGH>;
		line-name = "pci_wdis#";
	};
};