kernel: add missing config symbols to 3.13
[openwrt.git] / target / linux / sunxi / patches-3.13 / 194-dt-sun7i-add-gmac-ctrler.patch
1 From a07eeb627d300da0dee8cb39b59173332be8e4bb Mon Sep 17 00:00:00 2001
2 From: Chen-Yu Tsai <wens@csie.org>
3 Date: Sat, 7 Dec 2013 01:29:38 +0800
4 Subject: [PATCH] ARM: dts: sun7i: Add GMAC controller node to sun7i DTSI
5
6 Signed-off-by: Chen-Yu Tsai <wens@csie.org>
7 ---
8  arch/arm/boot/dts/sun7i-a20.dtsi | 14 ++++++++++++++
9  1 file changed, 14 insertions(+)
10
11 --- a/arch/arm/boot/dts/sun7i-a20.dtsi
12 +++ b/arch/arm/boot/dts/sun7i-a20.dtsi
13 @@ -605,6 +605,20 @@
14                         status = "disabled";
15                 };
16  
17 +               gmac: ethernet@01c50000 {
18 +                       compatible = "allwinner,sun7i-gmac", "snps,dwmac";
19 +                       reg = <0x01c50000 0x10000>,
20 +                             <0x01c20164 0x4>;
21 +                       interrupts = <0 85 1>;
22 +                       interrupt-names = "macirq";
23 +                       clocks = <&ahb_gates 49>;
24 +                       clock-names = "stmmaceth";
25 +                       snps,pbl = <2>;
26 +                       snps,fixed-burst;
27 +                       snps,force_sf_dma_mode;
28 +                       status = "disabled";
29 +               };
30 +
31                 hstimer@01c60000 {
32                         compatible = "allwinner,sun7i-a20-hstimer";
33                         reg = <0x01c60000 0x1000>;