Lines Matching +full:sp7021 +full:- +full:emac
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/net/sunplus,sp7021-emac.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Sunplus SP7021 Dual Ethernet MAC
11 - Wells Lu <wellslutw@gmail.com>
14 Sunplus SP7021 dual 10M/100M Ethernet MAC controller.
19 const: sunplus,sp7021-emac
33 ethernet-ports:
39 "#address-cells":
42 "#size-cells":
46 "^port@[0-1]$":
56 phy-handle:
59 phy-mode:
62 nvmem-cells:
64 - description: nvmem cell address of MAC address
66 nvmem-cell-names:
69 - const: mac-address
72 - reg
73 - phy-handle
74 - phy-mode
75 - nvmem-cells
76 - nvmem-cell-names
85 - compatible
86 - reg
87 - interrupts
88 - clocks
89 - resets
90 - pinctrl-0
91 - pinctrl-names
92 - ethernet-ports
93 - mdio
96 - |
97 #include <dt-bindings/interrupt-controller/irq.h>
100 compatible = "sunplus,sp7021-emac";
102 interrupt-parent = <&intc>;
106 pinctrl-0 = <&emac_demo_board_v3_pins>;
107 pinctrl-names = "default";
109 ethernet-ports {
110 #address-cells = <1>;
111 #size-cells = <0>;
115 phy-handle = <ð_phy0>;
116 phy-mode = "rmii";
117 nvmem-cells = <&mac_addr0>;
118 nvmem-cell-names = "mac-address";
123 phy-handle = <ð_phy1>;
124 phy-mode = "rmii";
125 nvmem-cells = <&mac_addr1>;
126 nvmem-cell-names = "mac-address";
131 #address-cells = <1>;
132 #size-cells = <0>;
134 eth_phy0: ethernet-phy@0 {
138 eth_phy1: ethernet-phy@1 {