Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: stm32-dwmac: add support of MPU families

Add description for Ethernet MPU families fields

Signed-off-by: Christophe Roullier <christophe.roullier@st.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Christophe Roullier and committed by
David S. Miller
1f3feacb 6528e02c

+16 -2
+16 -2
Documentation/devicetree/bindings/net/stm32-dwmac.txt
··· 6 6 The device node has following properties. 7 7 8 8 Required properties: 9 - - compatible: Should be "st,stm32-dwmac" to select glue, and 9 + - compatible: For MCU family should be "st,stm32-dwmac" to select glue, and 10 10 "snps,dwmac-3.50a" to select IP version. 11 + For MPU family should be "st,stm32mp1-dwmac" to select 12 + glue, and "snps,dwmac-4.20a" to select IP version. 11 13 - clocks: Must contain a phandle for each entry in clock-names. 12 14 - clock-names: Should be "stmmaceth" for the host clock. 13 15 Should be "mac-clk-tx" for the MAC TX clock. 14 16 Should be "mac-clk-rx" for the MAC RX clock. 17 + For MPU family need to add also "ethstp" for power mode clock and, 18 + "syscfg-clk" for SYSCFG clock. 19 + - interrupt-names: Should contain a list of interrupt names corresponding to 20 + the interrupts in the interrupts property, if available. 21 + Should be "macirq" for the main MAC IRQ 22 + Should be "eth_wake_irq" for the IT which wake up system 15 23 - st,syscon : Should be phandle/offset pair. The phandle to the syscon node which 16 - encompases the glue register, and the offset of the control register. 24 + encompases the glue register, and the offset of the control register. 25 + 26 + Optional properties: 27 + - clock-names: For MPU family "mac-clk-ck" for PHY without quartz 28 + - st,int-phyclk (boolean) : valid only where PHY do not have quartz and need to be clock 29 + by RCC 30 + 17 31 Example: 18 32 19 33 ethernet@40028000 {