File tree 7 files changed +89
-19
lines changed
7 files changed +89
-19
lines changed Original file line number Diff line number Diff line change 40
40
41
41
&mac {
42
42
status = "okay";
43
- pinctrl-0 = <ð_mdc_pc1
44
- ð_rxd0_pc4
43
+ pinctrl-0 = <ð_rxd0_pc4
45
44
ð_rxd1_pc5
46
45
ð_ref_clk_pa1
47
- ð_mdio_pa2
48
46
ð_crs_dv_pa7
49
47
ð_tx_en_pg11
50
48
ð_txd0_pg13
51
49
ð_txd1_pb15>;
52
50
pinctrl-names = "default";
53
51
};
52
+
53
+ &mdio {
54
+ status = "okay";
55
+ pinctrl-0 = <ð_mdio_pa2 ð_mdc_pc1>;
56
+ pinctrl-names = "default";
57
+
58
+ ethernet-phy@0 {
59
+ compatible = "ethernet-phy";
60
+ reg = <0x00>;
61
+ status = "okay";
62
+ };
63
+ };
Original file line number Diff line number Diff line change 160
160
&mac {
161
161
status = "okay";
162
162
pinctrl-0 = <ð_ref_clk_pa1
163
- ð_mdio_pa2
164
163
ð_crs_dv_pa7
165
- ð_mdc_pc1
166
164
ð_rxd0_pc4
167
165
ð_rxd1_pc5
168
166
ð_tx_en_pg11
171
169
pinctrl-names = "default";
172
170
};
173
171
172
+ &mdio {
173
+ status = "okay";
174
+ pinctrl-0 = <ð_mdio_pa2 ð_mdc_pc1>;
175
+ pinctrl-names = "default";
176
+
177
+ phy: ethernet-phy@0 {
178
+ compatible = "ethernet-phy";
179
+ reg = <0>;
180
+ status = "okay";
181
+ };
182
+ };
183
+
174
184
zephyr_udc0: &usbotg_hs {
175
185
pinctrl-0 = <&usb_otg_hs_dm_pa11 &usb_otg_hs_dp_pa12>;
176
186
pinctrl-names = "default";
Original file line number Diff line number Diff line change @@ -187,18 +187,28 @@ zephyr_udc0: &usbotg_fs {
187
187
*/
188
188
&mac {
189
189
status = "okay";
190
- pinctrl-0 = <ð_mdc_pc1
191
- ð_rxd0_pc4
190
+ pinctrl-0 = <ð_rxd0_pc4
192
191
ð_rxd1_pc5
193
192
ð_ref_clk_pa1
194
- ð_mdio_pa2
195
193
ð_crs_dv_pa7
196
194
ð_tx_en_pg11
197
195
ð_txd0_pg13
198
196
ð_txd1_pb13>;
199
197
pinctrl-names = "default";
200
198
};
201
199
200
+ &mdio {
201
+ status = "okay";
202
+ pinctrl-0 = <ð_mdio_pa2 ð_mdc_pc1>;
203
+ pinctrl-names = "default";
204
+
205
+ ethernet-phy@0 {
206
+ compatible = "ethernet-phy";
207
+ reg = <0x00>;
208
+ status = "okay";
209
+ };
210
+ };
211
+
202
212
&spi1 {
203
213
status = "okay";
204
214
pinctrl-0 = <&spi1_sck_pa5 &spi1_miso_pa6 &spi1_mosi_pb5>;
Original file line number Diff line number Diff line change 107
107
&mac {
108
108
status = "okay";
109
109
pinctrl-0 = <ð_ref_clk_pa1
110
- ð_mdio_pa2
111
110
ð_crs_dv_pa7
112
- ð_mdc_pc1
113
111
ð_rxd0_pc4
114
112
ð_rxd1_pc5
115
113
ð_tx_en_pg11
118
116
pinctrl-names = "default";
119
117
};
120
118
119
+ &mdio {
120
+ status = "okay";
121
+ pinctrl-0 = <ð_mdio_pa2 ð_mdc_pc1>;
122
+ pinctrl-names = "default";
123
+
124
+ ethernet-phy@0 {
125
+ compatible = "ethernet-phy";
126
+ reg = <0x00>;
127
+ status = "okay";
128
+ };
129
+ };
130
+
121
131
&rng {
122
132
status = "okay";
123
133
};
Original file line number Diff line number Diff line change @@ -164,18 +164,28 @@ zephyr_udc0: &usbotg_fs {
164
164
*/
165
165
&mac {
166
166
status = "okay";
167
- pinctrl-0 = <ð_mdc_pc1
168
- ð_rxd0_pc4
167
+ pinctrl-0 = <ð_rxd0_pc4
169
168
ð_rxd1_pc5
170
169
ð_ref_clk_pa1
171
- ð_mdio_pa2
172
170
ð_crs_dv_pa7
173
171
ð_tx_en_pg11
174
172
ð_txd0_pg13
175
173
ð_txd1_pb13>;
176
174
pinctrl-names = "default";
177
175
};
178
176
177
+ &mdio {
178
+ status = "okay";
179
+ pinctrl-0 = <ð_mdio_pa2 ð_mdc_pc1>;
180
+ pinctrl-names = "default";
181
+
182
+ ethernet-phy@0 {
183
+ compatible = "ethernet-phy";
184
+ reg = <0x00>;
185
+ status = "okay";
186
+ };
187
+ };
188
+
179
189
&spi1 {
180
190
status = "okay";
181
191
pinctrl-0 = <&spi1_sck_pa5 &spi1_miso_pa6 &spi1_mosi_pb5>;
Original file line number Diff line number Diff line change 149
149
150
150
&mac {
151
151
status = "okay";
152
- pinctrl-0 = <ð_mdc_pc1
153
- ð_rxd0_pc4
152
+ pinctrl-0 = <ð_rxd0_pc4
154
153
ð_rxd1_pc5
155
154
ð_ref_clk_pa1
156
- ð_mdio_pa2
157
155
ð_crs_dv_pa7
158
156
ð_tx_en_pg11
159
157
ð_txd0_pg13
160
158
ð_txd1_pg12>;
161
159
pinctrl-names = "default";
162
160
};
163
161
162
+ &mdio {
163
+ status = "okay";
164
+ pinctrl-0 = <ð_mdio_pa2 ð_mdc_pc1>;
165
+ pinctrl-names = "default";
166
+
167
+ ethernet-phy@0 {
168
+ compatible = "ethernet-phy";
169
+ reg = <0x00>;
170
+ status = "okay";
171
+ };
172
+ };
173
+
164
174
&flash0 {
165
175
partitions {
166
176
compatible = "fixed-partitions";
Original file line number Diff line number Diff line change 130
130
};
131
131
132
132
&mac {
133
- pinctrl-0 = <ð_mdc_pc1
134
- ð_rxd0_pc4
133
+ pinctrl-0 = <ð_rxd0_pc4
135
134
ð_rxd1_pc5
136
135
ð_ref_clk_pa1
137
- ð_mdio_pa2
138
136
ð_crs_dv_pa7
139
137
ð_tx_en_pb11
140
138
ð_txd0_pb12
143
141
status = "okay";
144
142
};
145
143
144
+ &mdio {
145
+ status = "okay";
146
+ pinctrl-0 = <ð_mdio_pa2 ð_mdc_pc1>;
147
+ pinctrl-names = "default";
148
+
149
+ ethernet-phy@0 {
150
+ compatible = "ethernet-phy";
151
+ reg = <0x00>;
152
+ status = "okay";
153
+ };
154
+ };
155
+
146
156
&sdmmc1 {
147
157
pinctrl-0 = <&sdmmc1_d0_pc8
148
158
&sdmmc1_d1_pc9
You can’t perform that action at this time.
0 commit comments