File tree Expand file tree Collapse file tree 7 files changed +89
-19
lines changed Expand file tree Collapse file tree 7 files changed +89
-19
lines changed Original file line number Diff line number Diff line change 4040
4141&mac {
4242 status = "okay";
43- pinctrl-0 = <ð_mdc_pc1
44- ð_rxd0_pc4
43+ pinctrl-0 = <ð_rxd0_pc4
4544 ð_rxd1_pc5
4645 ð_ref_clk_pa1
47- ð_mdio_pa2
4846 ð_crs_dv_pa7
4947 ð_tx_en_pg11
5048 ð_txd0_pg13
5149 ð_txd1_pb15>;
5250 pinctrl-names = "default";
5351};
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 160160&mac {
161161 status = "okay";
162162 pinctrl-0 = <ð_ref_clk_pa1
163- ð_mdio_pa2
164163 ð_crs_dv_pa7
165- ð_mdc_pc1
166164 ð_rxd0_pc4
167165 ð_rxd1_pc5
168166 ð_tx_en_pg11
171169 pinctrl-names = "default";
172170};
173171
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+
174184zephyr_udc0: &usbotg_hs {
175185 pinctrl-0 = <&usb_otg_hs_dm_pa11 &usb_otg_hs_dp_pa12>;
176186 pinctrl-names = "default";
Original file line number Diff line number Diff line change @@ -187,18 +187,28 @@ zephyr_udc0: &usbotg_fs {
187187 */
188188&mac {
189189 status = "okay";
190- pinctrl-0 = <ð_mdc_pc1
191- ð_rxd0_pc4
190+ pinctrl-0 = <ð_rxd0_pc4
192191 ð_rxd1_pc5
193192 ð_ref_clk_pa1
194- ð_mdio_pa2
195193 ð_crs_dv_pa7
196194 ð_tx_en_pg11
197195 ð_txd0_pg13
198196 ð_txd1_pb13>;
199197 pinctrl-names = "default";
200198};
201199
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+
202212&spi1 {
203213 status = "okay";
204214 pinctrl-0 = <&spi1_sck_pa5 &spi1_miso_pa6 &spi1_mosi_pb5>;
Original file line number Diff line number Diff line change 107107&mac {
108108 status = "okay";
109109 pinctrl-0 = <ð_ref_clk_pa1
110- ð_mdio_pa2
111110 ð_crs_dv_pa7
112- ð_mdc_pc1
113111 ð_rxd0_pc4
114112 ð_rxd1_pc5
115113 ð_tx_en_pg11
118116 pinctrl-names = "default";
119117};
120118
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+
121131&rng {
122132 status = "okay";
123133};
Original file line number Diff line number Diff line change @@ -164,18 +164,28 @@ zephyr_udc0: &usbotg_fs {
164164 */
165165&mac {
166166 status = "okay";
167- pinctrl-0 = <ð_mdc_pc1
168- ð_rxd0_pc4
167+ pinctrl-0 = <ð_rxd0_pc4
169168 ð_rxd1_pc5
170169 ð_ref_clk_pa1
171- ð_mdio_pa2
172170 ð_crs_dv_pa7
173171 ð_tx_en_pg11
174172 ð_txd0_pg13
175173 ð_txd1_pb13>;
176174 pinctrl-names = "default";
177175};
178176
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+
179189&spi1 {
180190 status = "okay";
181191 pinctrl-0 = <&spi1_sck_pa5 &spi1_miso_pa6 &spi1_mosi_pb5>;
Original file line number Diff line number Diff line change 149149
150150&mac {
151151 status = "okay";
152- pinctrl-0 = <ð_mdc_pc1
153- ð_rxd0_pc4
152+ pinctrl-0 = <ð_rxd0_pc4
154153 ð_rxd1_pc5
155154 ð_ref_clk_pa1
156- ð_mdio_pa2
157155 ð_crs_dv_pa7
158156 ð_tx_en_pg11
159157 ð_txd0_pg13
160158 ð_txd1_pg12>;
161159 pinctrl-names = "default";
162160};
163161
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+
164174&flash0 {
165175 partitions {
166176 compatible = "fixed-partitions";
Original file line number Diff line number Diff line change 130130};
131131
132132&mac {
133- pinctrl-0 = <ð_mdc_pc1
134- ð_rxd0_pc4
133+ pinctrl-0 = <ð_rxd0_pc4
135134 ð_rxd1_pc5
136135 ð_ref_clk_pa1
137- ð_mdio_pa2
138136 ð_crs_dv_pa7
139137 ð_tx_en_pb11
140138 ð_txd0_pb12
143141 status = "okay";
144142};
145143
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+
146156&sdmmc1 {
147157 pinctrl-0 = <&sdmmc1_d0_pc8
148158 &sdmmc1_d1_pc9
You can’t perform that action at this time.
0 commit comments