-
Notifications
You must be signed in to change notification settings - Fork 0
/
nonlinear-labs-2A.dts
124 lines (108 loc) · 2.6 KB
/
nonlinear-labs-2A.dts
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
/*
* Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
/dts-v1/;
#include "am33xx.dtsi"
#include "am335x-bone-common.dtsi"
/ {
nonlinear {
hw-rev = "2A";
};
};
&ldo3_reg {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
};
&mmc1 {
vmmc-supply = <&vmmcsd_fixed>;
};
&mmc2 {
vmmc-supply = <&vmmcsd_fixed>;
pinctrl-names = "default";
pinctrl-0 = <&emmc_pins>;
bus-width = <8>;
status = "okay";
ti,vcc-aux-disable-is-sleep;
};
&am33xx_pinmux {
/*NL_nni: SPI1 (ADC) & SPI0 added */
pinctrl_spi0: pinmux_spi0_pins {
pinctrl-single,pins = <
0x150 0x30 /* SPI0_CLK */
0x154 0x30 /* SPI0_D0 */
0x158 0x10 /* SPI0_D1 */
0x15C 0x10 /* SPI0_CS0 */
0x178 0x37 /* LPC_PRQ uart1_ctsn.gpio0_12, INPUT | MODE7 */
0x17C 0x37 /* LPC_RDY uart1_rtsn.gpio0_13, INPUT | MODE7 */
>;
};
pinctrl_spi1: pinmux_spi1_pins {
pinctrl-single,pins = <
0x190 0x23 /* SPI1_CLK */
0x194 0x23 /* SPI1_D0 */
0x198 0x13 /* SPI1_D1 */
0x19C 0x17 /* ESPI_SDG */
0x1A4 0x17 /* ESPI_SDS */
0x8C 0x7 /* OLED_DC gpmc_clk_mux0.gpio2_1, OUTPUT | MODE7 */
0x28 0x7 /* OLED_CS gpmc_ad10.gpio0_26, OUTPUT | MODE7 */
0x3c 0x7 /* ADC_CS gpmc_ad15.gpio1_15, OUTPUT | MODE7 */
0x0A8 0x7 /* POD2 GPIO2 8 */
0x0AC 0x7 /* POD1 GPIO2 9 */
0x0B0 0x7 /* POD4 GPIO2 10 */
0x0B4 0x7 /* POD3 GPIO2 11 */
0x0B8 0x7 /* POD6 GPIO2 12 */
0x0BC 0x7 /* POD5 GPIO2 13 */
0x0C0 0x7 /* POD8 GPIO2 14 */
0x0C4 0x7 /* POD7 GPIO2 15 */
>;
};
};
/* NL_nni: SPI1 & SPI0 added */
&spi0 {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_spi0>;
spi0_0{
#address-cells = <1>;
#size-cells = <0>;
compatible ="lpc_bb_driver";
reg = <0>;
spi-max-frequency=<24000000>;
rdy-gpio = <&gpio0 13 0>;
prq-gpio = <&gpio0 12 0>;
lpc-hb-gpio = <&gpio1 19 0>;
};
};
&spi1 {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_spi1>;
cs0-device {
#address-cells = <1>;
#size-cells = <0>;
compatible ="espi_driver", "spidev";
reg = <0>;
spi-max-frequency=<24000000>;
/* NL_nni: eSPI hub specific GPIOs */
scs-gpios = < &gpio2 8 0
&gpio2 9 0
&gpio2 10 0
&gpio2 11 0
&gpio2 12 0
&gpio2 13 0
&gpio2 14 0
&gpio2 15 0
>;
sap-gpio = <&gpio3 19 0>;
dmxs-gpio = <&gpio3 17 0>;
};
};