File tree Expand file tree Collapse file tree 2 files changed +66
-0
lines changed Expand file tree Collapse file tree 2 files changed +66
-0
lines changed Original file line number Diff line number Diff line change 54
54
55
55
aliases {
56
56
serial0 = &uart_AO;
57
+ mmc0 = &sd_card_slot;
57
58
};
58
59
59
60
memory {
69
70
default-state = "off";
70
71
};
71
72
};
73
+
74
+ tflash_vdd: regulator-tflash_vdd {
75
+ /*
76
+ * signal name from schematics: TFLASH_VDD_EN
77
+ */
78
+ compatible = "regulator-fixed";
79
+
80
+ regulator-name = "TFLASH_VDD";
81
+ regulator-min-microvolt = <3300000>;
82
+ regulator-max-microvolt = <3300000>;
83
+
84
+ gpio = <&gpio GPIOY_12 GPIO_ACTIVE_HIGH>;
85
+ enable-active-high;
86
+ };
87
+
88
+ tf_io: gpio-regulator-tf_io {
89
+ compatible = "regulator-gpio";
90
+
91
+ regulator-name = "TF_IO";
92
+ regulator-min-microvolt = <1800000>;
93
+ regulator-max-microvolt = <3300000>;
94
+
95
+ /*
96
+ * signal name from schematics: TF_3V3N_1V8_EN
97
+ */
98
+ gpios = <&gpio_ao GPIOAO_3 GPIO_ACTIVE_HIGH>;
99
+ gpios-states = <0>;
100
+
101
+ states = <3300000 0
102
+ 1800000 1>;
103
+ };
72
104
};
73
105
74
106
&uart_AO {
100
132
status = "okay";
101
133
};
102
134
135
+ &sdio {
136
+ status = "okay";
137
+
138
+ pinctrl-0 = <&sd_b_pins>;
139
+ pinctrl-names = "default";
140
+
141
+ /* SD card */
142
+ sd_card_slot: slot@1 {
143
+ compatible = "mmc-slot";
144
+ reg = <1>;
145
+ status = "okay";
146
+
147
+ bus-width = <4>;
148
+ no-sdio;
149
+ cap-mmc-highspeed;
150
+ cap-sd-highspeed;
151
+ disable-wp;
152
+
153
+ cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_HIGH>;
154
+ cd-inverted;
155
+
156
+ vmmc-supply = <&tflash_vdd>;
157
+ vqmmc-supply = <&tf_io>;
158
+ };
159
+ };
160
+
103
161
ðmac {
104
162
status = "okay";
105
163
Original file line number Diff line number Diff line change 206
206
function = "ethernet";
207
207
};
208
208
};
209
+
210
+ sd_b_pins: sd-b {
211
+ mux {
212
+ groups = "sd_d0_b", "sd_d1_b", "sd_d2_b",
213
+ "sd_d3_b", "sd_clk_b", "sd_cmd_b";
214
+ function = "sd_b";
215
+ };
216
+ };
209
217
};
210
218
};
211
219
You can’t perform that action at this time.
0 commit comments