-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathni-bluefin.dts
More file actions
138 lines (115 loc) · 1.98 KB
/
ni-bluefin.dts
File metadata and controls
138 lines (115 loc) · 1.98 KB
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
/dts-v1/;
/include/ "ni-zynq.dtsi"
/* NIDEVCODE 78C7 */
/* NIDEVCODE 78B9 */
/ {
model = "NI Bluefin";
compatible = "ni,zynq", "xlnx,zynq-7000";
leds {
compatible = "gpio-leds";
/* LED_STATUSy on GPIO46 */
status {
label = "nilrt:status:yellow";
gpios = <&gpio0 46 0>;
default-state = "on";
};
/* LED_ACTIVEg on GPIO47 */
active {
label = "nilrt:active:green";
gpios = <&gpio0 47 0>;
default-state = "off";
};
};
gpio_keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
/* Reset switch is on GPIO48 */
reset_sw@0 {
label = "reset_sw";
gpios = <&gpio0 48 1 /* GPIO_ACTIVE_LOW */>;
linux,code = <408>; /* KEY_RESTART */
gpio-key,wakeup;
};
};
gpio_restart {
compatible = "gpio-restart";
/* ~PS_FORCE_RESET is on GPIO44 */
gpios = <&gpio0 44 1 /* GPIO_ACTIVE_LOW */>;
priority = <200>;
};
};
&i2c0 {
/* Override ni-zynq.dtsi; we do not have a CPLD at 0x40. */
nicpld@40 {
status = "disabled";
};
tmp451@4C {
compatible = "ti,tmp451";
reg = <0x4C>;
vcc-supply = <®ulator_vccpint>;
};
};
&gem0 {
status = "okay";
#address-cells = <0x1>;
#size-cells = <0x0>;
fixed-link {
speed = <1000>;
full-duplex;
reg = <0>;
};
mdio0: mdio {
status = "okay";
};
};
&mdio0 {
#address-cells = <1>;
#size-cells = <0>;
switch: switch@0 {
compatible = "marvell,mv88e6085";
reg = <0x0>;
status = "okay";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
label = "cpu";
phy-mode = "rgmii-id";
ethernet = <&gem0>;
fixed-link {
speed = <1000>;
full-duplex;
};
};
port@1 {
reg = <1>;
label = "sw0";
fixed-link {
speed = <1000>;
full-duplex;
};
};
port@2 {
reg = <2>;
label = "sw1";
fixed-link {
speed = <1000>;
full-duplex;
};
};
};
};
};
&uart1 {
status = "okay";
};
&usb0 {
status = "okay";
dr_mode = "host";
};
&watchdog0 {
status = "okay";
reset-on-timeout;
};