5f02dd58209c4421b51243733f0a8893609395ce
[openwrt/staging/chunkeey.git] / target / linux / mediatek / patches-4.4 / 0067-net-mediatek-update-the-IRQ-part-of-the-binding-docu.patch
1 From 429b5becfb1e4aacf392c4b246a17b83faad3072 Mon Sep 17 00:00:00 2001
2 From: John Crispin <blogic@openwrt.org>
3 Date: Tue, 29 Mar 2016 14:32:07 +0200
4 Subject: [PATCH 67/78] net: mediatek: update the IRQ part of the binding
5 document
6
7 The current binding document only describes a single interrupt. Update the
8 document by adding the 2 other interrupts.
9
10 The driver currently only uses a single interrupt. The HW is however able
11 to using IRQ grouping to split TX and RX onto separate GIC irqs.
12
13 Signed-off-by: John Crispin <blogic@openwrt.org>
14 Acked-by: Rob Herring <robh@kernel.org>
15 ---
16 Documentation/devicetree/bindings/net/mediatek-net.txt | 6 ++++--
17 1 file changed, 4 insertions(+), 2 deletions(-)
18
19 diff --git a/Documentation/devicetree/bindings/net/mediatek-net.txt b/Documentation/devicetree/bindings/net/mediatek-net.txt
20 index 5ca7929..2f142be 100644
21 --- a/Documentation/devicetree/bindings/net/mediatek-net.txt
22 +++ b/Documentation/devicetree/bindings/net/mediatek-net.txt
23 @@ -9,7 +9,7 @@ have dual GMAC each represented by a child node..
24 Required properties:
25 - compatible: Should be "mediatek,mt7623-eth"
26 - reg: Address and length of the register set for the device
27 -- interrupts: Should contain the frame engines interrupt
28 +- interrupts: Should contain the three frame engines interrupts
29 - clocks: the clock used by the core
30 - clock-names: the names of the clock listed in the clocks property. These are
31 "ethif", "esw", "gp2", "gp1"
32 @@ -42,7 +42,9 @@ eth: ethernet@1b100000 {
33 <&ethsys CLK_ETHSYS_GP2>,
34 <&ethsys CLK_ETHSYS_GP1>;
35 clock-names = "ethif", "esw", "gp2", "gp1";
36 - interrupts = <GIC_SPI 200 IRQ_TYPE_LEVEL_LOW>;
37 + interrupts = <GIC_SPI 200 IRQ_TYPE_LEVEL_LOW
38 + GIC_SPI 199 IRQ_TYPE_LEVEL_LOW
39 + GIC_SPI 198 IRQ_TYPE_LEVEL_LOW>;
40 power-domains = <&scpsys MT2701_POWER_DOMAIN_ETH>;
41 resets = <&ethsys MT2701_ETHSYS_ETH_RST>;
42 reset-names = "eth";
43 --
44 1.7.10.4
45