File tree Expand file tree Collapse file tree 13 files changed +2
-160
lines changed Expand file tree Collapse file tree 13 files changed +2
-160
lines changed Original file line number Diff line number Diff line change 71
71
72
72
reg_vmmc1: vmmc1 {
73
73
compatible = "regulator-fixed";
74
- pinctrl-names = "default";
75
- pinctrl-0 = <&mmc1_vcc_en_pin_t004>;
76
74
regulator-name = "vmmc1";
77
75
regulator-min-microvolt = <3300000>;
78
76
regulator-max-microvolt = <3300000>;
139
137
bias-pull-up;
140
138
};
141
139
142
- mmc1_vcc_en_pin_t004: mmc1_vcc_en_pin@0 {
143
- pins = "PB18";
144
- function = "gpio_out";
145
- };
146
-
147
140
led_pins_t004: led_pins@0 {
148
141
pins = "PB2";
149
142
function = "gpio_out";
Original file line number Diff line number Diff line change 59
59
60
60
leds {
61
61
compatible = "gpio-leds";
62
- pinctrl-names = "default";
63
- pinctrl-0 = <&led_pins_mk802>;
64
62
65
63
red {
66
64
label = "mk802:red:usr";
114
112
};
115
113
116
114
&pio {
117
- led_pins_mk802: led_pins@0 {
118
- pins = "PB2";
119
- function = "gpio_out";
120
- };
121
-
122
115
mmc0_cd_pin_mk802: mmc0_cd_pin@0 {
123
116
pins = "PG1";
124
117
function = "gpio_in";
125
118
bias-pull-up;
126
119
};
127
-
128
- usb1_vbus_pin_mk802: usb1_vbus_pin@0 {
129
- pins = "PB10";
130
- function = "gpio_out";
131
- };
132
120
};
133
121
134
122
®_usb1_vbus {
135
- pinctrl-0 = <&usb1_vbus_pin_mk802>;
136
123
gpio = <&pio 1 10 GPIO_ACTIVE_HIGH>; /* PB10 */
137
124
status = "okay";
138
125
};
Original file line number Diff line number Diff line change 241
241
drive-strength = <20>;
242
242
};
243
243
244
- usb1_vbus_pin_olinuxino_m: usb1_vbus_pin@0 {
245
- pins = "PB10";
246
- function = "gpio_out";
247
- };
248
-
249
244
usb0_id_detect_pin: usb0_id_detect_pin@0 {
250
245
pins = "PG12";
251
246
function = "gpio_in";
259
254
};
260
255
261
256
®_usb1_vbus {
262
- pinctrl-0 = <&usb1_vbus_pin_olinuxino_m>;
263
257
gpio = <&pio 1 10 GPIO_ACTIVE_HIGH>;
264
258
status = "okay";
265
259
};
Original file line number Diff line number Diff line change 109
109
function = "gpio_out";
110
110
drive-strength = <20>;
111
111
};
112
-
113
- usb1_vbus_pin_r7: usb1_vbus_pin@0 {
114
- pins = "PG13";
115
- function = "gpio_out";
116
- };
117
112
};
118
113
119
114
®_usb1_vbus {
120
- pinctrl-0 = <&usb1_vbus_pin_r7>;
121
115
gpio = <&pio 6 13 GPIO_ACTIVE_HIGH>;
122
116
status = "okay";
123
117
};
Original file line number Diff line number Diff line change 61
61
62
62
leds {
63
63
compatible = "gpio-leds";
64
- pinctrl-names = "default";
65
- pinctrl-0 = <&led_pins_wobo_i5>;
66
64
67
65
blue {
68
66
label = "a10s-wobo-i5:blue:usr";
73
71
74
72
reg_emac_3v3: emac-3v3 {
75
73
compatible = "regulator-fixed";
76
- pinctrl-names = "default";
77
- pinctrl-0 = <&emac_power_pin_wobo>;
78
74
regulator-name = "emac-3v3";
79
75
regulator-min-microvolt = <3300000>;
80
76
regulator-max-microvolt = <3300000>;
143
139
};
144
140
145
141
&pio {
146
- led_pins_wobo_i5: led_pins@0 {
147
- pins = "PB2";
148
- function = "gpio_out";
149
- };
150
-
151
142
mmc0_cd_pin_wobo_i5: mmc0_cd_pin@0 {
152
143
pins = "PB3";
153
144
function = "gpio_in";
154
145
bias-pull-up;
155
146
};
156
-
157
- emac_power_pin_wobo: emac_power_pin@0 {
158
- pins = "PA02";
159
- function = "gpio_out";
160
- };
161
147
};
162
148
163
149
®_dcdc2 {
Original file line number Diff line number Diff line change 144
144
function = "gpio_in";
145
145
bias-pull-up;
146
146
};
147
-
148
- usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
149
- pins = "PG1";
150
- function = "gpio_in";
151
- };
152
147
};
153
148
154
149
#include "axp209.dtsi"
202
197
203
198
&usbphy {
204
199
pinctrl-names = "default";
205
- pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin> ;
200
+ pinctrl-0 = <&usb0_id_detect_pin>;
206
201
usb0_id_det-gpios = <&pio 6 2 GPIO_ACTIVE_HIGH>; /* PG2 */
207
202
usb0_vbus_det-gpios = <&pio 6 1 GPIO_ACTIVE_HIGH>; /* PG1 */
208
203
usb0_vbus-supply = <®_usb0_vbus>;
Original file line number Diff line number Diff line change 135
135
function = "gpio_in";
136
136
bias-pull-down;
137
137
};
138
-
139
- usb0_vbus_pin_olinuxinom: usb0_vbus_pin@0 {
140
- pins = "PG12";
141
- function = "gpio_out";
142
- };
143
-
144
- usb1_vbus_pin_olinuxinom: usb1_vbus_pin@0 {
145
- pins = "PG11";
146
- function = "gpio_out";
147
- };
148
138
};
149
139
150
140
®_usb0_vbus {
151
- pinctrl-0 = <&usb0_vbus_pin_olinuxinom>;
152
141
gpio = <&pio 6 12 GPIO_ACTIVE_HIGH>;
153
142
status = "okay";
154
143
};
155
144
156
145
®_usb1_vbus {
157
- pinctrl-0 = <&usb1_vbus_pin_olinuxinom>;
158
146
gpio = <&pio 6 11 GPIO_ACTIVE_HIGH>;
159
147
status = "okay";
160
148
};
Original file line number Diff line number Diff line change 230
230
function = "gpio_in";
231
231
bias-pull-down;
232
232
};
233
-
234
- usb1_vbus_pin_olinuxino: usb1_vbus_pin@0 {
235
- pins = "PG11";
236
- function = "gpio_out";
237
- };
238
233
};
239
234
240
235
®_usb0_vbus {
243
238
};
244
239
245
240
®_usb1_vbus {
246
- pinctrl-0 = <&usb1_vbus_pin_olinuxino>;
247
241
gpio = <&pio 6 11 GPIO_ACTIVE_HIGH>;
248
242
status = "okay";
249
243
};
Original file line number Diff line number Diff line change 79
79
allwinner,pa-gpios = <&pio 6 3 GPIO_ACTIVE_HIGH>; /* PG3 */
80
80
};
81
81
82
- &codec_pa_pin {
83
- pins = "PG3";
84
- };
85
-
86
82
&mmc2 {
87
83
pinctrl-names = "default";
88
84
pinctrl-0 = <&mmc2_pins_a>;
128
124
/* The P66 uses the uart pins as gpios */
129
125
status = "disabled";
130
126
};
131
-
132
- &usb0_vbus_pin_a {
133
- pins = "PB4";
134
- };
Original file line number Diff line number Diff line change 79
79
80
80
mmc0_pwrseq: mmc0_pwrseq {
81
81
compatible = "mmc-pwrseq-simple";
82
- pinctrl-names = "default";
83
- pinctrl-0 = <&wifi_reg_on_pin_chip_pro>;
84
82
reset-gpios = <&pio 1 10 GPIO_ACTIVE_LOW>; /* PB10 */
85
83
};
86
84
};
157
155
status = "okay";
158
156
};
159
157
160
- &pio {
161
- usb0_id_pin_chip_pro: usb0-id-pin@0 {
162
- pins = "PG2";
163
- function = "gpio_in";
164
- };
165
-
166
- wifi_reg_on_pin_chip_pro: wifi-reg-on-pin@0 {
167
- pins = "PB10";
168
- function = "gpio_out";
169
- };
170
- };
171
-
172
158
&pwm {
173
159
pinctrl-names = "default";
174
160
pinctrl-0 = <&pwm0_pins>, <&pwm1_pins>;
253
239
};
254
240
255
241
&usbphy {
256
- pinctrl-names = "default";
257
- pinctrl-0 = <&usb0_id_pin_chip_pro>;
258
242
usb0_id_det-gpio = <&pio 6 2 GPIO_ACTIVE_HIGH>; /* PG2 */
259
243
usb0_vbus_power-supply = <&usb_power_supply>;
260
244
usb1_vbus-supply = <®_vcc5v0>;
Original file line number Diff line number Diff line change 233
233
234
234
&mmc0 {
235
235
pinctrl-names = "default";
236
- pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_gr8_evb> ;
236
+ pinctrl-0 = <&mmc0_pins_a>;
237
237
vmmc-supply = <®_vcc3v3>;
238
238
bus-width = <4>;
239
239
cd-gpios = <&pio 6 0 GPIO_ACTIVE_LOW>; /* PG0 */
256
256
status = "okay";
257
257
};
258
258
259
- &pio {
260
- mmc0_cd_pin_gr8_evb: mmc0-cd-pin@0 {
261
- pins = "PG0";
262
- function = "gpio_in";
263
- };
264
-
265
- usb0_id_pin_gr8_evb: usb0-id-pin@0 {
266
- pins = "PG2";
267
- function = "gpio_in";
268
- };
269
-
270
- usb0_vbus_det_pin_gr8_evb: usb0-vbus-det-pin@0 {
271
- pins = "PG1";
272
- function = "gpio_in";
273
- };
274
-
275
- usb1_vbus_pin_gr8_evb: usb1-vbus-pin@0 {
276
- pins = "PG13";
277
- function = "gpio_out";
278
- };
279
- };
280
-
281
259
&pwm {
282
260
pinctrl-names = "default";
283
261
pinctrl-0 = <&pwm0_pins>;
310
288
};
311
289
312
290
®_usb1_vbus {
313
- pinctrl-0 = <&usb1_vbus_pin_gr8_evb>;
314
291
gpio = <&pio 6 13 GPIO_ACTIVE_HIGH>;
315
292
status = "okay";
316
293
};
356
333
};
357
334
358
335
&usbphy {
359
- pinctrl-names = "default";
360
- pinctrl-0 = <&usb0_id_pin_gr8_evb>, <&usb0_vbus_det_pin_gr8_evb>;
361
336
usb0_id_det-gpio = <&pio 6 2 GPIO_ACTIVE_HIGH>; /* PG2 */
362
337
usb0_vbus_det-gpio = <&pio 6 1 GPIO_ACTIVE_HIGH>; /* PG1 */
363
338
usb0_vbus_power-supply = <&usb_power_supply>;
Original file line number Diff line number Diff line change 79
79
80
80
mmc0_pwrseq: mmc0_pwrseq {
81
81
compatible = "mmc-pwrseq-simple";
82
- pinctrl-names = "default";
83
- pinctrl-0 = <&chip_wifi_reg_on_pin>;
84
82
reset-gpios = <&pio 2 19 GPIO_ACTIVE_LOW>; /* PC19 */
85
83
};
86
84
184
182
};
185
183
186
184
&pio {
187
- chip_vbus_pin: chip_vbus_pin@0 {
188
- pins = "PB10";
189
- function = "gpio_out";
190
- };
191
-
192
- chip_wifi_reg_on_pin: chip_wifi_reg_on_pin@0 {
193
- pins = "PC19";
194
- function = "gpio_out";
195
- };
196
-
197
- chip_id_det_pin: chip_id_det_pin@0 {
198
- pins = "PG2";
199
- function = "gpio_in";
200
- };
201
185
202
186
chip_w1_pin: chip_w1_pin@0 {
203
187
pins = "PD2";
260
244
};
261
245
262
246
®_usb0_vbus {
263
- pinctrl-0 = <&chip_vbus_pin>;
264
247
vin-supply = <®_vcc5v0>;
265
248
gpio = <&pio 1 10 GPIO_ACTIVE_HIGH>; /* PB10 */
266
249
status = "okay";
303
286
};
304
287
305
288
&usbphy {
306
- pinctrl-names = "default";
307
- pinctrl-0 = <&chip_id_det_pin>;
308
289
status = "okay";
309
290
310
291
usb0_id_det-gpio = <&pio 6 2 GPIO_ACTIVE_HIGH>; /* PG2 */
You can’t perform that action at this time.
0 commit comments