Lines Matching +full:syscon +full:- +full:phy +full:- +full:mode
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/net/stm32-dwmac.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Alexandre Torgue <alexandre.torgue@foss.st.com>
12 - Christophe Roullier <christophe.roullier@foss.st.com>
23 - st,stm32-dwmac
24 - st,stm32mp1-dwmac
26 - compatible
29 - $ref: snps,dwmac.yaml#
34 - items:
35 - enum:
36 - st,stm32mp1-dwmac
37 - const: snps,dwmac-4.20a
38 - items:
39 - enum:
40 - st,stm32-dwmac
41 - const: snps,dwmac-4.10a
42 - items:
43 - enum:
44 - st,stm32-dwmac
45 - const: snps,dwmac-3.50a
49 reg-names:
51 - const: stmmaceth
56 - description: GMAC main clock
57 - description: MAC TX clock
58 - description: MAC RX clock
59 - description: For MPU family, used for power mode
60 - description: For MPU family, used for PHY without quartz
61 - description: PTP clock
63 clock-names:
68 - stmmaceth
69 - mac-clk-tx
70 - mac-clk-rx
71 - ethstp
72 - eth-ck
73 - ptp_ref
75 st,syscon:
76 $ref: /schemas/types.yaml#/definitions/phandle-array
78 - items:
79 - description: phandle to the syscon node which encompases the glue register
80 - description: offset of the control register
82 Should be phandle/offset pair. The phandle to the syscon node which
85 st,eth-clk-sel:
87 set this property in RGMII PHY when you want to select RCC clock instead of ETH_CLK125.
90 st,eth-ref-clk-sel:
92 set this property in RMII mode when you have PHY without crystal 50MHz and want to
97 - compatible
98 - clocks
99 - clock-names
100 - st,syscon
105 - |
106 #include <dt-bindings/interrupt-controller/arm-gic.h>
107 #include <dt-bindings/clock/stm32mp1-clks.h>
108 #include <dt-bindings/reset/stm32mp1-resets.h>
109 #include <dt-bindings/mfd/stm32h7-rcc.h>
112 compatible = "st,stm32mp1-dwmac", "snps,dwmac-4.20a";
114 reg-names = "stmmaceth";
116 interrupt-names = "macirq";
117 clock-names = "stmmaceth",
118 "mac-clk-tx",
119 "mac-clk-rx",
121 "eth-ck";
127 st,syscon = <&syscfg 0x4>;
129 snps,axi-config = <&stmmac_axi_config_0>;
131 phy-mode = "rgmii";
134 - |
137 compatible = "st,stm32-dwmac", "snps,dwmac-3.50a";
139 reg-names = "stmmaceth";
141 interrupt-names = "macirq", "eth_wake_irq";
142 clock-names = "stmmaceth", "mac-clk-tx", "mac-clk-rx";
144 st,syscon = <&syscfg 0x4>;
146 snps,mixed-burst;
147 phy-mode = "mii";
150 - |
153 compatible = "st,stm32-dwmac", "snps,dwmac-4.10a";
155 reg-names = "stmmaceth";
157 interrupt-names = "macirq";
158 clock-names = "stmmaceth", "mac-clk-tx", "mac-clk-rx";
160 st,syscon = <&syscfg 0x4>;
162 phy-mode = "mii";