Changeset 47836


Ignore:
Timestamp:
2015-12-11T16:02:13+01:00 (2 years ago)
Author:
blogic
Message:

ramips: mt7621: use symbolic names of gic interrupt settings

This also adds dts nodes for cpc and mc for documentation purposes

Signed-off-by: Nikolay Martynov <mar.kolya@…>

Location:
trunk/target/linux/ramips/dts
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ramips/dts/DIR-860L-B1.dts

    r46613 r47836  
    11/dts-v1/; 
    22 
    3 /include/ "mt7621.dtsi" 
     3#include "mt7621.dtsi" 
    44 
    55/ { 
  • trunk/target/linux/ramips/dts/FIREWRT.dts

    r46613 r47836  
    11/dts-v1/; 
    22 
    3 /include/ "mt7621.dtsi" 
     3#include "mt7621.dtsi" 
    44 
    55/ { 
  • trunk/target/linux/ramips/dts/MT7621.dts

    r45022 r47836  
    11/dts-v1/; 
    22 
    3 /include/ "mt7621.dtsi" 
     3#include "mt7621.dtsi" 
    44 
    55/ { 
  • trunk/target/linux/ramips/dts/PBR-M1.dts

    r46613 r47836  
    11/dts-v1/; 
    22 
    3 /include/ "mt7621.dtsi" 
     3#include "mt7621.dtsi" 
    44 
    55/ { 
  • trunk/target/linux/ramips/dts/RE6500.dts

    r46664 r47836  
    11/dts-v1/; 
    22 
    3 /include/ "mt7621.dtsi" 
     3#include "mt7621.dtsi" 
    44 
    55/ { 
  • trunk/target/linux/ramips/dts/SAP-G3200U3.dts

    r46664 r47836  
    11/dts-v1/; 
    22 
    3 /include/ "mt7621.dtsi" 
     3#include "mt7621.dtsi" 
    44 
    55/ { 
  • trunk/target/linux/ramips/dts/WF-2881.dts

    r47619 r47836  
    11/dts-v1/; 
    22 
    3 /include/ "mt7621.dtsi" 
     3#include "mt7621.dtsi" 
    44 
    55/ { 
  • trunk/target/linux/ramips/dts/WSR-1166.dts

    r46664 r47836  
    11/dts-v1/; 
    22 
    3 /include/ "mt7621.dtsi" 
     3#include "mt7621.dtsi" 
    44 
    55/ { 
  • trunk/target/linux/ramips/dts/WSR-600.dts

    r46664 r47836  
    11/dts-v1/; 
    22 
    3 /include/ "mt7621.dtsi" 
     3#include "mt7621.dtsi" 
    44 
    55/ { 
  • trunk/target/linux/ramips/dts/ZBT-WG2626.dts

    r47351 r47836  
    11/dts-v1/; 
    22 
    3 /include/ "mt7621.dtsi" 
     3#include "mt7621.dtsi" 
    44 
    55/ { 
  • trunk/target/linux/ramips/dts/mt7621.dtsi

    r47831 r47836  
     1#include <dt-bindings/interrupt-controller/mips-gic.h> 
     2 
    13/ { 
    24        #address-cells = <1>; 
     
    7375                }; 
    7476 
     77                cpc@1fbf0000 { 
     78                             compatible = "mtk,mt7621-cpc"; 
     79                             reg = <0x1fbf0000 0x8000>; 
     80                }; 
     81 
     82                mc@1fbf8000 { 
     83                            compatible = "mtk,mt7621-mc"; 
     84                            reg = <0x1fbf8000 0x8000>; 
     85                }; 
     86 
    7587                uartlite@c00 { 
    7688                        compatible = "ns16550a"; 
     
    7890 
    7991                        interrupt-parent = <&gic>; 
    80                         interrupts = <0 26 4>; 
     92                        interrupts = <GIC_SHARED 26 IRQ_TYPE_LEVEL_HIGH>; 
    8193 
    8294                        reg-shift = <2>; 
     
    211223 
    212224                interrupt-parent = <&gic>; 
    213                 interrupts = <0 20 4>; 
     225                interrupts = <GIC_SHARED 20 IRQ_TYPE_LEVEL_HIGH>; 
    214226        }; 
    215227 
     
    221233 
    222234                interrupt-parent = <&gic>; 
    223                 interrupts = <0 22 4>; 
     235                interrupts = <GIC_SHARED 22 IRQ_TYPE_LEVEL_HIGH>; 
    224236        }; 
    225237 
     
    274286 
    275287                interrupt-parent = <&gic>; 
    276                 interrupts = <0 3 4>; 
     288                interrupts = <GIC_SHARED 3 IRQ_TYPE_LEVEL_HIGH>; 
    277289 
    278290                mdio-bus { 
     
    291303                reg = <0x1e110000 8000>; 
    292304                interrupt-parent = <&gic>; 
    293                 interrupts = <0 23 4>; 
     305                interrupts = <GIC_SHARED 23 IRQ_TYPE_LEVEL_HIGH>; 
    294306        }; 
    295307 
     
    314326 
    315327                interrupt-parent = <&gic>; 
    316                 interrupts = <0 4 4 
    317                                 0 24 4 
    318                                 0 25 4>; 
     328                interrupts = <GIC_SHARED 4 IRQ_TYPE_LEVEL_HIGH 
     329                                GIC_SHARED 24 IRQ_TYPE_LEVEL_HIGH 
     330                                GIC_SHARED 25 IRQ_TYPE_LEVEL_HIGH>; 
    319331 
    320332                status = "okay"; 
Note: See TracChangeset for help on using the changeset viewer.