File tree Expand file tree Collapse file tree 6 files changed +66
-51
lines changed Expand file tree Collapse file tree 6 files changed +66
-51
lines changed Original file line number Diff line number Diff line change 165
165
status = "disabled";
166
166
};
167
167
168
- gmac: ethernet@40034000 {
169
- compatible = "atmel ,sam-gmac ";
168
+ ethernet@40034000 {
169
+ compatible = "microchip ,sam-ethernet-controller ";
170
170
reg = <0x40034000 0x4000>;
171
171
clocks = <&pmc PMC_TYPE_PERIPHERAL 44>;
172
- interrupts = <44 0>;
173
- interrupt-names = "gmac";
174
- num-queues = <1>;
175
- phy-connection-type = "mii";
176
- status = "disabled";
177
- };
178
172
179
- mdio: mdio@40034000 {
180
- compatible = "atmel,sam-mdio";
181
- reg = <0x40034000 0x4000>;
182
- clocks = <&pmc PMC_TYPE_PERIPHERAL 44>;
183
- status = "disabled";
184
- #address-cells = <1>;
185
- #size-cells = <0>;
173
+ gmac: ethernet {
174
+ compatible = "atmel,sam-gmac";
175
+ interrupts = <44 0>;
176
+ interrupt-names = "gmac";
177
+ num-queues = <1>;
178
+ phy-connection-type = "mii";
179
+ status = "disabled";
180
+ };
181
+
182
+ mdio: mdio {
183
+ compatible = "atmel,sam-mdio";
184
+ status = "disabled";
185
+ #address-cells = <1>;
186
+ #size-cells = <0>;
187
+ };
186
188
};
187
189
188
190
pinctrl: pinctrl@400e0e00 {
Original file line number Diff line number Diff line change 10
10
11
11
/ {
12
12
soc {
13
- gmac: ethernet@42000800 {
14
- compatible = "atmel,sam0-gmac ";
13
+ ethernet@42000800 {
14
+ compatible = "microchip,sam-ethernet-controller ";
15
15
reg = <0x42000800 0x400>;
16
- interrupts = <84 0>;
17
- interrupt-names = "gmac";
18
- status = "disabled";
19
16
20
- num-queues = <1>;
21
- local-mac-address = [00 00 00 00 00 00];
22
- };
17
+ gmac: ethernet {
18
+ compatible = "atmel,sam0-gmac";
19
+ interrupts = <84 0>;
20
+ interrupt-names = "gmac";
21
+ status = "disabled";
23
22
24
- mdio: mdio@42000800 {
25
- compatible = "atmel,sam-mdio";
26
- reg = <0x42000800 0x400>;
27
- status = "disabled";
23
+ num-queues = <1>;
24
+ local-mac-address = [00 00 00 00 00 00];
25
+ };
26
+
27
+ mdio: mdio {
28
+ compatible = "atmel,sam-mdio";
29
+ status = "disabled";
28
30
29
- #address-cells = <1>;
30
- #size-cells = <0>;
31
+ #address-cells = <1>;
32
+ #size-cells = <0>;
33
+ };
31
34
};
32
35
33
36
can0: can@42000000 {
Original file line number Diff line number Diff line change 232
232
#io-channel-cells = <1>;
233
233
};
234
234
235
- gmac: ethernet@40050000 {
236
- compatible = "atmel ,sam-gmac ";
235
+ ethernet@40050000 {
236
+ compatible = "microchip ,sam-ethernet-controller ";
237
237
reg = <0x40050000 0x4000>;
238
238
clocks = <&pmc PMC_TYPE_PERIPHERAL 39>;
239
- interrupts = <39 0>, <66 0>, <67 0>;
240
- interrupt-names = "gmac", "q1", "q2";
241
- num-queues = <3>;
242
- local-mac-address = [00 00 00 00 00 00];
243
- status = "disabled";
244
- };
245
239
246
- mdio: mdio@40050000 {
247
- compatible = "atmel,sam-mdio";
248
- reg = <0x40050000 0x4000>;
249
- clocks = <&pmc PMC_TYPE_PERIPHERAL 39>;
250
- status = "disabled";
251
- #address-cells = <1>;
252
- #size-cells = <0>;
240
+ gmac: ethernet {
241
+ compatible = "atmel,sam-gmac";
242
+ interrupts = <39 0>, <66 0>, <67 0>;
243
+ interrupt-names = "gmac", "q1", "q2";
244
+ num-queues = <3>;
245
+ local-mac-address = [00 00 00 00 00 00];
246
+ status = "disabled";
247
+ };
248
+
249
+ mdio: mdio {
250
+ compatible = "atmel,sam-mdio";
251
+ status = "disabled";
252
+ #address-cells = <1>;
253
+ #size-cells = <0>;
254
+ };
253
255
};
254
256
255
257
tc3: tc@40054000 {
Original file line number Diff line number Diff line change 7
7
- name : pinctrl-device.yaml
8
8
9
9
properties :
10
- reg :
11
- required : true
12
-
13
10
phy-handle :
14
11
required : true
15
12
Original file line number Diff line number Diff line change @@ -6,7 +6,3 @@ description: Atmel SAM-family GMAC Ethernet
6
6
compatible : " atmel,sam-gmac"
7
7
8
8
include : atmel,gmac-common.yaml
9
-
10
- properties :
11
- clocks :
12
- required : true
Original file line number Diff line number Diff line change
1
+ # Copyright (C) 2025 Microchip Technology Inc. and its subsidiaries
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ title : Microchip SAM Ethernet Controller
5
+
6
+ description : |
7
+ Contains the Ethernet MAC and the MDIO as child nodes.
8
+
9
+ compatible : " microchip,sam-ethernet-controller"
10
+
11
+ include : base.yaml
12
+
13
+ properties :
14
+ reg :
15
+ required : true
You can’t perform that action at this time.
0 commit comments