ARM: dts: stm32: Add STMMAC clocks for stm32f746
authorPatrice Chotard <patrice.chotard@st.com>
Thu, 18 Jan 2018 13:10:03 +0000 (14:10 +0100)
committerTom Rini <trini@konsulko.com>
Sun, 28 Jan 2018 14:39:15 +0000 (09:39 -0500)
Add ETHMAC, ETHMACRX and ETHMACTX clocks for STMMAC.

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Vikas Manocha <vikas.manocha@st.com>
arch/arm/dts/stm32f746.dtsi

index 929bf82..46d148e 100644 (file)
@@ -65,6 +65,9 @@
                        compatible = "st,stm32-dwmac";
                        reg = <0x40028000 0x8000>;
                        reg-names = "stmmaceth";
+                       clocks = <&rcc 0 STM32F7_AHB1_CLOCK(ETHMAC)>,
+                                <&rcc 0 STM32F7_AHB1_CLOCK(ETHMACTX)>,
+                                <&rcc 0 STM32F7_AHB1_CLOCK(ETHMACRX)>;
                        interrupts = <61>, <62>;
                        interrupt-names = "macirq", "eth_wake_irq";
                        snps,pbl = <8>;