cdns,macb.yaml (cb1e6bf42bce63158884ab83fb171b518693c771) cdns,macb.yaml (4e71ed985389ce213003927cfa65c1352e70396c)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/net/cdns,macb.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Cadence MACB/GEM Ethernet controller
8

--- 70 unchanged lines hidden (view full) ---

79
80 phy-mode: true
81
82 phy-handle: true
83
84 phys:
85 maxItems: 1
86
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/net/cdns,macb.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Cadence MACB/GEM Ethernet controller
8

--- 70 unchanged lines hidden (view full) ---

79
80 phy-mode: true
81
82 phy-handle: true
83
84 phys:
85 maxItems: 1
86
87 phy-names:
88 const: sgmii-phy
89 description:
90 Required with ZynqMP SoC when in SGMII mode.
91 Should reference PS-GTR generic PHY device for this controller
92 instance. See ZynqMP example.
93
87 resets:
88 maxItems: 1
89 description:
90 Recommended with ZynqMP, specify reset control for this
91 controller instance with zynqmp-reset driver.
92
93 reset-names:
94 maxItems: 1

--- 22 unchanged lines hidden (view full) ---

117 "^ethernet-phy@[0-9a-f]$":
118 type: object
119 $ref: ethernet-phy.yaml#
120
121 properties:
122 reset-gpios: true
123
124 magic-packet:
94 resets:
95 maxItems: 1
96 description:
97 Recommended with ZynqMP, specify reset control for this
98 controller instance with zynqmp-reset driver.
99
100 reset-names:
101 maxItems: 1

--- 22 unchanged lines hidden (view full) ---

124 "^ethernet-phy@[0-9a-f]$":
125 type: object
126 $ref: ethernet-phy.yaml#
127
128 properties:
129 reset-gpios: true
130
131 magic-packet:
132 type: boolean
125 description:
126 Indicates that the hardware supports waking up via magic packet.
127
128 unevaluatedProperties: false
129
130required:
131 - compatible
132 - reg

--- 59 unchanged lines hidden (view full) ---

192 #size-cells = <0>;
193 #stream-id-cells = <1>;
194 iommus = <&smmu 0x875>;
195 power-domains = <&zynqmp_firmware PD_ETH_1>;
196 resets = <&zynqmp_reset ZYNQMP_RESET_GEM1>;
197 reset-names = "gem1_rst";
198 status = "okay";
199 phy-mode = "sgmii";
133 description:
134 Indicates that the hardware supports waking up via magic packet.
135
136 unevaluatedProperties: false
137
138required:
139 - compatible
140 - reg

--- 59 unchanged lines hidden (view full) ---

200 #size-cells = <0>;
201 #stream-id-cells = <1>;
202 iommus = <&smmu 0x875>;
203 power-domains = <&zynqmp_firmware PD_ETH_1>;
204 resets = <&zynqmp_reset ZYNQMP_RESET_GEM1>;
205 reset-names = "gem1_rst";
206 status = "okay";
207 phy-mode = "sgmii";
208 phy-names = "sgmii-phy";
200 phys = <&psgtr 1 PHY_TYPE_SGMII 1 1>;
201 fixed-link {
202 speed = <1000>;
203 full-duplex;
204 pause;
205 };
206 };
207 };
209 phys = <&psgtr 1 PHY_TYPE_SGMII 1 1>;
210 fixed-link {
211 speed = <1000>;
212 full-duplex;
213 pause;
214 };
215 };
216 };