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

Configure Feed

Select the types of activity you want to include in your feed.

at v4.10 32 lines 1.2 kB view raw
1STMicroelectronics STM32 / MCU DWMAC glue layer controller 2 3This file documents platform glue layer for stmmac. 4Please see stmmac.txt for the other unchanged properties. 5 6The device node has following properties. 7 8Required properties: 9- compatible: Should be "st,stm32-dwmac" to select glue, and 10 "snps,dwmac-3.50a" to select IP version. 11- clocks: Must contain a phandle for each entry in clock-names. 12- clock-names: Should be "stmmaceth" for the host clock. 13 Should be "mac-clk-tx" for the MAC TX clock. 14 Should be "mac-clk-rx" for the MAC RX clock. 15- 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. 17Example: 18 19 ethernet@40028000 { 20 compatible = "st,stm32-dwmac", "snps,dwmac-3.50a"; 21 status = "disabled"; 22 reg = <0x40028000 0x8000>; 23 reg-names = "stmmaceth"; 24 interrupts = <0 61 0>, <0 62 0>; 25 interrupt-names = "macirq", "eth_wake_irq"; 26 clock-names = "stmmaceth", "mac-clk-tx", "mac-clk-rx"; 27 clocks = <&rcc 0 25>, <&rcc 0 26>, <&rcc 0 27>; 28 st,syscon = <&syscfg 0x4>; 29 snps,pbl = <8>; 30 snps,mixed-burst; 31 dma-ranges; 32 };