1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/net/renesas 4 $id: http://devicetree.org/schemas/net/renesas,rzn1-gmac.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Renesas GMAC 7 title: Renesas GMAC 8 8 9 maintainers: 9 maintainers: 10 - Romain Gantois <romain.gantois@bootlin.com> 10 - Romain Gantois <romain.gantois@bootlin.com> 11 11 12 select: 12 select: 13 properties: 13 properties: 14 compatible: 14 compatible: 15 contains: 15 contains: 16 enum: 16 enum: 17 - renesas,r9a06g032-gmac 17 - renesas,r9a06g032-gmac 18 - renesas,rzn1-gmac 18 - renesas,rzn1-gmac 19 required: 19 required: 20 - compatible 20 - compatible 21 21 22 allOf: 22 allOf: 23 - $ref: snps,dwmac.yaml# 23 - $ref: snps,dwmac.yaml# 24 24 25 properties: 25 properties: 26 compatible: 26 compatible: 27 items: 27 items: 28 - enum: 28 - enum: 29 - renesas,r9a06g032-gmac 29 - renesas,r9a06g032-gmac 30 - const: renesas,rzn1-gmac 30 - const: renesas,rzn1-gmac 31 - const: snps,dwmac 31 - const: snps,dwmac 32 32 33 pcs-handle: 33 pcs-handle: 34 description: 34 description: 35 phandle pointing to a PCS sub-node compa 35 phandle pointing to a PCS sub-node compatible with 36 renesas,rzn1-miic.yaml# 36 renesas,rzn1-miic.yaml# 37 37 38 required: 38 required: 39 - compatible 39 - compatible 40 40 41 unevaluatedProperties: false 41 unevaluatedProperties: false 42 42 43 examples: 43 examples: 44 - | 44 - | 45 #include <dt-bindings/clock/r9a06g032-sysc 45 #include <dt-bindings/clock/r9a06g032-sysctrl.h> 46 #include <dt-bindings/interrupt-controller 46 #include <dt-bindings/interrupt-controller/arm-gic.h> 47 47 48 ethernet@44000000 { 48 ethernet@44000000 { 49 compatible = "renesas,r9a06g032-gmac", " 49 compatible = "renesas,r9a06g032-gmac", "renesas,rzn1-gmac", "snps,dwmac"; 50 reg = <0x44000000 0x2000>; 50 reg = <0x44000000 0x2000>; 51 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_ 51 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>, 52 <GIC_SPI 36 IRQ_TYPE_LEVEL_ 52 <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>, 53 <GIC_SPI 35 IRQ_TYPE_LEVEL_ 53 <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; 54 interrupt-names = "macirq", "eth_wake_ir 54 interrupt-names = "macirq", "eth_wake_irq", "eth_lpi"; 55 clock-names = "stmmaceth"; 55 clock-names = "stmmaceth"; 56 clocks = <&sysctrl R9A06G032_HCLK_GMAC0> 56 clocks = <&sysctrl R9A06G032_HCLK_GMAC0>; 57 power-domains = <&sysctrl>; 57 power-domains = <&sysctrl>; 58 snps,multicast-filter-bins = <256>; 58 snps,multicast-filter-bins = <256>; 59 snps,perfect-filter-entries = <128>; 59 snps,perfect-filter-entries = <128>; 60 tx-fifo-depth = <2048>; 60 tx-fifo-depth = <2048>; 61 rx-fifo-depth = <4096>; 61 rx-fifo-depth = <4096>; 62 pcs-handle = <&mii_conv1>; 62 pcs-handle = <&mii_conv1>; 63 phy-mode = "mii"; 63 phy-mode = "mii"; 64 }; 64 }; 65 65 66 ... 66 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.