Skip to content

Commit 8b31766

Browse files
committed
dt-bindings: net: stm32-dwmac: Make each example a separate entry
Each independent example should be a separate entry. This allows for 'interrupts' to have different cell sizes. The first example also has a phandle in 'interrupts', so drop the phandle. Signed-off-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent b2d2864 commit 8b31766

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Documentation/devicetree/bindings/net/stm32-dwmac.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ examples:
108108
compatible = "st,stm32mp1-dwmac", "snps,dwmac-4.20a";
109109
reg = <0x5800a000 0x2000>;
110110
reg-names = "stmmaceth";
111-
interrupts = <&intc GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
111+
interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
112112
interrupt-names = "macirq";
113113
clock-names = "stmmaceth",
114114
"mac-clk-tx",
@@ -127,6 +127,7 @@ examples:
127127
phy-mode = "rgmii";
128128
};
129129
130+
- |
130131
//Example 2 (MCU example)
131132
ethernet1: ethernet@40028000 {
132133
compatible = "st,stm32-dwmac", "snps,dwmac-3.50a";
@@ -142,6 +143,7 @@ examples:
142143
phy-mode = "mii";
143144
};
144145
146+
- |
145147
//Example 3
146148
ethernet2: ethernet@40027000 {
147149
compatible = "st,stm32-dwmac", "snps,dwmac-4.10a";

0 commit comments

Comments
 (0)