Changeset 37016


Ignore:
Timestamp:
2013-06-23T17:50:49+02:00 (5 years ago)
Author:
blogic
Message:

ralink: update patches

Signed-off-by: John Crispin <blogic@…>

Location:
trunk/target/linux/ramips
Files:
63 added
5 deleted
34 edited
71 copied
37 moved

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ramips/Makefile

    r36724 r37016  
    1010BOARD:=ramips 
    1111BOARDNAME:=Ralink RT288x/RT3xxx 
    12 SUBTARGETS:=rt288x rt305x rt3883 
     12SUBTARGETS:=rt288x rt305x rt3883 mt7620a 
    1313CFLAGS:=-Os -pipe -fno-caller-saves -mno-branch-likely 
    1414FEATURES:=squashfs gpio 
    1515 
    16 LINUX_VERSION:=3.8.13 
     16LINUX_VERSION:=3.9.6 
    1717 
    1818include $(INCLUDE_DIR)/target.mk 
  • trunk/target/linux/ramips/dts/DIR-645.dts

    r36290 r37016  
    7373 
    7474                mtd-mac-address = <&factory 0x28>; 
    75                 ralink,fixed-link = <1000 1 1 1>; 
     75                port@0 { 
     76                        ralink,fixed-link = <1000 1 1 0>; 
     77                }; 
     78 
    7679        }; 
    7780 
     
    126129        }; 
    127130 
    128         gpio_export { 
    129                 compatible = "gpio-export"; 
    130                 #size-cells = <0>; 
     131        usb0: gpio-regulator { 
     132                compatible = "regulator-gpio"; 
    131133 
    132                 usb { 
    133                         gpio-export,name = "usb"; 
    134                         gpio-export,output = <1>; 
    135                         gpios = <&gpio1 6 0>; 
    136                 }; 
     134                regulator-type = "voltage"; 
     135                regulator-name = "usb-power"; 
     136                regulator-min-microvolt = <5000000>; 
     137                regulator-max-microvolt = <5000000>; 
     138                regulator-boot-on; 
     139 
     140                enable-active-high; 
     141                enable-gpio = <&gpio1 6 0>; 
    137142        }; 
    138143}; 
  • trunk/target/linux/ramips/dts/F5D8235_V1.dts

    r36559 r37016  
    5555                status = "okay"; 
    5656 
    57                 ralink,fixed-link = <1000 1 1 1>; 
     57                port@0 { 
     58                        ralink,fixed-link = <1000 1 1 1>; 
     59                }; 
    5860        }; 
    5961 
  • trunk/target/linux/ramips/dts/FREESTATION5.dts

    r36564 r37016  
    7373        }; 
    7474 
    75         gpio-export { 
    76                 compatible = "gpio-export"; 
     75        poe: gpio-regulator { 
    7776                // Used to enable power-over-ethernet passthrough from port0 to port1. 
    7877                // Disable passthrough by default to prevent accidental equipment damage. 
    79                 poe { 
    80                         gpio-export,name = "poe-passthrough"; 
    81                         gpio-export,output = <1>; // OUT_INIT_HIGH 
    82                         gpios = <&gpio0 11 1>;    // GPIO 11, ACTIVE_LOW 
    83                 }; 
     78                compatible = "regulator-gpio"; 
     79 
     80                regulator-name = "poe-power"; 
     81                regulator-min-microvolt = <5000000>; 
     82                regulator-max-microvolt = <5000000>; 
     83 
     84                enable-gpio = <&gpio0 12 0>; 
    8485        }; 
    8586 
  • trunk/target/linux/ramips/dts/MPRA2.dts

    r36898 r37016  
    104104        }; 
    105105 
    106         gpio_export { 
    107                 compatible = "gpio-export"; 
    108                 #size-cells = <0>; 
     106        usb0: gpio-regulator { 
     107                compatible = "regulator-gpio"; 
    109108 
    110                 usb { 
    111                         gpio-export,name = "usb"; 
    112                         gpio-export,output = <1>; 
    113                         gpios = <&gpio0 7 0>; 
    114                 }; 
    115                 root_hub { 
    116                         gpio-export,name = "root_hub"; 
    117                         gpio-export,output = <1>; 
    118                         gpios = <&gpio0 12 0>; 
    119                 }; 
     109                regulator-name = "usb0-power"; 
     110                regulator-min-microvolt = <5000000>; 
     111                regulator-max-microvolt = <5000000>; 
     112                regulator-boot-on; 
     113 
     114                enable-active-high; 
     115                enable-gpio = <&gpio0 7 0>; 
     116        }; 
     117 
     118        hub0: gpio-regulator { 
     119                compatible = "regulator-gpio"; 
     120 
     121                regulator-name = "hub0-power"; 
     122                regulator-min-microvolt = <5000000>; 
     123                regulator-max-microvolt = <5000000>; 
     124                regulator-boot-on; 
     125 
     126                enable-active-high; 
     127                enable-gpio = <&gpio0 12 0>; 
    120128        }; 
    121129}; 
  • trunk/target/linux/ramips/dts/OMNI-EMB-HPM.dts

    r36290 r37016  
    132132        }; 
    133133 
    134         gpio_export { 
    135                 compatible = "gpio-export"; 
    136                 #size-cells = <0>; 
    137                 /* gpio 12 and 13 handle the OC input */ 
    138                 usb0 { 
    139                         gpio-export,name = "usb0"; 
    140                         gpio-export,output = <1>; 
    141                         gpios = <&gpio0 2 0>; 
    142                 }; 
    143                 usb1 { 
    144                         gpio-export,name = "usb1"; 
    145                         gpio-export,output = <1>; 
    146                         gpios = <&gpio0 1 0>; 
    147                 }; 
     134        /* gpio 12 and 13 handle the OC input */ 
     135        usb0: gpio-regulator { 
     136                compatible = "regulator-gpio"; 
     137 
     138                regulator-name = "usb0-power"; 
     139                regulator-min-microvolt = <5000000>; 
     140                regulator-max-microvolt = <5000000>; 
     141                regulator-boot-on; 
     142 
     143                enable-active-high; 
     144                enable-gpio = <&gpio0 2 0>; 
     145        }; 
     146 
     147        usb1: gpio-regulator { 
     148                compatible = "regulator-gpio"; 
     149 
     150                regulator-name = "usb1-power"; 
     151                regulator-min-microvolt = <5000000>; 
     152                regulator-max-microvolt = <5000000>; 
     153                regulator-boot-on; 
     154 
     155                enable-active-high; 
     156                enable-gpio = <&gpio0 1 0>; 
    148157        }; 
    149158}; 
  • trunk/target/linux/ramips/dts/RT-N15.dts

    r36325 r37016  
    5555                status = "okay"; 
    5656 
    57                 ralink,fixed-link = <1000 1 1 1>; 
     57                port@0 { 
     58                        ralink,fixed-link = <1000 1 1 1>; 
     59                }; 
    5860        }; 
    5961 
  • trunk/target/linux/ramips/dts/RTN56U.dts

    r36290 r37016  
    3232                status = "okay"; 
    3333 
    34                 ralink,fixed-link = <1000 1 1 1>; 
     34                port@0 { 
     35                        ralink,fixed-link = <1000 1 1 1>; 
     36                }; 
    3537        }; 
    3638 
  • trunk/target/linux/ramips/dts/TEW-691GR.dts

    r36290 r37016  
    3131        ethernet@10100000 { 
    3232                status = "okay"; 
    33                 phy-handle = <&phy0>; 
    34                 phy-mode = "rgmii"; 
    35  
     33                port@0 { 
     34                        phy-handle = <&phy0>; 
     35                        phy-mode = "rgmii"; 
     36                }; 
    3637                mdio-bus { 
    3738                        status = "okay"; 
  • trunk/target/linux/ramips/dts/TEW-692GR.dts

    r36290 r37016  
    3131        ethernet@10100000 { 
    3232                status = "okay"; 
    33                 ralink,phy-mask = <0x1>; 
    34                 phy-mode = "rgmii"; 
     33                port@0 { 
     34                        phy-handle = <&phy0>; 
     35                        phy-mode = "rgmii"; 
     36                }; 
     37                mdio-bus { 
     38                        status = "okay"; 
     39 
     40                        phy0: ethernet-phy@0 { 
     41                                reg = <0>; 
     42                        }; 
     43                }; 
    3544        }; 
    3645 
  • trunk/target/linux/ramips/dts/WLI-TX4-AG300N.dts

    r36559 r37016  
    5454                status = "okay"; 
    5555 
    56                 ralink,fixed-link = <100 1 1 1>; 
     56                port@0 { 
     57                        ralink,fixed-link = <1000 1 1 1>; 
     58                }; 
    5759        }; 
    5860 
  • trunk/target/linux/ramips/dts/WR6202.dts

    r36290 r37016  
    103103        }; 
    104104 
    105         gpio_export { 
    106                 compatible = "gpio-export"; 
    107                 #size-cells = <0>; 
     105        usb0: gpio-regulator { 
     106                compatible = "regulator-gpio"; 
    108107 
    109                 usb { 
    110                         gpio-export,name = "usb"; 
    111                         gpio-export,output = <0>; 
    112                         gpios = <&gpio0 11 0>; 
    113                 }; 
     108                regulator-name = "usb0-power"; 
     109                regulator-min-microvolt = <5000000>; 
     110                regulator-max-microvolt = <5000000>; 
     111                regulator-boot-on; 
     112 
     113                enable-gpio = <&gpio0 11 0>; 
    114114        }; 
    115115}; 
  • trunk/target/linux/ramips/dts/rt2880.dtsi

    r36560 r37016  
    1212        chosen { 
    1313                bootargs = "console=ttyS0,57600"; 
    14         }; 
    15  
    16         memorydetect { 
    17                 ralink,memory = <0x8000000 0x200000 0x8000000>; 
    1814        }; 
    1915 
  • trunk/target/linux/ramips/dts/rt3050.dtsi

    r36560 r37016  
    1212        chosen { 
    1313                bootargs = "console=ttyS0,57600"; 
    14         }; 
    15  
    16         memorydetect { 
    17                 ralink,memory = <0x0 0x200000 0x4000000>; 
    1814        }; 
    1915 
     
    4945                        compatible = "ralink,rt3052-wdt", "ralink,rt2880-wdt"; 
    5046                        reg = <0x120 0x10>; 
     47 
     48                        resets = <&rstctrl 8>; 
     49                        reset-names = "wdt"; 
     50 
     51                        interrupt-parent = <&intc>; 
     52                        interrupts = <1>; 
    5153                }; 
    5254 
     
    5557                        reg = <0x200 0x100>; 
    5658 
     59                        resets = <&rstctrl 19>; 
     60                        reset-names = "intc"; 
     61 
    5762                        interrupt-controller; 
    5863                        #interrupt-cells = <1>; 
     
    6570                        compatible = "ralink,rt3052-memc", "ralink,rt3050-memc"; 
    6671                        reg = <0x300 0x100>; 
     72 
     73                        resets = <&rstctrl 20>; 
     74                        reset-names = "mc"; 
     75 
     76                        interrupt-parent = <&intc>; 
     77                        interrupts = <3>; 
     78                }; 
     79 
     80                uart@500 { 
     81                        compatible = "ralink,rt5350-uart", "ralink,rt2880-uart", "ns16550a"; 
     82                        reg = <0x500 0x100>; 
     83 
     84                        resets = <&rstctrl 12>; 
     85                        reset-names = "uart"; 
     86 
     87                        interrupt-parent = <&intc>; 
     88                        interrupts = <5>; 
     89 
     90                        reg-shift = <2>; 
     91 
     92                        status = "disabled"; 
    6793                }; 
    6894 
     
    80106                                                30 34 ]; 
    81107 
     108                        resets = <&rstctrl 13>; 
     109                        reset-names = "pio"; 
     110 
     111                        interrupt-parent = <&intc>; 
     112                        interrupts = <6>; 
     113 
    82114                        status = "disabled"; 
    83115                }; 
     
    118150                        compatible = "ralink,rt3050-spi", "ralink,rt2880-spi"; 
    119151                        reg = <0xb00 0x100>; 
     152                         
     153                        resets = <&rstctrl 18>; 
     154                        reset-names = "spi"; 
     155 
    120156                        #address-cells = <1>; 
    121157                        #size-cells = <0>; 
     
    127163                        compatible = "ralink,rt3052-uart", "ralink,rt2880-uart", "ns16550a"; 
    128164                        reg = <0xc00 0x100>; 
     165  
     166                        resets = <&rstctrl 19>; 
     167                        reset-names = "uartl"; 
    129168 
    130169                        interrupt-parent = <&intc>; 
     
    134173                }; 
    135174 
     175        }; 
     176 
     177        rstctrl: rstctrl { 
     178                compatible = "ralink,rt3050-reset", "ralink,rt2880-reset"; 
     179                #reset-cells = <1>; 
    136180        }; 
    137181 
  • trunk/target/linux/ramips/dts/rt3352.dtsi

    r36560 r37016  
    1212        chosen { 
    1313                bootargs = "console=ttyS0,57600"; 
    14         }; 
    15  
    16         memorydetect { 
    17                 ralink,memory = <0x0 0x200000 0x10000000>; 
    1814        }; 
    1915 
     
    4945                        compatible = "ralink,rt3352-wdt", "ralink,rt2880-wdt"; 
    5046                        reg = <0x120 0x10>; 
     47 
     48                        resets = <&rstctrl 8>; 
     49                        reset-names = "wdt"; 
     50 
     51                        interrupt-parent = <&intc>; 
     52                        interrupts = <1>; 
    5153                }; 
    5254 
     
    6567                        compatible = "ralink,rt3352-memc", "ralink,rt3050-memc"; 
    6668                        reg = <0x300 0x100>; 
     69 
     70                        resets = <&rstctrl 20>; 
     71                        reset-names = "mc"; 
     72 
     73                        interrupt-parent = <&intc>; 
     74                        interrupts = <3>; 
     75                }; 
     76 
     77                uart@500 { 
     78                        compatible = "ralink,rt3352-uart", "ralink,rt2880-uart", "ns16550a"; 
     79                        reg = <0x500 0x100>; 
     80 
     81                        resets = <&rstctrl 12>; 
     82                        reset-names = "uart"; 
     83 
     84                        interrupt-parent = <&intc>; 
     85                        interrupts = <5>; 
     86 
     87                        reg-shift = <2>; 
     88 
     89                        status = "disabled"; 
    6790                }; 
    6891 
     
    79102                                                20 24 28 2c 
    80103                                                30 34 ]; 
     104                        resets = <&rstctrl 13>; 
     105                        reset-names = "pio"; 
     106 
     107                        interrupt-parent = <&intc>; 
     108                        interrupts = <6>; 
    81109 
    82110                        status = "disabled"; 
     
    121149                        #size-cells = <1>; 
    122150 
     151                        resets = <&rstctrl 18>; 
     152                        reset-names = "spi"; 
     153         
    123154                        status = "disabled"; 
    124155                }; 
     
    128159                        reg = <0xc00 0x100>; 
    129160 
     161                        resets = <&rstctrl 19>; 
     162                        reset-names = "uartl"; 
     163 
    130164                        interrupt-parent = <&intc>; 
    131165                        interrupts = <12>; 
     
    133167                        reg-shift = <2>; 
    134168                }; 
     169        }; 
     170 
     171        rstctrl: rstctrl { 
     172                compatible = "ralink,rt3352-reset", "ralink,rt2880-reset"; 
     173                #reset-cells = <1>; 
    135174        }; 
    136175 
  • trunk/target/linux/ramips/dts/rt3883.dtsi

    r36560 r37016  
    1616        aliases { 
    1717                spi0 = &spi0; 
    18         }; 
    19  
    20         memorydetect { 
    21                 ralink,memory = <0x0 0x200000 0x10000000>; 
    2218        }; 
    2319 
     
    5349                        compatible = "ralink,rt3883-wdt", "ralink,rt2880-wdt"; 
    5450                        reg = <0x120 0x10>; 
     51 
     52                        resets = <&rstctrl 8>; 
     53                        reset-names = "wdt"; 
     54 
     55                        interrupt-parent = <&intc>; 
     56                        interrupts = <1>; 
    5557                }; 
    5658 
     
    5961                        reg = <0x200 0x100>; 
    6062 
     63                        resets = <&rstctrl 19>; 
     64                        reset-names = "intc"; 
     65 
    6166                        interrupt-controller; 
    6267                        #interrupt-cells = <1>; 
     
    6974                        compatible = "ralink,rt3883-memc", "ralink,rt3050-memc"; 
    7075                        reg = <0x300 0x100>; 
     76 
     77                        resets = <&rstctrl 20>; 
     78                        reset-names = "mc"; 
     79 
     80                        interrupt-parent = <&intc>; 
     81                        interrupts = <3>; 
     82                }; 
     83 
     84                uart@500 { 
     85                        compatible = "ralink,rt3883-uart", "ralink,rt2880-uart", "ns16550a"; 
     86                        reg = <0x500 0x100>; 
     87 
     88                        resets = <&rstctrl 12>; 
     89                        reset-names = "uart"; 
     90 
     91                        interrupt-parent = <&intc>; 
     92                        interrupts = <5>; 
     93 
     94                        reg-shift = <2>; 
     95 
     96                        status = "disabled"; 
    7197                }; 
    7298 
     
    74100                        compatible = "ralink,rt3883-gpio", "ralink,rt2880-gpio"; 
    75101                        reg = <0x600 0x34>; 
     102 
     103                        resets = <&rstctrl 13>; 
     104                        reset-names = "pio"; 
     105 
     106                        interrupt-parent = <&intc>; 
     107                        interrupts = <6>; 
    76108 
    77109                        gpio-controller; 
     
    141173                        #size-cells = <0>; 
    142174 
     175                        resets = <&rstctrl 18>; 
     176                        reset-names = "spi"; 
     177 
    143178                        status = "disabled"; 
    144179                }; 
     
    148183                        reg = <0xc00 0x100>; 
    149184 
     185                        resets = <&rstctrl 19>; 
     186                        reset-names = "uartl"; 
     187 
    150188                        interrupt-parent = <&intc>; 
    151189                        interrupts = <12>; 
     
    164202                status = "disabled"; 
    165203 
     204                port@0 { 
     205                        compatible = "lantiq,rt3883-port", "ralink,eth-port"; 
     206                        reg = <0>; 
     207                }; 
     208 
    166209                mdio-bus { 
    167210                        #address-cells = <1>; 
     
    170213                        status = "disabled"; 
    171214                }; 
     215        }; 
     216 
     217        rstctrl: rstctrl { 
     218                compatible = "ralink,rt3883-reset", "ralink,rt2880-reset"; 
     219                #reset-cells = <1>; 
    172220        }; 
    173221 
     
    258306        }; 
    259307 
     308        ubsphy { 
     309                compatible = "ralink,rt3xxx-usbphy"; 
     310 
     311                resets = <&rstctrl 22 &rstctrl 25>; 
     312                reset-names = "host", "device"; 
     313        }; 
     314 
    260315        wmac@10180000 { 
    261316                compatible = "ralink,rt3883-wmac", "ralink,rt2880-wmac"; 
  • trunk/target/linux/ramips/dts/rt5350.dtsi

    r36560 r37016  
    1212        chosen { 
    1313                bootargs = "console=ttyS0,57600"; 
    14         }; 
    15  
    16         memorydetect { 
    17                 ralink,memory = <0x0 0x200000 0x4000000>; 
    1814        }; 
    1915 
     
    4945                        compatible = "ralink,rt5350-wdt", "ralink,rt2880-wdt"; 
    5046                        reg = <0x120 0x10>; 
     47 
     48                        resets = <&rstctrl 8>; 
     49                        reset-names = "wdt"; 
     50 
     51                        interrupt-parent = <&intc>; 
     52                        interrupts = <1>; 
    5153                }; 
    5254 
     
    5557                        reg = <0x200 0x100>; 
    5658 
     59                        resets = <&rstctrl 19>; 
     60                        reset-names = "intc"; 
     61 
    5762                        interrupt-controller; 
    5863                        #interrupt-cells = <1>; 
     
    6570                        compatible = "ralink,rt5350-memc", "ralink,rt3050-memc"; 
    6671                        reg = <0x300 0x100>; 
     72 
     73                        resets = <&rstctrl 20>; 
     74                        reset-names = "mc"; 
     75 
     76                        interrupt-parent = <&intc>; 
     77                        interrupts = <3>; 
     78                }; 
     79 
     80                uart@500 { 
     81                        compatible = "ralink,rt5350-uart", "ralink,rt2880-uart", "ns16550a"; 
     82                        reg = <0x500 0x100>; 
     83 
     84                        resets = <&rstctrl 12>; 
     85                        reset-names = "uart"; 
     86 
     87                        interrupt-parent = <&intc>; 
     88                        interrupts = <5>; 
     89 
     90                        reg-shift = <2>; 
     91 
     92                        status = "disabled"; 
    6793                }; 
    6894 
     
    7096                        compatible = "ralink,rt5350-gpio", "ralink,rt2880-gpio"; 
    7197                        reg = <0x600 0x34>; 
     98 
     99                        resets = <&rstctrl 13>; 
     100                        reset-names = "pio"; 
     101 
     102                        interrupt-parent = <&intc>; 
     103                        interrupts = <6>; 
    72104 
    73105                        gpio-controller; 
     
    87119                        reg = <0x638 0x24>; 
    88120 
     121                        interrupt-parent = <&intc>; 
     122                        interrupts = <6>; 
     123 
    89124                        gpio-controller; 
    90125                        #gpio-cells = <2>; 
     
    103138                        reg = <0x660 0x24>; 
    104139 
     140                        interrupt-parent = <&intc>; 
     141                        interrupts = <6>; 
     142 
    105143                        gpio-controller; 
    106144                        #gpio-cells = <2>; 
     
    115153                }; 
    116154 
     155                i2c@900 { 
     156                        compatible = "link,rt5350-i2c", "ralink,rt2880-i2c"; 
     157                        reg = <0x900 0x100>; 
     158 
     159                        resets = <&rstctrl 16>; 
     160                        reset-names = "i2c"; 
     161 
     162                        #address-cells = <1>; 
     163                        #size-cells = <0>; 
     164 
     165                        status = "disabled"; 
     166                }; 
     167 
    117168                spi@b00 { 
    118169                        compatible = "ralink,rt5350-spi", "ralink,rt2880-spi"; 
    119170                        reg = <0xb00 0x100>; 
     171 
     172                        resets = <&rstctrl 18>; 
     173                        reset-names = "spi"; 
     174 
    120175                        #address-cells = <1>; 
    121176                        #size-cells = <1>; 
     
    128183                        reg = <0xc00 0x100>; 
    129184 
     185                        resets = <&rstctrl 19>; 
     186                        reset-names = "uartl"; 
     187 
    130188                        interrupt-parent = <&intc>; 
    131189                        interrupts = <12>; 
     
    133191                        reg-shift = <2>; 
    134192                }; 
     193 
     194                systick@d00 { 
     195                        compatible = "ralink,rt5350-systick", "ralink,cevt-systick"; 
     196                        reg = <0xd00 0x10>; 
     197 
     198                        interrupt-parent = <&cpuintc>; 
     199                        interrupts = <7>; 
     200                }; 
     201        }; 
     202 
     203        rstctrl: rstctrl { 
     204                compatible = "ralink,rt5350-reset", "ralink,rt2880-reset"; 
     205                #reset-cells = <1>; 
     206        }; 
     207 
     208        ubsphy { 
     209                compatible = "ralink,rt3xxx-usbphy"; 
     210 
     211                resets = <&rstctrl 22 &rstctrl 25>; 
     212                reset-names = "host", "device"; 
    135213        }; 
    136214 
    137215        ethernet@10100000 { 
    138                 compatible = "ralink,rt5350-eth", "ralink,rt3050-eth"; 
     216                compatible = "ralink,rt5350-eth"; 
    139217                reg = <0x10100000 10000>; 
    140218 
     
    146224 
    147225        esw@10110000 { 
    148                 compatible = "ralink,rt5350-esw", "ralink,rt3050-esw"; 
     226                compatible = "ralink,rt3050-esw"; 
    149227                reg = <0x10110000 8000>; 
    150228 
     
    168246 
    169247        ehci@101c0000 { 
    170                 compatible = "ralink,rt5350-ehci", "ehci-platform"; 
     248                compatible = "ralink,rt3xxx-ehci", "ehci-platform"; 
    171249                reg = <0x101c0000 0x1000>; 
    172250 
    173251                interrupt-parent = <&intc>; 
    174252                interrupts = <18>; 
    175  
    176                 status = "disabled"; 
    177253        }; 
    178254 
    179255        ohci@101c1000 { 
    180                 compatible = "ralink,rt5350-ohci", "ohci-platform"; 
     256                compatible = "ralink,rt3xxx-ohci", "ohci-platform"; 
    181257                reg = <0x101c1000 0x1000>; 
    182258 
    183259                interrupt-parent = <&intc>; 
    184260                interrupts = <18>; 
    185  
    186                 status = "disabled"; 
    187261        }; 
    188262}; 
  • trunk/target/linux/ramips/image/Makefile

    r36898 r37016  
    520520endif 
    521521 
     522# 
     523# MT7620A Profiles 
     524# 
     525 
     526Image/Build/Profile/MT7620a=$(call BuildFirmware/Default8M/$(1),$(1),mt7620a,MT7620a) 
     527 
     528ifeq ($(SUBTARGET),mt7620a) 
     529define Image/Build/Profile/Default 
     530        $(call Image/Build/Profile/MT7620a,$(1)) 
     531endef 
     532endif 
     533 
    522534 
    523535# 
  • trunk/target/linux/ramips/image/lzma-loader/Makefile

    r37015 r37016  
    4343                FLASH_MAX=$(FLASH_MAX) \ 
    4444                BOARD="$(BOARD)" \ 
     45                PLATFORM="ralink" \ 
    4546                clean all 
    4647 
  • trunk/target/linux/ramips/mt7620a/config-3.8

    r37015 r37016  
    1 CONFIG_AR8216_PHY=y 
    21CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE=y 
    32CONFIG_ARCH_DISCARD_MEMBLOCK=y 
    43CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE=y 
     4CONFIG_ARCH_HAS_RESET_CONTROLLER=y 
    55CONFIG_ARCH_HAVE_CUSTOM_GPIO_H=y 
    66CONFIG_ARCH_HIBERNATION_POSSIBLE=y 
     
    1111CONFIG_CEVT_R4K=y 
    1212CONFIG_CLKDEV_LOOKUP=y 
     13CONFIG_CLKEVT_RT3352=y 
     14CONFIG_CLKSRC_MMIO=y 
     15CONFIG_CLKSRC_OF=y 
    1316CONFIG_CMDLINE="rootfstype=squashfs,jffs2" 
    1417CONFIG_CMDLINE_BOOL=y 
     
    2932CONFIG_DECOMPRESS_LZMA=y 
    3033CONFIG_DMA_NONCOHERENT=y 
    31 # CONFIG_DTB_RT3883_EVAL is not set 
     34# CONFIG_DTB_MT7620A_EVAL is not set 
     35# CONFIG_DTB_MT7620A_MT7610E_EVAL is not set 
    3236CONFIG_DTB_RT_NONE=y 
    3337CONFIG_DTC=y 
    3438CONFIG_EARLY_PRINTK=y 
    35 CONFIG_ETHERNET_PACKET_MANGLE=y 
    3639CONFIG_GENERIC_ATOMIC64=y 
    3740CONFIG_GENERIC_CLOCKEVENTS=y 
     
    8992# CONFIG_MIPS_MACHINE is not set 
    9093CONFIG_MIPS_MT_DISABLED=y 
     94CONFIG_MMC=y 
     95CONFIG_MMC_BLOCK=y 
     96CONFIG_MMC_SDHCI=y 
     97CONFIG_MMC_SDHCI_IO_ACCESSORS=y 
     98CONFIG_MMC_SDHCI_MT7620=y 
     99# CONFIG_MMC_SDHCI_PCI is not set 
     100CONFIG_MMC_SDHCI_PLTFM=y 
     101# CONFIG_MMC_TIFM_SD is not set 
    91102CONFIG_MODULES_USE_ELF_REL=y 
    92103# CONFIG_MTD_CFI_INTELEXT is not set 
     
    99110CONFIG_NEED_DMA_MAP_STATE=y 
    100111CONFIG_NEED_PER_CPU_KM=y 
    101 CONFIG_NET_RAMIPS=y 
    102 # CONFIG_NET_RAMIPS_DEBUG is not set 
    103 # CONFIG_NET_RAMIPS_DEBUG_FS is not set 
     112CONFIG_NET_RALINK=y 
     113CONFIG_NET_RALINK_GSW_MT7620=y 
     114CONFIG_NET_RALINK_MDIO=y 
    104115CONFIG_NO_GENERIC_PCI_IOPORT_MAP=y 
    105116CONFIG_OF=y 
     
    117128CONFIG_PAGEFLAGS_EXTENDED=y 
    118129CONFIG_PCI=y 
     130# CONFIG_PCIEAER is not set 
     131CONFIG_PCIEPORTBUS=y 
    119132CONFIG_PCI_DOMAINS=y 
    120133CONFIG_PERCPU_RWSEM=y 
     
    123136# CONFIG_PREEMPT_RCU is not set 
    124137CONFIG_RALINK=y 
     138CONFIG_RALINK_USBPHY=y 
    125139CONFIG_RALINK_WDT=y 
    126 CONFIG_RTL8366_SMI=y 
    127 CONFIG_RTL8367B_PHY=y 
    128 CONFIG_RTL8367_PHY=y 
     140CONFIG_RESET_CONTROLLER=y 
    129141# CONFIG_SCSI_DMA is not set 
    130142CONFIG_SERIAL_8250_NR_UARTS=4 
     
    133145# CONFIG_SLAB is not set 
    134146CONFIG_SLUB=y 
    135 # CONFIG_SOC_MT7620 is not set 
     147CONFIG_SOC_MT7620=y 
    136148# CONFIG_SOC_RT288X is not set 
    137149# CONFIG_SOC_RT305X is not set 
    138 CONFIG_SOC_RT3883=y 
     150# CONFIG_SOC_RT3883 is not set 
    139151CONFIG_SPI=y 
    140152CONFIG_SPI_MASTER=y 
     
    150162CONFIG_UIDGID_CONVERTED=y 
    151163CONFIG_USB_ARCH_HAS_XHCI=y 
     164CONFIG_USB_OTG_UTILS=y 
    152165CONFIG_USB_SUPPORT=y 
    153166CONFIG_USE_OF=y 
     167CONFIG_WATCHDOG_CORE=y 
    154168CONFIG_ZONE_DMA_FLAG=0 
  • trunk/target/linux/ramips/mt7620a/config-3.9

    r37015 r37016  
    1 CONFIG_AR8216_PHY=y 
    21CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE=y 
    32CONFIG_ARCH_DISCARD_MEMBLOCK=y 
    43CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE=y 
     4CONFIG_ARCH_HAS_RESET_CONTROLLER=y 
    55CONFIG_ARCH_HAVE_CUSTOM_GPIO_H=y 
    66CONFIG_ARCH_HIBERNATION_POSSIBLE=y 
     
    1111CONFIG_CEVT_R4K=y 
    1212CONFIG_CLKDEV_LOOKUP=y 
     13CONFIG_CLKEVT_RT3352=y 
     14CONFIG_CLKSRC_MMIO=y 
     15CONFIG_CLKSRC_OF=y 
     16CONFIG_CLONE_BACKWARDS=y 
    1317CONFIG_CMDLINE="rootfstype=squashfs,jffs2" 
    1418CONFIG_CMDLINE_BOOL=y 
     
    2933CONFIG_DECOMPRESS_LZMA=y 
    3034CONFIG_DMA_NONCOHERENT=y 
    31 # CONFIG_DTB_RT3883_EVAL is not set 
     35# CONFIG_DTB_MT7620A_EVAL is not set 
     36# CONFIG_DTB_MT7620A_MT7610E_EVAL is not set 
    3237CONFIG_DTB_RT_NONE=y 
    3338CONFIG_DTC=y 
    3439CONFIG_EARLY_PRINTK=y 
    35 CONFIG_ETHERNET_PACKET_MANGLE=y 
    3640CONFIG_GENERIC_ATOMIC64=y 
    3741CONFIG_GENERIC_CLOCKEVENTS=y 
     
    4448CONFIG_GENERIC_SMP_IDLE_THREAD=y 
    4549CONFIG_GPIOLIB=y 
     50CONFIG_GPIO_DEVRES=y 
    4651CONFIG_GPIO_RALINK=y 
    4752CONFIG_GPIO_SYSFS=y 
     
    5055CONFIG_HAS_IOMEM=y 
    5156CONFIG_HAS_IOPORT=y 
     57# CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set 
    5258CONFIG_HAVE_ARCH_JUMP_LABEL=y 
    5359CONFIG_HAVE_ARCH_KGDB=y 
    54 CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y 
     60# CONFIG_HAVE_BOOTMEM_INFO_NODE is not set 
    5561CONFIG_HAVE_CLK=y 
    5662CONFIG_HAVE_C_RECORDMCOUNT=y 
     
    6672CONFIG_HAVE_GENERIC_HARDIRQS=y 
    6773CONFIG_HAVE_IDE=y 
    68 CONFIG_HAVE_IRQ_WORK=y 
    6974CONFIG_HAVE_MACH_CLKDEV=y 
    7075CONFIG_HAVE_MEMBLOCK=y 
     
    7883CONFIG_IMAGE_CMDLINE_HACK=y 
    7984CONFIG_INITRAMFS_SOURCE="" 
     85CONFIG_IRQCHIP=y 
    8086CONFIG_IRQ_CPU=y 
    8187CONFIG_IRQ_DOMAIN=y 
    8288CONFIG_IRQ_FORCED_THREADING=y 
     89CONFIG_IRQ_WORK=y 
    8390CONFIG_M25PXX_USE_FAST_READ=y 
    8491CONFIG_MDIO_BOARDINFO=y 
     
    8996# CONFIG_MIPS_MACHINE is not set 
    9097CONFIG_MIPS_MT_DISABLED=y 
     98CONFIG_MMC=y 
     99CONFIG_MMC_BLOCK=y 
     100CONFIG_MMC_SDHCI=y 
     101CONFIG_MMC_SDHCI_IO_ACCESSORS=y 
     102CONFIG_MMC_SDHCI_MT7620=y 
     103# CONFIG_MMC_SDHCI_PCI is not set 
     104CONFIG_MMC_SDHCI_PLTFM=y 
     105# CONFIG_MMC_TIFM_SD is not set 
    91106CONFIG_MODULES_USE_ELF_REL=y 
    92107# CONFIG_MTD_CFI_INTELEXT is not set 
     
    99114CONFIG_NEED_DMA_MAP_STATE=y 
    100115CONFIG_NEED_PER_CPU_KM=y 
    101 CONFIG_NET_RAMIPS=y 
    102 # CONFIG_NET_RAMIPS_DEBUG is not set 
    103 # CONFIG_NET_RAMIPS_DEBUG_FS is not set 
     116CONFIG_NET_RALINK=y 
     117CONFIG_NET_RALINK_GSW_MT7620=y 
     118CONFIG_NET_RALINK_MDIO=y 
    104119CONFIG_NO_GENERIC_PCI_IOPORT_MAP=y 
    105120CONFIG_OF=y 
    106121CONFIG_OF_ADDRESS=y 
    107122CONFIG_OF_DEVICE=y 
     123# CONFIG_OF_DISPLAY_TIMING is not set 
    108124CONFIG_OF_EARLY_FLATTREE=y 
    109125CONFIG_OF_FLATTREE=y 
     
    115131CONFIG_OF_PCI=y 
    116132CONFIG_OF_PCI_IRQ=y 
     133# CONFIG_OF_VIDEOMODE is not set 
    117134CONFIG_PAGEFLAGS_EXTENDED=y 
    118135CONFIG_PCI=y 
    119136CONFIG_PCI_DOMAINS=y 
    120 CONFIG_PERCPU_RWSEM=y 
    121137CONFIG_PERF_USE_VMALLOC=y 
    122138CONFIG_PHYLIB=y 
    123139# CONFIG_PREEMPT_RCU is not set 
    124140CONFIG_RALINK=y 
     141CONFIG_RALINK_USBPHY=y 
    125142CONFIG_RALINK_WDT=y 
    126 CONFIG_RTL8366_SMI=y 
    127 CONFIG_RTL8367B_PHY=y 
    128 CONFIG_RTL8367_PHY=y 
     143# CONFIG_RCU_STALL_COMMON is not set 
     144CONFIG_RESET_CONTROLLER=y 
    129145# CONFIG_SCSI_DMA is not set 
    130146CONFIG_SERIAL_8250_NR_UARTS=4 
     
    133149# CONFIG_SLAB is not set 
    134150CONFIG_SLUB=y 
    135 # CONFIG_SOC_MT7620 is not set 
     151CONFIG_SOC_MT7620=y 
    136152# CONFIG_SOC_RT288X is not set 
    137153# CONFIG_SOC_RT305X is not set 
    138 CONFIG_SOC_RT3883=y 
     154# CONFIG_SOC_RT3883 is not set 
    139155CONFIG_SPI=y 
    140156CONFIG_SPI_MASTER=y 
     
    150166CONFIG_UIDGID_CONVERTED=y 
    151167CONFIG_USB_ARCH_HAS_XHCI=y 
     168CONFIG_USB_OTG_UTILS=y 
    152169CONFIG_USB_SUPPORT=y 
    153170CONFIG_USE_OF=y 
     171CONFIG_WATCHDOG_CORE=y 
    154172CONFIG_ZONE_DMA_FLAG=0 
  • trunk/target/linux/ramips/mt7620a/target.mk

    r37015 r37016  
    33# 
    44 
    5 SUBTARGET:=rt305x 
    6 BOARDNAME:=RT3x5x/RT5350 based boards 
     5SUBTARGET:=mt7620a 
     6BOARDNAME:=MT7620a based boards 
    77ARCH_PACKAGES:=ramips_24kec 
    88FEATURES+=usb 
     
    1010 
    1111define Target/Description 
    12         Build firmware images for Ralink RT3x5x/RT5350 based boards. 
     12        Build firmware images for Ralink MT7620a based boards. 
    1313endef 
    1414 
  • trunk/target/linux/ramips/patches-3.8/0001-MIPS-ralink-adds-include-files.patch

    r36215 r37016  
    1 From 8563991026ee98bb5e477167236972a45dfea0e3 Mon Sep 17 00:00:00 2001 
     1From 72bd3fcd16225f46ca318435a4d8f3f3f154b1bc Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Mon, 21 Jan 2013 18:25:59 +0100 
    4 Subject: [PATCH 01/14] MIPS: ralink: adds include files 
     4Subject: [PATCH 01/79] MIPS: ralink: adds include files 
    55 
    66Before we start adding the platform code we add the common include files. 
     
    1818 create mode 100644 arch/mips/ralink/common.h 
    1919 
     20diff --git a/arch/mips/include/asm/mach-ralink/ralink_regs.h b/arch/mips/include/asm/mach-ralink/ralink_regs.h 
     21new file mode 100644 
     22index 0000000..5a508f9 
    2023--- /dev/null 
    2124+++ b/arch/mips/include/asm/mach-ralink/ralink_regs.h 
     
    6063+ 
    6164+#endif /* _RALINK_REGS_H_ */ 
     65diff --git a/arch/mips/include/asm/mach-ralink/war.h b/arch/mips/include/asm/mach-ralink/war.h 
     66new file mode 100644 
     67index 0000000..a7b712c 
    6268--- /dev/null 
    6369+++ b/arch/mips/include/asm/mach-ralink/war.h 
     
    8894+ 
    8995+#endif /* __ASM_MACH_RALINK_WAR_H */ 
     96diff --git a/arch/mips/ralink/common.h b/arch/mips/ralink/common.h 
     97new file mode 100644 
     98index 0000000..3009903 
    9099--- /dev/null 
    91100+++ b/arch/mips/ralink/common.h 
     
    135144+ 
    136145+#endif /* _RALINK_COMMON_H__ */ 
     146--  
     1471.7.10.4 
     148 
  • trunk/target/linux/ramips/patches-3.8/0002-MIPS-ralink-adds-irq-code.patch

    r36215 r37016  
    1 From 19d3814e7b325f8965fd71f329b3467a97f8d217 Mon Sep 17 00:00:00 2001 
     1From 833836f47b4191e93267b91fcab38dd15affcd28 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Sun, 20 Jan 2013 22:00:50 +0100 
    4 Subject: [PATCH 02/14] MIPS: ralink: adds irq code 
     4Subject: [PATCH 02/79] MIPS: ralink: adds irq code 
    55 
    66All of the Ralink Wifi SoC currently supported by this series share the same 
     
    1515 create mode 100644 arch/mips/ralink/irq.c 
    1616 
     17diff --git a/arch/mips/ralink/irq.c b/arch/mips/ralink/irq.c 
     18new file mode 100644 
     19index 0000000..e62c975 
    1720--- /dev/null 
    1821+++ b/arch/mips/ralink/irq.c 
     
    194197+} 
    195198+ 
     199--  
     2001.7.10.4 
     201 
  • trunk/target/linux/ramips/patches-3.8/0003-MIPS-ralink-adds-reset-code.patch

    r36215 r37016  
    1 From c06e836ada59fbc6d1109277e693e5b3e056ac12 Mon Sep 17 00:00:00 2001 
     1From 3cdf3d713c81ffd3032d7c664f0be89d1ddce3e3 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Sun, 20 Jan 2013 22:00:57 +0100 
    4 Subject: [PATCH 03/14] MIPS: ralink: adds reset code 
     4Subject: [PATCH 03/79] MIPS: ralink: adds reset code 
    55 
    66Resetting these SoCs requires no real magic. The code is straight forward. 
     
    1414 create mode 100644 arch/mips/ralink/reset.c 
    1515 
     16diff --git a/arch/mips/ralink/reset.c b/arch/mips/ralink/reset.c 
     17new file mode 100644 
     18index 0000000..22120e5 
    1619--- /dev/null 
    1720+++ b/arch/mips/ralink/reset.c 
     
    6164+ 
    6265+arch_initcall(mips_reboot_setup); 
     66--  
     671.7.10.4 
     68 
  • trunk/target/linux/ramips/patches-3.8/0004-MIPS-ralink-adds-prom-and-cmdline-code.patch

    r36215 r37016  
    1 From 7e47cefa69c8ed2c889522ce29fcce73ce8cf08e Mon Sep 17 00:00:00 2001 
     1From 36424b3f1f184c752562d19d0df1a427c8c584a2 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Sun, 20 Jan 2013 22:01:05 +0100 
    4 Subject: [PATCH 04/14] MIPS: ralink: adds prom and cmdline code 
     4Subject: [PATCH 04/79] MIPS: ralink: adds prom and cmdline code 
    55 
    66Add minimal code to handle commandlines. 
     
    1414 create mode 100644 arch/mips/ralink/prom.c 
    1515 
     16diff --git a/arch/mips/ralink/prom.c b/arch/mips/ralink/prom.c 
     17new file mode 100644 
     18index 0000000..9c64f02 
    1619--- /dev/null 
    1720+++ b/arch/mips/ralink/prom.c 
     
    8689+{ 
    8790+} 
     91--  
     921.7.10.4 
     93 
  • trunk/target/linux/ramips/patches-3.8/0005-MIPS-ralink-adds-clkdev-code.patch

    r36215 r37016  
    1 From 3f0a06b0368d25608841843e9d65a7289ad9f14a Mon Sep 17 00:00:00 2001 
     1From b99289db258ee8a84e1bd555b2897476acf390c1 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Sun, 20 Jan 2013 22:01:29 +0100 
    4 Subject: [PATCH 05/14] MIPS: ralink: adds clkdev code 
     4Subject: [PATCH 05/79] MIPS: ralink: adds clkdev code 
    55 
    66These SoCs have a limited number of fixed rate clocks. Add support for the 
     
    1515 create mode 100644 arch/mips/ralink/clk.c 
    1616 
     17diff --git a/arch/mips/ralink/clk.c b/arch/mips/ralink/clk.c 
     18new file mode 100644 
     19index 0000000..8dfa22f 
    1720--- /dev/null 
    1821+++ b/arch/mips/ralink/clk.c 
     
    9093+       clk_put(clk); 
    9194+} 
     95--  
     961.7.10.4 
     97 
  • trunk/target/linux/ramips/patches-3.8/0006-MIPS-ralink-adds-OF-code.patch

    r36215 r37016  
    1 From 3a5bfe7bdbfd37c9206d7c6dfd7eb9664ccc5038 Mon Sep 17 00:00:00 2001 
     1From 4b2f9abbbaf3463a0fc1a65afeb0d12f890ada35 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Sun, 20 Jan 2013 22:02:01 +0100 
    4 Subject: [PATCH 06/14] MIPS: ralink: adds OF code 
     4Subject: [PATCH 06/79] MIPS: ralink: adds OF code 
    55 
    66Until there is a generic MIPS way of handing the DTB over from bootloader to 
     
    1616 create mode 100644 arch/mips/ralink/of.c 
    1717 
     18diff --git a/arch/mips/ralink/of.c b/arch/mips/ralink/of.c 
     19new file mode 100644 
     20index 0000000..4165e70 
    1821--- /dev/null 
    1922+++ b/arch/mips/ralink/of.c 
     
    126129+ 
    127130+arch_initcall(plat_of_setup); 
     131--  
     1321.7.10.4 
     133 
  • trunk/target/linux/ramips/patches-3.8/0007-MIPS-ralink-adds-early_printk-support.patch

    r36215 r37016  
    1 From 5fff610b7c60195de98e68bec00c357f393ce634 Mon Sep 17 00:00:00 2001 
     1From 4efba82d0e4059588f2b2fc0ac2576eaf37f1d22 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Sun, 20 Jan 2013 22:02:55 +0100 
    4 Subject: [PATCH 07/14] MIPS: ralink: adds early_printk support 
     4Subject: [PATCH 07/79] MIPS: ralink: adds early_printk support 
    55 
    66Add the code needed to make early printk work. 
     
    1414 create mode 100644 arch/mips/ralink/early_printk.c 
    1515 
     16diff --git a/arch/mips/ralink/early_printk.c b/arch/mips/ralink/early_printk.c 
     17new file mode 100644 
     18index 0000000..c4ae47e 
    1619--- /dev/null 
    1720+++ b/arch/mips/ralink/early_printk.c 
     
    6164+               ; 
    6265+} 
     66--  
     671.7.10.4 
     68 
  • trunk/target/linux/ramips/patches-3.8/0008-MIPS-ralink-adds-support-for-RT305x-SoC-family.patch

    r36215 r37016  
    1 From 2809b31770d7fd934a748692e1922a5e613f06e5 Mon Sep 17 00:00:00 2001 
     1From 433f4f524aba81358353ca4ebc00c3e916521ec6 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Sun, 20 Jan 2013 22:03:46 +0100 
    4 Subject: [PATCH 08/14] MIPS: ralink: adds support for RT305x SoC family 
     4Subject: [PATCH 08/79] MIPS: ralink: adds support for RT305x SoC family 
    55 
    66Add support code for rt3050, rt3052, rt3350, rt3352 and rt5350 SOC. 
     
    1818 create mode 100644 arch/mips/ralink/rt305x.c 
    1919 
     20diff --git a/arch/mips/include/asm/mach-ralink/rt305x.h b/arch/mips/include/asm/mach-ralink/rt305x.h 
     21new file mode 100644 
     22index 0000000..7d344f2 
    2023--- /dev/null 
    2124+++ b/arch/mips/include/asm/mach-ralink/rt305x.h 
     
    160163+ 
    161164+#endif 
     165diff --git a/arch/mips/ralink/rt305x.c b/arch/mips/ralink/rt305x.c 
     166new file mode 100644 
     167index 0000000..0a4bbdc 
    162168--- /dev/null 
    163169+++ b/arch/mips/ralink/rt305x.c 
     
    405411+               (id & CHIP_ID_REV_MASK)); 
    406412+} 
     413--  
     4141.7.10.4 
     415 
  • trunk/target/linux/ramips/patches-3.8/0009-MIPS-ralink-adds-rt305x-devicetree.patch

    r36216 r37016  
    1 From 5644da4f635a30fc03b4f12d81b2197d716d9cef Mon Sep 17 00:00:00 2001 
     1From 8208a43c301d9164802dedeec7455dbdd70ca286 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Tue, 22 Jan 2013 20:19:33 +0100 
    4 Subject: [PATCH 09/14] MIPS: ralink: adds rt305x devicetree 
     4Subject: [PATCH 09/79] MIPS: ralink: adds rt305x devicetree 
    55 
    66This adds the devicetree file that describes the rt305x evaluation kit. 
     
    1616 create mode 100644 arch/mips/ralink/dts/rt3052_eval.dts 
    1717 
     18diff --git a/arch/mips/ralink/dts/rt3050.dtsi b/arch/mips/ralink/dts/rt3050.dtsi 
     19new file mode 100644 
     20index 0000000..fd49daa 
    1821--- /dev/null 
    1922+++ b/arch/mips/ralink/dts/rt3050.dtsi 
     
    115118+       }; 
    116119+}; 
     120diff --git a/arch/mips/ralink/dts/rt3052_eval.dts b/arch/mips/ralink/dts/rt3052_eval.dts 
     121new file mode 100644 
     122index 0000000..dc56e58 
    117123--- /dev/null 
    118124+++ b/arch/mips/ralink/dts/rt3052_eval.dts 
     
    170176+       }; 
    171177+}; 
     178--  
     1791.7.10.4 
     180 
  • trunk/target/linux/ramips/patches-3.8/0010-MIPS-ralink-adds-Kbuild-files.patch

    r36215 r37016  
    1 From ae2b5bb6570481b50a7175c64176b82da0a81836 Mon Sep 17 00:00:00 2001 
     1From 79e69b7a01246e945448039f7dce170eef0b6e3b Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Sun, 20 Jan 2013 22:05:30 +0100 
    4 Subject: [PATCH 10/14] MIPS: ralink: adds Kbuild files 
     4Subject: [PATCH 10/79] MIPS: ralink: adds Kbuild files 
    55 
    66Add the Kbuild symbols and Makefiles needed to actually build the ralink code 
     
    2323 create mode 100644 arch/mips/ralink/dts/Makefile 
    2424 
     25diff --git a/arch/mips/Kbuild.platforms b/arch/mips/Kbuild.platforms 
     26index 91b9d69..9a73ce6 100644 
    2527--- a/arch/mips/Kbuild.platforms 
    2628+++ b/arch/mips/Kbuild.platforms 
     
    3335 platforms += sgi-ip22 
    3436 platforms += sgi-ip27 
     37diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig 
     38index 2ac626a..b5081b5 100644 
    3539--- a/arch/mips/Kconfig 
    3640+++ b/arch/mips/Kconfig 
     
    6670 source "arch/mips/sibyte/Kconfig" 
    6771 source "arch/mips/txx9/Kconfig" 
     72diff --git a/arch/mips/ralink/Kconfig b/arch/mips/ralink/Kconfig 
     73new file mode 100644 
     74index 0000000..a0b0197 
    6875--- /dev/null 
    6976+++ b/arch/mips/ralink/Kconfig 
     
    101108+ 
    102109+endif 
     110diff --git a/arch/mips/ralink/Makefile b/arch/mips/ralink/Makefile 
     111new file mode 100644 
     112index 0000000..939757f 
    103113--- /dev/null 
    104114+++ b/arch/mips/ralink/Makefile 
     
    119129+ 
    120130+obj-y += dts/ 
     131diff --git a/arch/mips/ralink/Platform b/arch/mips/ralink/Platform 
     132new file mode 100644 
     133index 0000000..6babd65 
    121134--- /dev/null 
    122135+++ b/arch/mips/ralink/Platform 
     
    132145+# 
    133146+load-$(CONFIG_SOC_RT305X)      += 0xffffffff80000000 
     147diff --git a/arch/mips/ralink/dts/Makefile b/arch/mips/ralink/dts/Makefile 
     148new file mode 100644 
     149index 0000000..1a69fb3 
    134150--- /dev/null 
    135151+++ b/arch/mips/ralink/dts/Makefile 
    136152@@ -0,0 +1 @@ 
    137153+obj-$(CONFIG_DTB_RT305X_EVAL) := rt3052_eval.dtb.o 
     154--  
     1551.7.10.4 
     156 
  • trunk/target/linux/ramips/patches-3.8/0011-MIPS-ralink-adds-default-config-file.patch

    r36215 r37016  
    1 From 6d63d70f9fe4c1b3d293ac3b9d2fcaf937d95cea Mon Sep 17 00:00:00 2001 
     1From 428bb7af86ffb6171e11c36dfcdacd87ed5341e6 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Fri, 1 Feb 2013 12:50:49 +0100 
    4 Subject: [PATCH 11/14] MIPS: ralink: adds default config file 
     4Subject: [PATCH 11/79] MIPS: ralink: adds default config file 
    55 
    66Signed-off-by: John Crispin <blogic@openwrt.org> 
     
    1010 create mode 100644 arch/mips/configs/rt305x_defconfig 
    1111 
     12diff --git a/arch/mips/configs/rt305x_defconfig b/arch/mips/configs/rt305x_defconfig 
     13new file mode 100644 
     14index 0000000..d1741bc 
    1215--- /dev/null 
    1316+++ b/arch/mips/configs/rt305x_defconfig 
     
    180183+# CONFIG_XZ_DEC_SPARC is not set 
    181184+CONFIG_AVERAGE=y 
     185--  
     1861.7.10.4 
     187 
  • trunk/target/linux/ramips/patches-3.8/0012-Document-devicetree-add-OF-documents-for-MIPS-interr.patch

    r36215 r37016  
    1 From dcc7310e144c3bf17a86d2f058d60fb525d4b34a Mon Sep 17 00:00:00 2001 
     1From dae867771332e7541783ebb6bacf33356ad449b3 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Thu, 31 Jan 2013 13:44:10 +0100 
    4 Subject: [PATCH 12/14] Document: devicetree: add OF documents for MIPS 
     4Subject: [PATCH 12/79] Document: devicetree: add OF documents for MIPS 
    55 interrupt controller 
    66 
     
    1313 create mode 100644 Documentation/devicetree/bindings/mips/cpu_irq.txt 
    1414 
     15diff --git a/Documentation/devicetree/bindings/mips/cpu_irq.txt b/Documentation/devicetree/bindings/mips/cpu_irq.txt 
     16new file mode 100644 
     17index 0000000..13aa4b6 
    1518--- /dev/null 
    1619+++ b/Documentation/devicetree/bindings/mips/cpu_irq.txt 
     
    6366+       of_irq_init(of_irq_ids); 
    6467+} 
     68--  
     691.7.10.4 
     70 
  • trunk/target/linux/ramips/patches-3.8/0013-MIPS-add-irqdomain-support-for-the-CPU-IRQ-controlle.patch

    r36215 r37016  
    1 From 0916b46962cbcac9465d253d0a398435b3965fd5 Mon Sep 17 00:00:00 2001 
     1From 65e39f763eeca6fb93f48ed5a9b296277a543429 Mon Sep 17 00:00:00 2001 
    22From: Gabor Juhos <juhosg@openwrt.org> 
    33Date: Thu, 31 Jan 2013 12:20:43 +0000 
    4 Subject: [PATCH 13/14] MIPS: add irqdomain support for the CPU IRQ controller 
     4Subject: [PATCH 13/79] MIPS: add irqdomain support for the CPU IRQ controller 
    55 
    66Add code to load a irq_domain for the MIPS IRQ controller from a devicetree 
     
    1616 2 files changed, 48 insertions(+) 
    1717 
     18diff --git a/arch/mips/include/asm/irq_cpu.h b/arch/mips/include/asm/irq_cpu.h 
     19index ef6a07c..3f11fdb 100644 
    1820--- a/arch/mips/include/asm/irq_cpu.h 
    1921+++ b/arch/mips/include/asm/irq_cpu.h 
     
    2931+ 
    3032 #endif /* _ASM_IRQ_CPU_H */ 
     33diff --git a/arch/mips/kernel/irq_cpu.c b/arch/mips/kernel/irq_cpu.c 
     34index 972263b..49bc9ca 100644 
    3135--- a/arch/mips/kernel/irq_cpu.c 
    3236+++ b/arch/mips/kernel/irq_cpu.c 
     
    8488+} 
    8589+#endif /* CONFIG_IRQ_DOMAIN */ 
     90--  
     911.7.10.4 
     92 
  • trunk/target/linux/ramips/patches-3.8/0014-MIPS-ralink-add-CPU-interrupt-controller-to-of_irq_i.patch

    r36215 r37016  
    1 From d3d2b4200b5a42851365e903d101f8f0882eb9eb Mon Sep 17 00:00:00 2001 
     1From 9afd2ba44145009578d9d445183480a698cc04f2 Mon Sep 17 00:00:00 2001 
    22From: Gabor Juhos <juhosg@openwrt.org> 
    33Date: Thu, 31 Jan 2013 20:43:30 +0100 
    4 Subject: [PATCH 14/14] MIPS: ralink: add CPU interrupt controller to 
     4Subject: [PATCH 14/79] MIPS: ralink: add CPU interrupt controller to 
    55 of_irq_ids 
    66 
     
    1717 2 files changed, 17 insertions(+), 3 deletions(-) 
    1818 
     19diff --git a/arch/mips/ralink/dts/rt3050.dtsi b/arch/mips/ralink/dts/rt3050.dtsi 
     20index fd49daa..069d066 100644 
    1921--- a/arch/mips/ralink/dts/rt3050.dtsi 
    2022+++ b/arch/mips/ralink/dts/rt3050.dtsi 
     
    4345  
    4446                memc@300 { 
     47diff --git a/arch/mips/ralink/irq.c b/arch/mips/ralink/irq.c 
     48index e62c975..6d054c5 100644 
    4549--- a/arch/mips/ralink/irq.c 
    4650+++ b/arch/mips/ralink/irq.c 
    47 @@ -128,8 +128,11 @@ static int __init intc_of_init(struct de 
     51@@ -128,8 +128,11 @@ static int __init intc_of_init(struct device_node *node, 
    4852 { 
    4953        struct resource res; 
     
    5862        if (of_address_to_resource(node, 0, &res)) 
    5963                panic("Failed to get intc memory range"); 
    60 @@ -156,8 +159,8 @@ static int __init intc_of_init(struct de 
     64@@ -156,8 +159,8 @@ static int __init intc_of_init(struct device_node *node, 
    6165  
    6266        rt_intc_w32(INTC_INT_GLOBAL, INTC_REG_ENABLE); 
     
    6973        cp0_perfcount_irq = irq_create_mapping(domain, 9); 
    7074  
    71 @@ -165,6 +168,7 @@ static int __init intc_of_init(struct de 
     75@@ -165,6 +168,7 @@ static int __init intc_of_init(struct device_node *node, 
    7276 } 
    7377  
     
    7781        {}, 
    7882 }; 
     83--  
     841.7.10.4 
     85 
  • trunk/target/linux/ramips/patches-3.8/0015-serial-ralink-adds-support-for-the-serial-core-found.patch

    r36215 r37016  
    1 From c420811f117a59a4a7d4e34b362437b91c7fafa1 Mon Sep 17 00:00:00 2001 
     1From 219ec2244c2e9085e6900dc515a24f6655c79827 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Fri, 25 Jan 2013 19:39:51 +0100 
    4 Subject: [PATCH] serial: ralink: adds support for the serial core found on 
    5  ralink wisoc 
     4Subject: [PATCH 15/79] serial: ralink: adds support for the serial core found 
     5 on ralink wisoc 
    66 
    77The MIPS based Ralink WiSoC platform has 1 or more 8250 compatible serial cores. 
     
    1616 3 files changed, 12 insertions(+), 4 deletions(-) 
    1717 
     18diff --git a/drivers/tty/serial/8250/8250.c b/drivers/tty/serial/8250/8250.c 
     19index f932043..f72eb7d 100644 
    1820--- a/drivers/tty/serial/8250/8250.c 
    1921+++ b/drivers/tty/serial/8250/8250.c 
    20 @@ -345,9 +345,9 @@ static void default_serial_dl_write(stru 
     22@@ -324,9 +324,9 @@ static void default_serial_dl_write(struct uart_8250_port *up, int value) 
    2123        serial_out(up, UART_DLM, value >> 8 & 0xff); 
    2224 } 
     
    3032        [UART_RX]  = 0, 
    3133        [UART_IER] = 2, 
    32 @@ -527,7 +527,7 @@ static void set_io_from_upio(struct uart 
     34@@ -506,7 +506,7 @@ static void set_io_from_upio(struct uart_port *p) 
    3335                break; 
    3436 #endif 
     
    3941                p->serial_in = au_serial_in; 
    4042                p->serial_out = au_serial_out; 
     43diff --git a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig 
     44index c31133a..9e4febd 100644 
    4145--- a/drivers/tty/serial/8250/Kconfig 
    4246+++ b/drivers/tty/serial/8250/Kconfig 
     
    5357+         serial port, say Y to this option. The driver can handle up to 2 serial 
    5458+         ports. If unsure, say N. 
     59diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h 
     60index c6690a2..0b428d6 100644 
    5561--- a/include/linux/serial_core.h 
    5662+++ b/include/linux/serial_core.h 
     
    6470 #define UPIO_RM9000            (6)                     /* RM9000 type IO */ 
    6571  
     72--  
     731.7.10.4 
     74 
  • trunk/target/linux/ramips/patches-3.8/0016-MIPS-move-mips_-set-get-_machine_name-to-a-more-gene.patch

    r37015 r37016  
    1 From dd4bb7e821d112bff981016fd4e7c014ca9425f9 Mon Sep 17 00:00:00 2001 
     1From 231e989ef4a11073ad6be8af797f96d51256d07a Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Thu, 11 Apr 2013 05:34:59 +0000 
    4 Subject: [PATCH 100/137] MIPS: move mips_{set,get}_machine_name() to a more 
     4Subject: [PATCH 16/79] MIPS: move mips_{set,get}_machine_name() to a more 
    55 generic place 
    66 
     
    1818 5 files changed, 35 insertions(+), 26 deletions(-) 
    1919 
     20diff --git a/arch/mips/include/asm/mips_machine.h b/arch/mips/include/asm/mips_machine.h 
     21index 363bb35..9d00aeb 100644 
    2022--- a/arch/mips/include/asm/mips_machine.h 
    2123+++ b/arch/mips/include/asm/mips_machine.h 
     
    3436  
    3537 #endif /* __ASM_MIPS_MACHINE_H */ 
     38diff --git a/arch/mips/include/asm/prom.h b/arch/mips/include/asm/prom.h 
     39index 8808bf5..1e7e096 100644 
    3640--- a/arch/mips/include/asm/prom.h 
    3741+++ b/arch/mips/include/asm/prom.h 
    38 @@ -48,4 +48,7 @@ extern void __dt_setup_arch(struct boot_ 
     42@@ -48,4 +48,7 @@ extern void __dt_setup_arch(struct boot_param_header *bph); 
    3943 static inline void device_tree_init(void) { } 
    4044 #endif /* CONFIG_OF */ 
     
    4448+ 
    4549 #endif /* __ASM_PROM_H */ 
     50diff --git a/arch/mips/kernel/mips_machine.c b/arch/mips/kernel/mips_machine.c 
     51index 411a058..6dc5866 100644 
    4652--- a/arch/mips/kernel/mips_machine.c 
    4753+++ b/arch/mips/kernel/mips_machine.c 
     
    5460 #define for_each_machine(mach) \ 
    5561        for ((mach) = (struct mips_machine *)&__mips_machines_start; \ 
    56 @@ -21,25 +20,6 @@ static char *mips_machine_name = "Unknow 
     62@@ -21,25 +20,6 @@ static char *mips_machine_name = "Unknown"; 
    5763             (unsigned long)(mach) < (unsigned long)&__mips_machines_end; \ 
    5864             (mach)++) 
     
    8894        if (mips_machine->mach_setup) 
    8995                mips_machine->mach_setup(); 
     96diff --git a/arch/mips/kernel/proc.c b/arch/mips/kernel/proc.c 
     97index 07dff54..8779237 100644 
    9098--- a/arch/mips/kernel/proc.c 
    9199+++ b/arch/mips/kernel/proc.c 
     
    99107 unsigned int vced_count, vcei_count; 
    100108  
     109diff --git a/arch/mips/kernel/prom.c b/arch/mips/kernel/prom.c 
     110index 028f6f8..b68e53b 100644 
    101111--- a/arch/mips/kernel/prom.c 
    102112+++ b/arch/mips/kernel/prom.c 
     
    124134                                          const char *uname, int depth, 
    125135                                          void *data) 
    126 @@ -50,6 +66,18 @@ void __init early_init_dt_setup_initrd_a 
     136@@ -50,6 +66,18 @@ void __init early_init_dt_setup_initrd_arch(unsigned long start, 
    127137 } 
    128138 #endif 
     
    143153 { 
    144154        /* Setup flat device-tree pointer */ 
    145 @@ -65,6 +93,9 @@ void __init early_init_devtree(void *par 
     155@@ -65,6 +93,9 @@ void __init early_init_devtree(void *params) 
    146156        /* Scan memory nodes */ 
    147157        of_scan_flat_dt(early_init_dt_scan_root, NULL); 
     
    153163  
    154164 void __init __dt_setup_arch(struct boot_param_header *bph) 
     165--  
     1661.7.10.4 
     167 
  • trunk/target/linux/ramips/patches-3.8/0017-MIPS-ralink-add-PCI-IRQ-handling.patch

    r37015 r37016  
    1 From 16d9eaf22f30ed0b0deddfe8e11426889ccdb556 Mon Sep 17 00:00:00 2001 
     1From 98ab228172e66e43766d9e2a0ddb73603c22dbd1 Mon Sep 17 00:00:00 2001 
    22From: Gabor Juhos <juhosg@openwrt.org> 
    33Date: Wed, 10 Apr 2013 09:07:27 +0200 
    4 Subject: [PATCH 101/137] MIPS: ralink: add PCI IRQ handling 
     4Subject: [PATCH 17/79] MIPS: ralink: add PCI IRQ handling 
    55 
    66The Ralink IRQ code was not handling the PCI IRQ yet. Add this functionaility 
     
    1414 1 file changed, 4 insertions(+) 
    1515 
     16diff --git a/arch/mips/ralink/irq.c b/arch/mips/ralink/irq.c 
     17index 6d054c5..d9807d0 100644 
    1618--- a/arch/mips/ralink/irq.c 
    1719+++ b/arch/mips/ralink/irq.c 
     
    3436                do_IRQ(RALINK_CPU_IRQ_INTC); 
    3537  
     38--  
     391.7.10.4 
     40 
  • trunk/target/linux/ramips/patches-3.8/0018-MIPS-ralink-add-RT3352-register-defines.patch

    r37015 r37016  
    1 From e6bcdad6f0811daedc2a448f5d7fb98c116a5241 Mon Sep 17 00:00:00 2001 
     1From 8667d984d1b4f3be1c5da71788762b9945a25c90 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Thu, 21 Mar 2013 19:01:49 +0100 
    4 Subject: [PATCH 102/137] MIPS: ralink: add RT3352 register defines 
     4Subject: [PATCH 18/79] MIPS: ralink: add RT3352 register defines 
    55 
    66Add a few missing defines that are needed to make USB and clock detection work 
     
    1414 1 file changed, 13 insertions(+) 
    1515 
     16diff --git a/arch/mips/include/asm/mach-ralink/rt305x.h b/arch/mips/include/asm/mach-ralink/rt305x.h 
     17index 7d344f2..e36c3c5 100644 
    1618--- a/arch/mips/include/asm/mach-ralink/rt305x.h 
    1719+++ b/arch/mips/include/asm/mach-ralink/rt305x.h 
     
    3436+ 
    3537 #endif 
     38--  
     391.7.10.4 
     40 
  • trunk/target/linux/ramips/patches-3.8/0019-MIPS-ralink-fix-RT305x-clock-setup.patch

    r37015 r37016  
    1 From 845f786c561c0991d9b4088a2d77b8fd4831d487 Mon Sep 17 00:00:00 2001 
     1From 853823a469a8123657bf32bc5e1843c40529a20d Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Fri, 22 Mar 2013 19:25:59 +0100 
    4 Subject: [PATCH 103/137] MIPS: ralink: fix RT305x clock setup 
     4Subject: [PATCH 19/79] MIPS: ralink: fix RT305x clock setup 
    55 
    66Add a few missing clocks. 
     
    1313 1 file changed, 12 insertions(+) 
    1414 
     15diff --git a/arch/mips/ralink/rt305x.c b/arch/mips/ralink/rt305x.c 
     16index 0a4bbdc..5d49a54 100644 
    1517--- a/arch/mips/ralink/rt305x.c 
    1618+++ b/arch/mips/ralink/rt305x.c 
     
    4648  
    4749 void __init ralink_of_remap(void) 
     50--  
     511.7.10.4 
     52 
  • trunk/target/linux/ramips/patches-3.8/0020-MIPS-ralink-add-missing-comment-in-irq-driver.patch

    r37015 r37016  
    1 From 2747613b1bba0d4497ed2c4a77e2011d02029153 Mon Sep 17 00:00:00 2001 
     1From 7c268f1b47669be2efce1607ee02193cb49424cf Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Sat, 16 Mar 2013 16:28:54 +0100 
    4 Subject: [PATCH 104/137] MIPS: ralink: add missing comment in irq driver 
     4Subject: [PATCH 20/79] MIPS: ralink: add missing comment in irq driver 
    55 
    66Trivial patch that adds a comment that makes the code more readable. 
     
    1313 1 file changed, 1 insertion(+) 
    1414 
     15diff --git a/arch/mips/ralink/irq.c b/arch/mips/ralink/irq.c 
     16index d9807d0..320b1f1 100644 
    1517--- a/arch/mips/ralink/irq.c 
    1618+++ b/arch/mips/ralink/irq.c 
    17 @@ -166,6 +166,7 @@ static int __init intc_of_init(struct de 
     19@@ -166,6 +166,7 @@ static int __init intc_of_init(struct device_node *node, 
    1820        irq_set_chained_handler(irq, ralink_intc_irq_handler); 
    1921        irq_set_handler_data(irq, domain); 
     
    2325  
    2426        return 0; 
     27--  
     281.7.10.4 
     29 
  • trunk/target/linux/ramips/patches-3.8/0021-MIPS-ralink-add-RT5350-sdram-register-defines.patch

    r37015 r37016  
    1 From 31f4b3ca1c9bb4bcbbebbe5db5a33ac82f130d9c Mon Sep 17 00:00:00 2001 
     1From 0df8c2fdd0fe1095b834fbf2b098d6f1b3e56608 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Mon, 25 Mar 2013 11:19:58 +0100 
    4 Subject: [PATCH 105/137] MIPS: ralink: add RT5350 sdram register defines 
     4Subject: [PATCH 21/79] MIPS: ralink: add RT5350 sdram register defines 
    55 
    66Add a few missing defines that are needed to make memory detection work on the 
     
    1414 1 file changed, 8 insertions(+) 
    1515 
     16diff --git a/arch/mips/include/asm/mach-ralink/rt305x.h b/arch/mips/include/asm/mach-ralink/rt305x.h 
     17index e36c3c5..80cda8a 100644 
    1618--- a/arch/mips/include/asm/mach-ralink/rt305x.h 
    1719+++ b/arch/mips/include/asm/mach-ralink/rt305x.h 
     
    3133 #define RT305X_GPIO_I2C_SD             1 
    3234 #define RT305X_GPIO_I2C_SCLK           2 
     35--  
     361.7.10.4 
     37 
  • trunk/target/linux/ramips/patches-3.8/0022-MIPS-ralink-make-early_printk-work-on-RT2880.patch

    r37015 r37016  
    1 From d83e83a544258b68b4411232a31ccce134244a19 Mon Sep 17 00:00:00 2001 
     1From 9ed190912864c8b96d888af2cb66efcf1dc5562a Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Tue, 9 Apr 2013 18:31:15 +0200 
    4 Subject: [PATCH 106/137] MIPS: ralink: make early_printk work on RT2880 
     4Subject: [PATCH 22/79] MIPS: ralink: make early_printk work on RT2880 
    55 
    66RT2880 has a different location for the early serial port. 
     
    1313 1 file changed, 4 insertions(+) 
    1414 
     15diff --git a/arch/mips/ralink/early_printk.c b/arch/mips/ralink/early_printk.c 
     16index c4ae47e..b46d041 100644 
    1517--- a/arch/mips/ralink/early_printk.c 
    1618+++ b/arch/mips/ralink/early_printk.c 
     
    2729 #define UART_REG_RX             0x00 
    2830 #define UART_REG_TX             0x04 
     31--  
     321.7.10.4 
     33 
  • trunk/target/linux/ramips/patches-3.8/0023-MIPS-ralink-rename-gpio_pinmux-to-rt_gpio_pinmux.patch

    r37015 r37016  
    1 From b4c597bd073d5e4c9cee800ac5a25fb9ff1c0ef7 Mon Sep 17 00:00:00 2001 
     1From d5b75031f6ad0f9f82c3b8faeab3cda1cb4ebfe9 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Fri, 12 Apr 2013 22:12:09 +0200 
    4 Subject: [PATCH 107/137] MIPS: ralink: rename gpio_pinmux to rt_gpio_pinmux 
     4Subject: [PATCH 23/79] MIPS: ralink: rename gpio_pinmux to rt_gpio_pinmux 
    55 
    66Add proper namespacing to the variable. 
     
    1313 2 files changed, 2 insertions(+), 2 deletions(-) 
    1414 
     15diff --git a/arch/mips/ralink/common.h b/arch/mips/ralink/common.h 
     16index 3009903..f4b19c6 100644 
    1517--- a/arch/mips/ralink/common.h 
    1618+++ b/arch/mips/ralink/common.h 
     
    2426 struct ralink_soc_info { 
    2527        unsigned char sys_type[RAMIPS_SYS_TYPE_LEN]; 
     28diff --git a/arch/mips/ralink/rt305x.c b/arch/mips/ralink/rt305x.c 
     29index 5d49a54..f1a6c33 100644 
    2630--- a/arch/mips/ralink/rt305x.c 
    2731+++ b/arch/mips/ralink/rt305x.c 
     
    3539        .uart = uart_mux, 
    3640        .uart_shift = RT305X_GPIO_MODE_UART0_SHIFT, 
     41--  
     421.7.10.4 
     43 
  • trunk/target/linux/ramips/patches-3.8/0024-MIPS-ralink-make-the-RT305x-pinmuxing-structure-stat.patch

    r37015 r37016  
    1 From 96eba63bf18cd3d96ded62fb809c8cf7e0f2e2c1 Mon Sep 17 00:00:00 2001 
     1From 2793deaf4d3d364ba2ed075abf2b9022a152f253 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Fri, 12 Apr 2013 22:16:12 +0200 
    4 Subject: [PATCH 108/137] MIPS: ralink: make the RT305x pinmuxing structure 
     4Subject: [PATCH 24/79] MIPS: ralink: make the RT305x pinmuxing structure 
    55 static 
    66 
     
    1414 1 file changed, 3 insertions(+), 3 deletions(-) 
    1515 
     16diff --git a/arch/mips/ralink/rt305x.c b/arch/mips/ralink/rt305x.c 
     17index f1a6c33..5b42078 100644 
    1618--- a/arch/mips/ralink/rt305x.c 
    1719+++ b/arch/mips/ralink/rt305x.c 
     
    4345        u32 t; 
    4446  
     47--  
     481.7.10.4 
     49 
  • trunk/target/linux/ramips/patches-3.8/0025-MIPS-ralink-add-pci-group-to-struct-ralink_pinmux.patch

    r37015 r37016  
    1 From 61d50d9625dcb454759950ebd45a335c3aaacf84 Mon Sep 17 00:00:00 2001 
     1From e859bf709e73acb5735cf1207422f53fc3202632 Mon Sep 17 00:00:00 2001 
    22From: Gabor Juhos <juhosg@openwrt.org> 
    33Date: Fri, 12 Apr 2013 12:40:23 +0200 
    4 Subject: [PATCH 109/137] MIPS: ralink: add pci group to struct ralink_pinmux 
     4Subject: [PATCH 25/79] MIPS: ralink: add pci group to struct ralink_pinmux 
    55 
    66This will be used for RT3662/RT3883. 
     
    1313 1 file changed, 3 insertions(+) 
    1414 
     15diff --git a/arch/mips/ralink/common.h b/arch/mips/ralink/common.h 
     16index f4b19c6..bebd149 100644 
    1517--- a/arch/mips/ralink/common.h 
    1618+++ b/arch/mips/ralink/common.h 
     
    2527 extern struct ralink_pinmux rt_gpio_pinmux; 
    2628  
     29--  
     301.7.10.4 
     31 
  • trunk/target/linux/ramips/patches-3.8/0026-MIPS-ralink-add-uart-mask-to-struct-ralink_pinmux.patch

    r37015 r37016  
    1 From faf5989efed503b2ee689dad82bb2d60da718d99 Mon Sep 17 00:00:00 2001 
     1From 6e09e0465b342b52ecda583cbc41e6a31c363b3f Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Fri, 12 Apr 2013 12:45:27 +0200 
    4 Subject: [PATCH 110/137] MIPS: ralink: add uart mask to struct ralink_pinmux 
     4Subject: [PATCH 26/79] MIPS: ralink: add uart mask to struct ralink_pinmux 
    55 
    66Add a field for the uart muxing mask and set it inside the rt305x setup code. 
     
    1313 2 files changed, 4 insertions(+), 2 deletions(-) 
    1414 
     15diff --git a/arch/mips/ralink/common.h b/arch/mips/ralink/common.h 
     16index bebd149..299119b 100644 
    1517--- a/arch/mips/ralink/common.h 
    1618+++ b/arch/mips/ralink/common.h 
     
    2325        struct ralink_pinmux_grp *pci; 
    2426        int pci_shift; 
     27diff --git a/arch/mips/ralink/rt305x.c b/arch/mips/ralink/rt305x.c 
     28index 5b42078..6aa3cb1 100644 
    2529--- a/arch/mips/ralink/rt305x.c 
    2630+++ b/arch/mips/ralink/rt305x.c 
    27 @@ -91,12 +91,12 @@ static struct ralink_pinmux_grp uart_mux 
     31@@ -91,12 +91,12 @@ static struct ralink_pinmux_grp uart_mux[] = { 
    2832                .name = "gpio uartf", 
    2933                .mask = RT305X_GPIO_MODE_GPIO_UARTF, 
     
    4852 }; 
    4953  
     54--  
     551.7.10.4 
     56 
  • trunk/target/linux/ramips/patches-3.8/0027-MIPS-ralink-adds-support-for-RT2880-SoC-family.patch

    r37015 r37016  
    1 From cccb9a7b42227a442ca42d590c838c8b6fa0eba1 Mon Sep 17 00:00:00 2001 
     1From 2a0d9878985bb3274bb61535f76ea293991635a9 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Sun, 27 Jan 2013 09:17:20 +0100 
    4 Subject: [PATCH 111/137] MIPS: ralink: adds support for RT2880 SoC family 
     4Subject: [PATCH 27/79] MIPS: ralink: adds support for RT2880 SoC family 
    55 
    66Add support code for rt2880 SOC. 
     
    2222 create mode 100644 arch/mips/ralink/rt288x.c 
    2323 
     24diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig 
     25index b5081b5..b5fd476 100644 
    2426--- a/arch/mips/Kconfig 
    2527+++ b/arch/mips/Kconfig 
    26 @@ -1189,7 +1189,7 @@ config BOOT_ELF32 
     28@@ -1177,7 +1177,7 @@ config BOOT_ELF32 
    2729  
    2830 config MIPS_L1_CACHE_SHIFT 
     
    3335        default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON 
    3436        default "5" 
     37diff --git a/arch/mips/include/asm/mach-ralink/rt288x.h b/arch/mips/include/asm/mach-ralink/rt288x.h 
     38new file mode 100644 
     39index 0000000..ad8b42d 
    3540--- /dev/null 
    3641+++ b/arch/mips/include/asm/mach-ralink/rt288x.h 
     
    8590+ 
    8691+#endif 
     92diff --git a/arch/mips/ralink/Kconfig b/arch/mips/ralink/Kconfig 
     93index a0b0197..6723b94 100644 
    8794--- a/arch/mips/ralink/Kconfig 
    8895+++ b/arch/mips/ralink/Kconfig 
     
    97104                bool "RT305x" 
    98105                select USB_ARCH_HAS_HCD 
     106diff --git a/arch/mips/ralink/Makefile b/arch/mips/ralink/Makefile 
     107index 939757f..6d826f2 100644 
    99108--- a/arch/mips/ralink/Makefile 
    100109+++ b/arch/mips/ralink/Makefile 
     
    107116  
    108117 obj-$(CONFIG_EARLY_PRINTK) += early_printk.o 
     118diff --git a/arch/mips/ralink/Platform b/arch/mips/ralink/Platform 
     119index 6babd65..3f49e51 100644 
    109120--- a/arch/mips/ralink/Platform 
    110121+++ b/arch/mips/ralink/Platform 
    111 @@ -5,6 +5,11 @@ core-$(CONFIG_RALINK)          += arch/mips/rali 
     122@@ -5,6 +5,11 @@ core-$(CONFIG_RALINK)          += arch/mips/ralink/ 
    112123 cflags-$(CONFIG_RALINK)                += -I$(srctree)/arch/mips/include/asm/mach-ralink 
    113124  
     
    121132 # 
    122133 load-$(CONFIG_SOC_RT305X)      += 0xffffffff80000000 
     134diff --git a/arch/mips/ralink/rt288x.c b/arch/mips/ralink/rt288x.c 
     135new file mode 100644 
     136index 0000000..1e0788e 
    123137--- /dev/null 
    124138+++ b/arch/mips/ralink/rt288x.c 
     
    263277+               (id & CHIP_ID_REV_MASK)); 
    264278+} 
     279--  
     2801.7.10.4 
     281 
  • trunk/target/linux/ramips/patches-3.8/0028-MIPS-ralink-adds-support-for-RT3883-SoC-family.patch

    r37015 r37016  
    1 From 5eb4dfe5072595e0706de3364f2da45378dbaca6 Mon Sep 17 00:00:00 2001 
     1From c75f4a5af758494595fded27efb95732365d10db Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Sun, 27 Jan 2013 09:39:02 +0100 
    4 Subject: [PATCH 112/137] MIPS: ralink: adds support for RT3883 SoC family 
     4Subject: [PATCH 28/79] MIPS: ralink: adds support for RT3883 SoC family 
    55 
    66Add support code for rt3883 SOC. 
     
    2121 create mode 100644 arch/mips/ralink/rt3883.c 
    2222 
     23diff --git a/arch/mips/include/asm/mach-ralink/rt3883.h b/arch/mips/include/asm/mach-ralink/rt3883.h 
     24new file mode 100644 
     25index 0000000..b91c6c1 
    2326--- /dev/null 
    2427+++ b/arch/mips/include/asm/mach-ralink/rt3883.h 
    25 @@ -0,0 +1,248 @@ 
     28@@ -0,0 +1,247 @@ 
    2629+/* 
    2730+ * Ralink RT3662/RT3883 SoC register definitions 
     
    178181+#define RT3883_GPIO_7                  7 
    179182+#define RT3883_GPIO_10                 10 
    180 +#define RT3883_GPIO_11                 11 
    181183+#define RT3883_GPIO_14                 14 
    182184+#define RT3883_GPIO_UART1_TXD          15 
     
    272274+ 
    273275+#endif /* _RT3883_REGS_H_ */ 
     276diff --git a/arch/mips/ralink/Kconfig b/arch/mips/ralink/Kconfig 
     277index 6723b94..ce57d3e 100644 
    274278--- a/arch/mips/ralink/Kconfig 
    275279+++ b/arch/mips/ralink/Kconfig 
     
    286290  
    287291 choice 
     292diff --git a/arch/mips/ralink/Makefile b/arch/mips/ralink/Makefile 
     293index 6d826f2..ba9669c 100644 
    288294--- a/arch/mips/ralink/Makefile 
    289295+++ b/arch/mips/ralink/Makefile 
     
    296302 obj-$(CONFIG_EARLY_PRINTK) += early_printk.o 
    297303  
     304diff --git a/arch/mips/ralink/Platform b/arch/mips/ralink/Platform 
     305index 3f49e51..f67c08d 100644 
    298306--- a/arch/mips/ralink/Platform 
    299307+++ b/arch/mips/ralink/Platform 
    300 @@ -13,3 +13,8 @@ load-$(CONFIG_SOC_RT288X)     += 0xffffffff8 
     308@@ -13,3 +13,8 @@ load-$(CONFIG_SOC_RT288X)     += 0xffffffff88000000 
    301309 # Ralink RT305x 
    302310 # 
     
    307315+# 
    308316+load-$(CONFIG_SOC_RT3883)      += 0xffffffff80000000 
     317diff --git a/arch/mips/ralink/rt3883.c b/arch/mips/ralink/rt3883.c 
     318new file mode 100644 
     319index 0000000..2d90aa9 
    309320--- /dev/null 
    310321+++ b/arch/mips/ralink/rt3883.c 
     
    552563+               (id & RT3883_REVID_ECO_ID_MASK)); 
    553564+} 
     565--  
     5661.7.10.4 
     567 
  • trunk/target/linux/ramips/patches-3.8/0029-MIPS-ralink-adds-support-for-MT7620-SoC-family.patch

    r37015 r37016  
    1 From a8d7045a9530d0a9e0c65c0f81852bd57ebde53c Mon Sep 17 00:00:00 2001 
     1From 41b7b06b494eef5a081363566314960306437d73 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Thu, 21 Mar 2013 17:49:02 +0100 
    4 Subject: [PATCH 113/137] MIPS: ralink: adds support for MT7620 SoC family 
     4Subject: [PATCH 29/79] MIPS: ralink: adds support for MT7620 SoC family 
    55 
    66Add support code for mt7620 SOC. 
     
    2121 create mode 100644 arch/mips/ralink/mt7620.c 
    2222 
     23diff --git a/arch/mips/include/asm/mach-ralink/mt7620.h b/arch/mips/include/asm/mach-ralink/mt7620.h 
     24new file mode 100644 
     25index 0000000..b272649 
    2326--- /dev/null 
    2427+++ b/arch/mips/include/asm/mach-ralink/mt7620.h 
     
    100103+ 
    101104+#endif 
     105diff --git a/arch/mips/ralink/Kconfig b/arch/mips/ralink/Kconfig 
     106index ce57d3e..86f6c77 100644 
    102107--- a/arch/mips/ralink/Kconfig 
    103108+++ b/arch/mips/ralink/Kconfig 
     
    112117  
    113118 choice 
     119diff --git a/arch/mips/ralink/Makefile b/arch/mips/ralink/Makefile 
     120index ba9669c..38cf1a8 100644 
    114121--- a/arch/mips/ralink/Makefile 
    115122+++ b/arch/mips/ralink/Makefile 
     
    122129 obj-$(CONFIG_EARLY_PRINTK) += early_printk.o 
    123130  
     131diff --git a/arch/mips/ralink/Platform b/arch/mips/ralink/Platform 
     132index f67c08d..b2cbf16 100644 
    124133--- a/arch/mips/ralink/Platform 
    125134+++ b/arch/mips/ralink/Platform 
    126 @@ -18,3 +18,8 @@ load-$(CONFIG_SOC_RT305X)     += 0xffffffff8 
     135@@ -18,3 +18,8 @@ load-$(CONFIG_SOC_RT305X)     += 0xffffffff80000000 
    127136 # Ralink RT3883 
    128137 # 
     
    133142+# 
    134143+load-$(CONFIG_SOC_MT7620)      += 0xffffffff80000000 
     144diff --git a/arch/mips/ralink/mt7620.c b/arch/mips/ralink/mt7620.c 
     145new file mode 100644 
     146index 0000000..eb00ab8 
    135147--- /dev/null 
    136148+++ b/arch/mips/ralink/mt7620.c 
     
    350362+       dram_type = (cfg0 >> SYSCFG0_DRAM_TYPE_SHIFT) & SYSCFG0_DRAM_TYPE_MASK; 
    351363+} 
     364--  
     3651.7.10.4 
     366 
  • trunk/target/linux/ramips/patches-3.8/0030-MIPS-ralink-add-cpu-feature-overrides.h.patch

    r37015 r37016  
    1 From 33c525913af22d1b799a7218ee48579c22a50cf8 Mon Sep 17 00:00:00 2001 
     1From 8a7cac5e324f044f3970d686d79e3489260f6d21 Mon Sep 17 00:00:00 2001 
    22From: Gabor Juhos <juhosg@openwrt.org> 
    33Date: Wed, 10 Apr 2013 09:19:07 +0200 
    4 Subject: [PATCH 114/137] MIPS: ralink: add cpu-feature-overrides.h 
     4Subject: [PATCH 30/79] MIPS: ralink: add cpu-feature-overrides.h 
    55 
    66Add cpu-feature-overrides.h for RT288x, RT305x and RT3883. 
     
    1919 create mode 100644 arch/mips/include/asm/mach-ralink/rt3883/cpu-feature-overrides.h 
    2020 
     21diff --git a/arch/mips/include/asm/mach-ralink/rt288x/cpu-feature-overrides.h b/arch/mips/include/asm/mach-ralink/rt288x/cpu-feature-overrides.h 
     22new file mode 100644 
     23index 0000000..72fc106 
    2124--- /dev/null 
    2225+++ b/arch/mips/include/asm/mach-ralink/rt288x/cpu-feature-overrides.h 
     
    7881+ 
    7982+#endif /* _RT288X_CPU_FEATURE_OVERRIDES_H */ 
     83diff --git a/arch/mips/include/asm/mach-ralink/rt305x/cpu-feature-overrides.h b/arch/mips/include/asm/mach-ralink/rt305x/cpu-feature-overrides.h 
     84new file mode 100644 
     85index 0000000..917c286 
    8086--- /dev/null 
    8187+++ b/arch/mips/include/asm/mach-ralink/rt305x/cpu-feature-overrides.h 
     
    137143+ 
    138144+#endif /* _RT305X_CPU_FEATURE_OVERRIDES_H */ 
     145diff --git a/arch/mips/include/asm/mach-ralink/rt3883/cpu-feature-overrides.h b/arch/mips/include/asm/mach-ralink/rt3883/cpu-feature-overrides.h 
     146new file mode 100644 
     147index 0000000..181fbf4 
    139148--- /dev/null 
    140149+++ b/arch/mips/include/asm/mach-ralink/rt3883/cpu-feature-overrides.h 
     
    195204+ 
    196205+#endif /* _RT3883_CPU_FEATURE_OVERRIDES_H */ 
     206diff --git a/arch/mips/ralink/Platform b/arch/mips/ralink/Platform 
     207index b2cbf16..cda4b66 100644 
    197208--- a/arch/mips/ralink/Platform 
    198209+++ b/arch/mips/ralink/Platform 
    199 @@ -8,16 +8,19 @@ cflags-$(CONFIG_RALINK)               += -I$(srctree) 
     210@@ -8,16 +8,19 @@ cflags-$(CONFIG_RALINK)               += -I$(srctree)/arch/mips/include/asm/mach-ralink 
    200211 # Ralink RT288x 
    201212 # 
     
    217228 # 
    218229 # Ralink MT7620 
     230--  
     2311.7.10.4 
     232 
  • trunk/target/linux/ramips/patches-3.8/0031-DT-add-vendor-prefixes-for-Ralink.patch

    r37015 r37016  
    1 From 9377ecb9f1fb5da25a0fbd324e7add7644b1d43d Mon Sep 17 00:00:00 2001 
     1From f13cb76f8ad8714eaf691ef24aebfb57f62dab66 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Sat, 13 Apr 2013 10:11:51 +0200 
    4 Subject: [PATCH 115/137] DT: add vendor prefixes for Ralink 
     4Subject: [PATCH 31/79] DT: add vendor prefixes for Ralink 
    55 
    66Signed-off-by: John Crispin <blogic@openwrt.org> 
     
    1010 1 file changed, 1 insertion(+) 
    1111 
     12diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt 
     13index 902b1b1..d1cc7bb 100644 
    1214--- a/Documentation/devicetree/bindings/vendor-prefixes.txt 
    1315+++ b/Documentation/devicetree/bindings/vendor-prefixes.txt 
     
    2022 realtek Realtek Semiconductor Corp. 
    2123 samsung        Samsung Semiconductor 
     24--  
     251.7.10.4 
     26 
  • trunk/target/linux/ramips/patches-3.8/0032-DT-add-documentation-for-the-Ralink-MIPS-SoCs.patch

    r37015 r37016  
    1 From fed1ff0d85b481bb3dbebf31e0720d65ce4170c9 Mon Sep 17 00:00:00 2001 
     1From 441d0189a47391c6882bbc6a11494e7cd394f1fc Mon Sep 17 00:00:00 2001 
    22From: Gabor Juhos <juhosg@openwrt.org> 
    33Date: Sat, 13 Apr 2013 09:02:40 +0200 
    4 Subject: [PATCH 116/137] DT: add documentation for the Ralink MIPS SoCs 
     4Subject: [PATCH 32/79] DT: add documentation for the Ralink MIPS SoCs 
    55 
    66This patch adds binding documentation for the 
     
    1616 create mode 100644 Documentation/devicetree/bindings/mips/ralink.txt 
    1717 
     18diff --git a/Documentation/devicetree/bindings/mips/ralink.txt b/Documentation/devicetree/bindings/mips/ralink.txt 
     19new file mode 100644 
     20index 0000000..59b6a35 
    1821--- /dev/null 
    1922+++ b/Documentation/devicetree/bindings/mips/ralink.txt 
     
    3740+  ralink,mt7620n-soc 
    3841+ 
     42--  
     431.7.10.4 
     44 
  • trunk/target/linux/ramips/patches-3.8/0033-DT-MIPS-ralink-clean-up-RT3050-dtsi-and-dts-file.patch

    r37015 r37016  
    1 From 7a30e00a278fe94ac8e42d0967ffde99d1ab74ee Mon Sep 17 00:00:00 2001 
     1From 29d1bb6fc97d4391e4ecf96298b6ac42d0daefca Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    3 Date: Thu, 21 Mar 2013 17:47:07 +0100 
    4 Subject: [PATCH 117/137] DT: MIPS: ralink: clean up RT3050 dtsi and dts file 
     3Date: Thu, 20 Jun 2013 18:44:43 +0200 
     4Subject: [PATCH 33/79] DT: MIPS: ralink: clean up RT3050 dtsi and dts file 
    55 
    66* remove nodes for cores whose drivers are not upstream yet 
     
    1616 2 files changed, 4 insertions(+), 58 deletions(-) 
    1717 
     18diff --git a/arch/mips/ralink/dts/rt3050.dtsi b/arch/mips/ralink/dts/rt3050.dtsi 
     19index 069d066..ef7da1e 100644 
    1820--- a/arch/mips/ralink/dts/rt3050.dtsi 
    1921+++ b/arch/mips/ralink/dts/rt3050.dtsi 
     
    105107                        compatible = "ralink,rt3052-uart", "ralink,rt2880-uart", "ns16550a"; 
    106108                        reg = <0xc00 0x100>; 
     109diff --git a/arch/mips/ralink/dts/rt3052_eval.dts b/arch/mips/ralink/dts/rt3052_eval.dts 
     110index dc56e58..df17f5f 100644 
    107111--- a/arch/mips/ralink/dts/rt3052_eval.dts 
    108112+++ b/arch/mips/ralink/dts/rt3052_eval.dts 
     
    116120        model = "Ralink RT3052 evaluation board"; 
    117121  
     122@@ -12,12 +10,8 @@ 
     123                reg = <0x0 0x2000000>; 
     124        }; 
     125  
     126-       palmbus@10000000 { 
     127-               sysc@0 { 
     128-                       ralink,pinmux = "uartlite", "spi"; 
     129-                       ralink,uartmux = "gpio"; 
     130-                       ralink,wdtmux = <0>; 
     131-               }; 
     132+       chosen { 
     133+               bootargs = "console=ttyS0,57600"; 
     134        }; 
     135  
     136        cfi@1f000000 { 
     137--  
     1381.7.10.4 
     139 
  • trunk/target/linux/ramips/patches-3.8/0034-DT-MIPS-ralink-add-RT2880-dts-files.patch

    r37015 r37016  
    1 From b39e659770cb71939765de8c9e73c0a0cfa832db Mon Sep 17 00:00:00 2001 
     1From b3cda181b5f9986b05bd95ee322504a8f2ed0b69 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Fri, 12 Apr 2013 06:27:37 +0000 
    4 Subject: [PATCH 118/137] DT: MIPS: ralink: add RT2880 dts files 
     4Subject: [PATCH 34/79] DT: MIPS: ralink: add RT2880 dts files 
    55 
    66Add a dtsi file for RT2880 SoC and a sample dts file. 
     
    1818 create mode 100644 arch/mips/ralink/dts/rt2880_eval.dts 
    1919 
     20diff --git a/arch/mips/ralink/Kconfig b/arch/mips/ralink/Kconfig 
     21index 86f6c77..2f6fbb8 100644 
    2022--- a/arch/mips/ralink/Kconfig 
    2123+++ b/arch/mips/ralink/Kconfig 
     
    3133                bool "RT305x eval kit" 
    3234                depends on SOC_RT305X 
     35diff --git a/arch/mips/ralink/dts/Makefile b/arch/mips/ralink/dts/Makefile 
     36index 1a69fb3..f635a01 100644 
    3337--- a/arch/mips/ralink/dts/Makefile 
    3438+++ b/arch/mips/ralink/dts/Makefile 
     
    3640+obj-$(CONFIG_DTB_RT2880_EVAL) := rt2880_eval.dtb.o 
    3741 obj-$(CONFIG_DTB_RT305X_EVAL) := rt3052_eval.dtb.o 
     42diff --git a/arch/mips/ralink/dts/rt2880.dtsi b/arch/mips/ralink/dts/rt2880.dtsi 
     43new file mode 100644 
     44index 0000000..182afde 
    3845--- /dev/null 
    3946+++ b/arch/mips/ralink/dts/rt2880.dtsi 
     
    97104+       }; 
    98105+}; 
     106diff --git a/arch/mips/ralink/dts/rt2880_eval.dts b/arch/mips/ralink/dts/rt2880_eval.dts 
     107new file mode 100644 
     108index 0000000..322d700 
    99109--- /dev/null 
    100110+++ b/arch/mips/ralink/dts/rt2880_eval.dts 
     
    146156+       }; 
    147157+}; 
     158--  
     1591.7.10.4 
     160 
  • trunk/target/linux/ramips/patches-3.8/0035-DT-MIPS-ralink-add-RT3883-dts-files.patch

    r37015 r37016  
    1 From 8b02459b5aa171dc8726698c4b19341a4e441bb8 Mon Sep 17 00:00:00 2001 
     1From d702c2e334db0a75298654b12755fd5879dd29df Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Fri, 12 Apr 2013 06:27:39 +0000 
    4 Subject: [PATCH 119/137] DT: MIPS: ralink: add RT3883 dts files 
     4Subject: [PATCH 35/79] DT: MIPS: ralink: add RT3883 dts files 
    55 
    66Add a dtsi file for RT3883 SoC and a sample dts file. 
     
    1818 create mode 100644 arch/mips/ralink/dts/rt3883_eval.dts 
    1919 
     20diff --git a/arch/mips/ralink/Kconfig b/arch/mips/ralink/Kconfig 
     21index 2f6fbb8..493411f 100644 
    2022--- a/arch/mips/ralink/Kconfig 
    2123+++ b/arch/mips/ralink/Kconfig 
     
    3133  
    3234 endif 
     35diff --git a/arch/mips/ralink/dts/Makefile b/arch/mips/ralink/dts/Makefile 
     36index f635a01..040a986 100644 
    3337--- a/arch/mips/ralink/dts/Makefile 
    3438+++ b/arch/mips/ralink/dts/Makefile 
     
    3741 obj-$(CONFIG_DTB_RT305X_EVAL) := rt3052_eval.dtb.o 
    3842+obj-$(CONFIG_DTB_RT3883_EVAL) := rt3883_eval.dtb.o 
     43diff --git a/arch/mips/ralink/dts/rt3883.dtsi b/arch/mips/ralink/dts/rt3883.dtsi 
     44new file mode 100644 
     45index 0000000..3b131dd 
    3946--- /dev/null 
    4047+++ b/arch/mips/ralink/dts/rt3883.dtsi 
     
    98105+       }; 
    99106+}; 
     107diff --git a/arch/mips/ralink/dts/rt3883_eval.dts b/arch/mips/ralink/dts/rt3883_eval.dts 
     108new file mode 100644 
     109index 0000000..2fa6b33 
    100110--- /dev/null 
    101111+++ b/arch/mips/ralink/dts/rt3883_eval.dts 
     
    117127+       }; 
    118128+}; 
     129--  
     1301.7.10.4 
     131 
  • trunk/target/linux/ramips/patches-3.8/0036-DT-MIPS-ralink-add-MT7620A-dts-files.patch

    r37015 r37016  
    1 From 07741f61fc94fad3c3d21fa1a2ad6f01455cc1dd Mon Sep 17 00:00:00 2001 
     1From 0757f88781dca6b29de4e1578a4900715371a926 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Fri, 12 Apr 2013 06:27:41 +0000 
    4 Subject: [PATCH 120/137] DT: MIPS: ralink: add MT7620A dts files 
     4Subject: [PATCH 36/79] DT: MIPS: ralink: add MT7620A dts files 
    55 
    66Add a dtsi file for MT7620A SoC and a sample dts file. 
     
    1818 create mode 100644 arch/mips/ralink/dts/mt7620a_eval.dts 
    1919 
     20diff --git a/arch/mips/ralink/Kconfig b/arch/mips/ralink/Kconfig 
     21index 493411f..026e823 100644 
    2022--- a/arch/mips/ralink/Kconfig 
    2123+++ b/arch/mips/ralink/Kconfig 
     
    3133  
    3234 endif 
     35diff --git a/arch/mips/ralink/dts/Makefile b/arch/mips/ralink/dts/Makefile 
     36index 040a986..18194fa 100644 
    3337--- a/arch/mips/ralink/dts/Makefile 
    3438+++ b/arch/mips/ralink/dts/Makefile 
     
    3842 obj-$(CONFIG_DTB_RT3883_EVAL) := rt3883_eval.dtb.o 
    3943+obj-$(CONFIG_DTB_MT7620A_EVAL) := mt7620a_eval.dtb.o 
     44diff --git a/arch/mips/ralink/dts/mt7620a.dtsi b/arch/mips/ralink/dts/mt7620a.dtsi 
     45new file mode 100644 
     46index 0000000..08bf24f 
    4047--- /dev/null 
    4148+++ b/arch/mips/ralink/dts/mt7620a.dtsi 
     
    99106+       }; 
    100107+}; 
     108diff --git a/arch/mips/ralink/dts/mt7620a_eval.dts b/arch/mips/ralink/dts/mt7620a_eval.dts 
     109new file mode 100644 
     110index 0000000..35eb874 
    101111--- /dev/null 
    102112+++ b/arch/mips/ralink/dts/mt7620a_eval.dts 
     
    118128+       }; 
    119129+}; 
     130--  
     1311.7.10.4 
     132 
  • trunk/target/linux/ramips/patches-3.8/0037-MIPS-add-detect_memory_region.patch

    r37015 r37016  
    1 From 9041c96ab5bd29d85ca95cffa44c755f68ae6bb1 Mon Sep 17 00:00:00 2001 
     1From 3350a0d29bc3f3d15b50835a20ffcc14a458e2d9 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Sat, 13 Apr 2013 13:15:47 +0200 
    4 Subject: [PATCH 121/137] MIPS: add detect_memory_region() 
     4Subject: [PATCH 37/79] MIPS: add detect_memory_region() 
    55 
    66Add a generic way of detecting the available RAM. This function is based on the 
     
    1414 2 files changed, 21 insertions(+) 
    1515 
     16diff --git a/arch/mips/include/asm/bootinfo.h b/arch/mips/include/asm/bootinfo.h 
     17index 7a51d87..6d6cfac 100644 
    1618--- a/arch/mips/include/asm/bootinfo.h 
    1719+++ b/arch/mips/include/asm/bootinfo.h 
     
    2426 extern void prom_init(void); 
    2527 extern void prom_free_prom_memory(void); 
     28diff --git a/arch/mips/kernel/setup.c b/arch/mips/kernel/setup.c 
     29index 8c41187..3937630 100644 
    2630--- a/arch/mips/kernel/setup.c 
    2731+++ b/arch/mips/kernel/setup.c 
     
    3438 #include <asm/addrspace.h> 
    3539 #include <asm/bootinfo.h> 
    36 @@ -122,6 +123,25 @@ void __init add_memory_region(phys_t sta 
     40@@ -122,6 +123,25 @@ void __init add_memory_region(phys_t start, phys_t size, long type) 
    3741        boot_mem_map.nr_map++; 
    3842 } 
     
    6064 { 
    6165        int i; 
     66--  
     671.7.10.4 
     68 
  • trunk/target/linux/ramips/patches-3.8/0038-MIPS-ralink-add-memory-definition-to-struct-ralink_s.patch

    r37015 r37016  
    1 From 5155790ed1f270379ea98325f01e1c72a36a37d0 Mon Sep 17 00:00:00 2001 
     1From cfad83f59816f2be69a22955a398906d749ab108 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Sat, 13 Apr 2013 15:10:14 +0200 
    4 Subject: [PATCH 122/137] MIPS: ralink: add memory definition to struct 
     4Subject: [PATCH 38/79] MIPS: ralink: add memory definition to struct 
    55 ralink_soc_info 
    66 
     
    1414 1 file changed, 5 insertions(+) 
    1515 
     16diff --git a/arch/mips/ralink/common.h b/arch/mips/ralink/common.h 
     17index 299119b..83144c3 100644 
    1618--- a/arch/mips/ralink/common.h 
    1719+++ b/arch/mips/ralink/common.h 
    18 @@ -33,6 +33,11 @@ extern struct ralink_pinmux rt_gpio_pinm 
     20@@ -33,6 +33,11 @@ extern struct ralink_pinmux rt_gpio_pinmux; 
    1921 struct ralink_soc_info { 
    2022        unsigned char sys_type[RAMIPS_SYS_TYPE_LEN]; 
     
    2830 extern struct ralink_soc_info soc_info; 
    2931  
     32--  
     331.7.10.4 
     34 
  • trunk/target/linux/ramips/patches-3.8/0039-MIPS-ralink-add-memory-definition-for-RT305x.patch

    r37015 r37016  
    1 From 016f1f659cf70cc78e72e12a2130d8f3e1a6e0d3 Mon Sep 17 00:00:00 2001 
     1From 7d0aa01494353532bbdc644469ef2a06ee089f3e Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Sat, 13 Apr 2013 15:13:40 +0200 
    4 Subject: [PATCH 123/137] MIPS: ralink: add memory definition for RT305x 
     4Subject: [PATCH 39/79] MIPS: ralink: add memory definition for RT305x 
    55 
    66Populate struct soc_info with the data that describes our RAM window. 
     
    1616 2 files changed, 51 insertions(+) 
    1717 
     18diff --git a/arch/mips/include/asm/mach-ralink/rt305x.h b/arch/mips/include/asm/mach-ralink/rt305x.h 
     19index 80cda8a..069bf37 100644 
    1820--- a/arch/mips/include/asm/mach-ralink/rt305x.h 
    1921+++ b/arch/mips/include/asm/mach-ralink/rt305x.h 
     
    2931+ 
    3032 #endif 
     33diff --git a/arch/mips/ralink/rt305x.c b/arch/mips/ralink/rt305x.c 
     34index 6aa3cb1..ca7ee3a 100644 
    3135--- a/arch/mips/ralink/rt305x.c 
    3236+++ b/arch/mips/ralink/rt305x.c 
     
    6670+       } 
    6771+ 
    68 +       return ret * 1024 * 1024; 
     72+       return ret; 
    6973+} 
    7074+ 
     
    7276 { 
    7377        unsigned long cpu_rate, sys_rate, wdt_rate, uart_rate; 
    74 @@ -252,4 +286,15 @@ void prom_soc_init(struct ralink_soc_inf 
     78@@ -252,4 +286,15 @@ void prom_soc_init(struct ralink_soc_info *soc_info) 
    7579                name, 
    7680                (id >> CHIP_ID_ID_SHIFT) & CHIP_ID_ID_MASK, 
     
    8892+       } 
    8993 } 
     94--  
     951.7.10.4 
     96 
  • trunk/target/linux/ramips/patches-3.8/0040-MIPS-ralink-add-memory-definition-for-RT2880.patch

    r37015 r37016  
    1 From 0151f5f0dbf43b6b3718b0d1d403c87429ac0313 Mon Sep 17 00:00:00 2001 
     1From 1ca89d8a262f27f4ecd45d40b6774c415842421a Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Sat, 13 Apr 2013 15:37:37 +0200 
    4 Subject: [PATCH 124/137] MIPS: ralink: add memory definition for RT2880 
     4Subject: [PATCH 40/79] MIPS: ralink: add memory definition for RT2880 
    55 
    66Populate struct soc_info with the data that describes our RAM window. 
     
    1313 2 files changed, 8 insertions(+) 
    1414 
     15diff --git a/arch/mips/include/asm/mach-ralink/rt288x.h b/arch/mips/include/asm/mach-ralink/rt288x.h 
     16index ad8b42d..03ad716 100644 
    1517--- a/arch/mips/include/asm/mach-ralink/rt288x.h 
    1618+++ b/arch/mips/include/asm/mach-ralink/rt288x.h 
     
    2426+ 
    2527 #endif 
     28diff --git a/arch/mips/ralink/rt288x.c b/arch/mips/ralink/rt288x.c 
     29index 1e0788e..f87de1a 100644 
    2630--- a/arch/mips/ralink/rt288x.c 
    2731+++ b/arch/mips/ralink/rt288x.c 
    28 @@ -136,4 +136,8 @@ void prom_soc_init(struct ralink_soc_inf 
     32@@ -136,4 +136,8 @@ void prom_soc_init(struct ralink_soc_info *soc_info) 
    2933                name, 
    3034                (id >> CHIP_ID_ID_SHIFT) & CHIP_ID_ID_MASK, 
     
    3539+       soc_info->mem_size_max = RT2880_MEM_SIZE_MAX; 
    3640 } 
     41--  
     421.7.10.4 
     43 
  • trunk/target/linux/ramips/patches-3.8/0041-MIPS-ralink-add-memory-definition-for-RT3883.patch

    r37015 r37016  
    1 From de85c6c3e2d5ed9c721a282d91af504a845e1fad Mon Sep 17 00:00:00 2001 
     1From 42a816a8312734e6b438e799378044365e229a07 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Sat, 13 Apr 2013 20:23:19 +0200 
    4 Subject: [PATCH 125/137] MIPS: ralink: add memory definition for RT3883 
     4Subject: [PATCH 41/79] MIPS: ralink: add memory definition for RT3883 
    55 
    66Populate struct soc_info with the data that describes our RAM window. 
     
    99Patchwork: http://patchwork.linux-mips.org/patch/5182/ 
    1010--- 
    11  arch/mips/include/asm/mach-ralink/rt3883.h |    4 ++++ 
     11 arch/mips/include/asm/mach-ralink/rt3883.h |    5 +++++ 
    1212 arch/mips/ralink/rt3883.c                  |    4 ++++ 
    13  2 files changed, 8 insertions(+) 
     13 2 files changed, 9 insertions(+) 
    1414 
     15diff --git a/arch/mips/include/asm/mach-ralink/rt3883.h b/arch/mips/include/asm/mach-ralink/rt3883.h 
     16index b91c6c1..058382f 100644 
    1517--- a/arch/mips/include/asm/mach-ralink/rt3883.h 
    1618+++ b/arch/mips/include/asm/mach-ralink/rt3883.h 
    17 @@ -245,4 +245,8 @@ 
     19@@ -152,6 +152,7 @@ 
     20 #define RT3883_GPIO_SPI_MISO           6 
     21 #define RT3883_GPIO_7                  7 
     22 #define RT3883_GPIO_10                 10 
     23+#define RT3883_GPIO_11                 11 
     24 #define RT3883_GPIO_14                 14 
     25 #define RT3883_GPIO_UART1_TXD          15 
     26 #define RT3883_GPIO_UART1_RXD          16 
     27@@ -244,4 +245,8 @@ 
    1828 #define RT3883_FLASH_CFG_WIDTH_16BIT   0x1 
    1929 #define RT3883_FLASH_CFG_WIDTH_32BIT   0x2 
     
    2434+ 
    2535 #endif /* _RT3883_REGS_H_ */ 
     36diff --git a/arch/mips/ralink/rt3883.c b/arch/mips/ralink/rt3883.c 
     37index 2d90aa9..afbf2ce 100644 
    2638--- a/arch/mips/ralink/rt3883.c 
    2739+++ b/arch/mips/ralink/rt3883.c 
    28 @@ -239,4 +239,8 @@ void prom_soc_init(struct ralink_soc_inf 
     40@@ -239,4 +239,8 @@ void prom_soc_init(struct ralink_soc_info *soc_info) 
    2941                name, 
    3042                (id >> RT3883_REVID_VER_ID_SHIFT) & RT3883_REVID_VER_ID_MASK, 
     
    3547+       soc_info->mem_size_max = RT3883_MEM_SIZE_MAX; 
    3648 } 
     49--  
     501.7.10.4 
     51 
  • trunk/target/linux/ramips/patches-3.8/0042-MIPS-ralink-add-memory-definition-for-MT7620.patch

    r37015 r37016  
    1 From c1d35c42d697e9c28c817921a79c5f814529a4c6 Mon Sep 17 00:00:00 2001 
     1From e7dfbb1eafed754442099a33492a9e90fa33d3fa Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Sun, 14 Apr 2013 09:55:29 +0200 
    4 Subject: [PATCH 126/137] MIPS: ralink: add memory definition for MT7620 
     4Subject: [PATCH 42/79] MIPS: ralink: add memory definition for MT7620 
    55 
    66Populate struct soc_info with the data that describes our RAM window. 
     
    1313 2 files changed, 28 insertions(+) 
    1414 
     15diff --git a/arch/mips/include/asm/mach-ralink/mt7620.h b/arch/mips/include/asm/mach-ralink/mt7620.h 
     16index b272649..9809972 100644 
    1517--- a/arch/mips/include/asm/mach-ralink/mt7620.h 
    1618+++ b/arch/mips/include/asm/mach-ralink/mt7620.h 
     
    3032 #define MT7620_GPIO_MODE_UART0_SHIFT   2 
    3133 #define MT7620_GPIO_MODE_UART0_MASK    0x7 
     34diff --git a/arch/mips/ralink/mt7620.c b/arch/mips/ralink/mt7620.c 
     35index eb00ab8..98ddb93 100644 
    3236--- a/arch/mips/ralink/mt7620.c 
    3337+++ b/arch/mips/ralink/mt7620.c 
    34 @@ -211,4 +211,24 @@ void prom_soc_init(struct ralink_soc_inf 
     38@@ -211,4 +211,24 @@ void prom_soc_init(struct ralink_soc_info *soc_info) 
    3539  
    3640        cfg0 = __raw_readl(sysc + SYSC_REG_SYSTEM_CONFIG0); 
     
    5761+       soc_info->mem_base = MT7620_DRAM_BASE; 
    5862 } 
     63--  
     641.7.10.4 
     65 
  • trunk/target/linux/ramips/patches-3.8/0043-MIPS-ralink-make-use-of-the-new-memory-detection-cod.patch

    r37015 r37016  
    1 From 1618a00f709817cbcdebf038d0b5e251c8d67237 Mon Sep 17 00:00:00 2001 
     1From 6142d0fa1c7ba6050664a27d7cca87043217b01f Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Sat, 13 Apr 2013 15:15:51 +0200 
    4 Subject: [PATCH 127/137] MIPS: ralink: make use of the new memory detection 
     4Subject: [PATCH 43/79] MIPS: ralink: make use of the new memory detection 
    55 code 
    66 
     
    1414 1 file changed, 9 insertions(+) 
    1515 
     16diff --git a/arch/mips/ralink/of.c b/arch/mips/ralink/of.c 
     17index 4165e70..fb15695 100644 
    1618--- a/arch/mips/ralink/of.c 
    1719+++ b/arch/mips/ralink/of.c 
     
    3941  
    4042 static int __init plat_of_setup(void) 
     43--  
     441.7.10.4 
     45 
  • trunk/target/linux/ramips/patches-3.8/0045-MIPS-ralink-add-pinmux-driver.patch

    r37015 r37016  
    1 From 5a2079532dfaf5762f658370ee7a0afb686f066e Mon Sep 17 00:00:00 2001 
     1From c7107291df4035794c67d7a904fe7419fedc5922 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Mon, 22 Apr 2013 23:11:42 +0200 
    4 Subject: [PATCH 128/137] MIPS: ralink: add pinmux driver 
     4Subject: [PATCH 45/79] MIPS: ralink: add pinmux driver 
    55 
    66Add code to setup the pinmux on ralonk SoC. The SoC has a single 32 bit register 
     
    1313 arch/mips/ralink/common.h |    2 ++ 
    1414 arch/mips/ralink/of.c     |    2 ++ 
    15  arch/mips/ralink/pinmux.c |   76 +++++++++++++++++++++++++++++++++++++++++++++ 
    16  4 files changed, 81 insertions(+), 1 deletion(-) 
     15 arch/mips/ralink/pinmux.c |   77 +++++++++++++++++++++++++++++++++++++++++++++ 
     16 4 files changed, 82 insertions(+), 1 deletion(-) 
    1717 create mode 100644 arch/mips/ralink/pinmux.c 
    1818 
     19diff --git a/arch/mips/ralink/Makefile b/arch/mips/ralink/Makefile 
     20index 38cf1a8..341b4de 100644 
    1921--- a/arch/mips/ralink/Makefile 
    2022+++ b/arch/mips/ralink/Makefile 
     
    2830 obj-$(CONFIG_SOC_RT288X) += rt288x.o 
    2931 obj-$(CONFIG_SOC_RT305X) += rt305x.o 
     32diff --git a/arch/mips/ralink/common.h b/arch/mips/ralink/common.h 
     33index 83144c3..f113fd6 100644 
    3034--- a/arch/mips/ralink/common.h 
    3135+++ b/arch/mips/ralink/common.h 
    32 @@ -50,4 +50,6 @@ extern void prom_soc_init(struct ralink_ 
     36@@ -50,4 +50,6 @@ extern void prom_soc_init(struct ralink_soc_info *soc_info); 
    3337  
    3438 __iomem void *plat_of_remap_node(const char *node); 
     
    3741+ 
    3842 #endif /* _RALINK_COMMON_H__ */ 
     43diff --git a/arch/mips/ralink/of.c b/arch/mips/ralink/of.c 
     44index fb15695..f916774 100644 
    3945--- a/arch/mips/ralink/of.c 
    4046+++ b/arch/mips/ralink/of.c 
     
    4854 } 
    4955  
     56diff --git a/arch/mips/ralink/pinmux.c b/arch/mips/ralink/pinmux.c 
     57new file mode 100644 
     58index 0000000..1720216 
    5059--- /dev/null 
    5160+++ b/arch/mips/ralink/pinmux.c 
     
    128137+       rt_sysc_w32(mode, SYSC_REG_GPIO_MODE); 
    129138+} 
     139--  
     1401.7.10.4 
     141 
  • trunk/target/linux/ramips/patches-3.8/0046-MIPS-ralink-add-support-for-periodic-timer-irq.patch

    r37015 r37016  
    1 From 1f307fd0fdca585d5c7c32963e8a8a6f38d8a78c Mon Sep 17 00:00:00 2001 
     1From f14edca84cd854dac7dd429b1fbeb80ac76fca16 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Sat, 23 Mar 2013 19:44:41 +0100 
    4 Subject: [PATCH 129/137] MIPS: ralink: add support for periodic timer irq 
     4Subject: [PATCH 46/79] MIPS: ralink: add support for periodic timer irq 
    55 
    66Adds a driver for the periodic timer found on Ralink SoC. 
     
    1313 create mode 100644 arch/mips/ralink/timer.c 
    1414 
     15diff --git a/arch/mips/ralink/Makefile b/arch/mips/ralink/Makefile 
     16index 341b4de..cae7d88 100644 
    1517--- a/arch/mips/ralink/Makefile 
    1618+++ b/arch/mips/ralink/Makefile 
     
    2426 obj-$(CONFIG_SOC_RT288X) += rt288x.o 
    2527 obj-$(CONFIG_SOC_RT305X) += rt305x.o 
     28diff --git a/arch/mips/ralink/timer.c b/arch/mips/ralink/timer.c 
     29new file mode 100644 
     30index 0000000..0a6856c 
    2631--- /dev/null 
    2732+++ b/arch/mips/ralink/timer.c 
     
    219224+MODULE_AUTHOR("John Crispin <blogic@openwrt.org"); 
    220225+MODULE_LICENSE("GPL"); 
     226--  
     2271.7.10.4 
     228 
  • trunk/target/linux/ramips/patches-3.8/0057-GPIO-MIPS-ralink-adds-ralink-gpio-support.patch

    r37015 r37016  
    1 From 007ab7fe49bfcaa220372260eedeb4eed51f1631 Mon Sep 17 00:00:00 2001 
     1From de5e1cd11d62d2e1a00210b757dad35e1372963b Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Tue, 22 Jan 2013 18:24:34 +0100 
    4 Subject: [PATCH 130/137] GPIO: MIPS: ralink: adds ralink gpio support 
     4Subject: [PATCH 57/79] GPIO: MIPS: ralink: adds ralink gpio support 
    55 
    66Add gpio driver for Ralink SoC. This driver makes the gpio core on 
     
    1010--- 
    1111 arch/mips/Kconfig                        |    1 + 
    12  arch/mips/include/asm/mach-ralink/gpio.h |   24 ++++ 
     12 arch/mips/include/asm/mach-ralink/gpio.h |   24 +++ 
    1313 drivers/gpio/Kconfig                     |    6 + 
    1414 drivers/gpio/Makefile                    |    1 + 
    15  drivers/gpio/gpio-ralink.c               |  176 ++++++++++++++++++++++++++++++ 
    16  5 files changed, 208 insertions(+) 
     15 drivers/gpio/gpio-ralink.c               |  326 ++++++++++++++++++++++++++++++ 
     16 5 files changed, 358 insertions(+) 
    1717 create mode 100644 arch/mips/include/asm/mach-ralink/gpio.h 
    1818 create mode 100644 drivers/gpio/gpio-ralink.c 
    1919 
     20diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig 
     21index b5fd476..2498972 100644 
    2022--- a/arch/mips/Kconfig 
    2123+++ b/arch/mips/Kconfig 
     
    2830 config SGI_IP22 
    2931        bool "SGI IP22 (Indy/Indigo2)" 
     32diff --git a/arch/mips/include/asm/mach-ralink/gpio.h b/arch/mips/include/asm/mach-ralink/gpio.h 
     33new file mode 100644 
     34index 0000000..f68ee16 
    3035--- /dev/null 
    3136+++ b/arch/mips/include/asm/mach-ralink/gpio.h 
     
    5560+ 
    5661+#endif /* __ASM_MACH_RALINK_GPIO_H */ 
     62diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig 
     63index 682de75..2e6e81c 100644 
    5764--- a/drivers/gpio/Kconfig 
    5865+++ b/drivers/gpio/Kconfig 
     
    7077        bool "ST SPEAr13xx SPI Chip Select as GPIO support" 
    7178        depends on PLAT_SPEAR 
     79diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile 
     80index c5aebd0..a00adfc 100644 
    7281--- a/drivers/gpio/Makefile 
    7382+++ b/drivers/gpio/Makefile 
    74 @@ -54,6 +54,7 @@ obj-$(CONFIG_GPIO_PCF857X)    += gpio-pcf85 
     83@@ -54,6 +54,7 @@ obj-$(CONFIG_GPIO_PCF857X)    += gpio-pcf857x.o 
    7584 obj-$(CONFIG_GPIO_PCH)         += gpio-pch.o 
    7685 obj-$(CONFIG_GPIO_PL061)       += gpio-pl061.o 
     
    8089 obj-$(CONFIG_GPIO_RDC321X)     += gpio-rdc321x.o 
    8190 obj-$(CONFIG_PLAT_SAMSUNG)     += gpio-samsung.o 
     91diff --git a/drivers/gpio/gpio-ralink.c b/drivers/gpio/gpio-ralink.c 
     92new file mode 100644 
     93index 0000000..12984f1 
    8294--- /dev/null 
    8395+++ b/drivers/gpio/gpio-ralink.c 
    84 @@ -0,0 +1,182 @@ 
     96@@ -0,0 +1,326 @@ 
    8597+/* 
    8698+ * This program is free software; you can redistribute it and/or modify it 
     
    97109+#include <linux/spinlock.h> 
    98110+#include <linux/platform_device.h> 
     111+#include <linux/of_irq.h> 
     112+#include <linux/irqdomain.h> 
     113+#include <linux/interrupt.h> 
    99114+ 
    100115+enum ralink_gpio_reg { 
     
    118133+       spinlock_t lock; 
    119134+       void __iomem *membase; 
    120 +}; 
     135+       struct irq_domain *domain; 
     136+       int irq; 
     137+ 
     138+       u32 rising; 
     139+       u32 falling; 
     140+}; 
     141+ 
     142+#define MAP_MAX        4 
     143+static struct irq_domain *irq_map[MAP_MAX]; 
     144+static int irq_map_count; 
     145+static atomic_t irq_refcount = ATOMIC_INIT(0); 
    121146+ 
    122147+static inline struct ralink_gpio_chip *to_ralink_gpio(struct gpio_chip *chip) 
     
    125150+ 
    126151+       rg = container_of(chip, struct ralink_gpio_chip, chip); 
     152+ 
    127153+       return rg; 
    128154+} 
     
    184210+} 
    185211+ 
     212+static int ralink_gpio_to_irq(struct gpio_chip *chip, unsigned pin) 
     213+{ 
     214+       struct ralink_gpio_chip *rg = to_ralink_gpio(chip); 
     215+ 
     216+       if (rg->irq < 1) 
     217+               return -1; 
     218+ 
     219+       ralink_gpio_direction_input(chip, pin); 
     220+ 
     221+       return irq_create_mapping(rg->domain, pin); 
     222+} 
     223+ 
     224+static void ralink_gpio_irq_handler(unsigned int irq, struct irq_desc *desc) 
     225+{ 
     226+       int i; 
     227+ 
     228+       for (i = 0; i < irq_map_count; i++) { 
     229+               struct irq_domain *domain = irq_map[i]; 
     230+               struct ralink_gpio_chip *rg = (struct ralink_gpio_chip *) domain->host_data; 
     231+               unsigned long pending = rt_gpio_r32(rg, GPIO_REG_INT); 
     232+               int bit; 
     233+ 
     234+               for_each_set_bit(bit, &pending, rg->chip.ngpio) { 
     235+                       u32 map = irq_find_mapping(domain, bit); 
     236+                       generic_handle_irq(map); 
     237+                       rt_gpio_w32(rg, GPIO_REG_INT, BIT(bit)); 
     238+               } 
     239+       } 
     240+} 
     241+ 
     242+static void ralink_gpio_irq_unmask(struct irq_data *d) 
     243+{ 
     244+       struct ralink_gpio_chip *rg = (struct ralink_gpio_chip *) d->domain->host_data; 
     245+       u32 val = rt_gpio_r32(rg, GPIO_REG_RENA); 
     246+       unsigned long flags; 
     247+ 
     248+       spin_lock_irqsave(&rg->lock, flags); 
     249+       rt_gpio_w32(rg, GPIO_REG_RENA, val | (BIT(d->hwirq) & rg->rising)); 
     250+       rt_gpio_w32(rg, GPIO_REG_FENA, val | (BIT(d->hwirq) & rg->falling)); 
     251+       spin_unlock_irqrestore(&rg->lock, flags); 
     252+} 
     253+ 
     254+static void ralink_gpio_irq_mask(struct irq_data *d) 
     255+{ 
     256+       struct ralink_gpio_chip *rg = (struct ralink_gpio_chip *) d->domain->host_data; 
     257+       u32 val = rt_gpio_r32(rg, GPIO_REG_RENA); 
     258+       unsigned long flags; 
     259+ 
     260+       spin_lock_irqsave(&rg->lock, flags); 
     261+       rt_gpio_w32(rg, GPIO_REG_FENA, val & ~BIT(d->hwirq)); 
     262+       rt_gpio_w32(rg, GPIO_REG_RENA, val & ~BIT(d->hwirq)); 
     263+       spin_unlock_irqrestore(&rg->lock, flags); 
     264+} 
     265+ 
     266+static int ralink_gpio_irq_type(struct irq_data *d, unsigned int type) 
     267+{ 
     268+       struct ralink_gpio_chip *rg = (struct ralink_gpio_chip *) d->domain->host_data; 
     269+       u32 mask = BIT(d->hwirq); 
     270+ 
     271+       if (type == IRQ_TYPE_PROBE) { 
     272+               if ((rg->rising | rg->falling) & mask) 
     273+                       return 0; 
     274+ 
     275+               type = IRQ_TYPE_EDGE_RISING | IRQ_TYPE_EDGE_RISING; 
     276+       } 
     277+ 
     278+       if (type & IRQ_TYPE_EDGE_RISING) 
     279+               rg->rising |= mask; 
     280+       else 
     281+               rg->rising &= mask; 
     282+ 
     283+       if (type & IRQ_TYPE_EDGE_RISING) 
     284+               rg->falling |= mask; 
     285+       else 
     286+               rg->falling &= mask; 
     287+ 
     288+       return 0; 
     289+} 
     290+ 
     291+static struct irq_chip ralink_gpio_irq_chip = { 
     292+       .name           = "GPIO", 
     293+       .irq_unmask     = ralink_gpio_irq_unmask, 
     294+       .irq_mask       = ralink_gpio_irq_mask, 
     295+       .irq_mask_ack   = ralink_gpio_irq_mask, 
     296+       .irq_set_type   = ralink_gpio_irq_type, 
     297+}; 
     298+ 
     299+static int gpio_map(struct irq_domain *d, unsigned int irq, irq_hw_number_t hw) 
     300+{ 
     301+       irq_set_chip_and_handler(irq, &ralink_gpio_irq_chip, handle_level_irq); 
     302+       irq_set_handler_data(irq, d); 
     303+ 
     304+       return 0; 
     305+} 
     306+ 
     307+static const struct irq_domain_ops irq_domain_ops = { 
     308+       .xlate = irq_domain_xlate_onecell, 
     309+       .map = gpio_map, 
     310+}; 
     311+ 
     312+static void ralink_gpio_irq_init(struct device_node *np, struct ralink_gpio_chip *rg) 
     313+{ 
     314+       if (irq_map_count >= MAP_MAX) 
     315+               return; 
     316+ 
     317+       rg->irq = irq_of_parse_and_map(np, 0); 
     318+       if (!rg->irq) 
     319+               return; 
     320+ 
     321+       rg->domain = irq_domain_add_linear(np, rg->chip.ngpio, &irq_domain_ops, rg); 
     322+       if (!rg->domain) { 
     323+               dev_err(rg->chip.dev, "irq_domain_add_linear failed\n"); 
     324+               return; 
     325+       } 
     326+ 
     327+       irq_map[irq_map_count++] = rg->domain; 
     328+ 
     329+       rt_gpio_w32(rg, GPIO_REG_RENA, 0x0); 
     330+       rt_gpio_w32(rg, GPIO_REG_FENA, 0x0); 
     331+ 
     332+       if (!atomic_read(&irq_refcount)) 
     333+               irq_set_chained_handler(rg->irq, ralink_gpio_irq_handler); 
     334+       atomic_inc(&irq_refcount); 
     335+ 
     336+       dev_info(rg->chip.dev, "registering %d irq handlers\n", rg->chip.ngpio); 
     337+} 
     338+ 
    186339+static int ralink_gpio_probe(struct platform_device *pdev) 
    187340+{ 
    188341+       struct device_node *np = pdev->dev.of_node; 
    189342+       struct resource *res = platform_get_resource(pdev, IORESOURCE_MEM, 0); 
    190 +       struct ralink_gpio_chip *gc; 
    191 +       const __be32 *ngpio; 
    192 +       const __be32 *gpiobase; 
     343+       struct ralink_gpio_chip *rg; 
     344+       const __be32 *ngpio, *gpiobase; 
    193345+ 
    194346+       if (!res) { 
     
    197349+       } 
    198350+ 
    199 +       gc = devm_kzalloc(&pdev->dev, 
    200 +                               sizeof(struct ralink_gpio_chip), GFP_KERNEL); 
    201 +       if (!gc) 
     351+       rg = devm_kzalloc(&pdev->dev, 
     352+                       sizeof(struct ralink_gpio_chip), GFP_KERNEL); 
     353+       if (!rg) 
    202354+               return -ENOMEM; 
    203355+ 
    204 +       gc->membase = devm_request_and_ioremap(&pdev->dev, res); 
    205 +       if (!gc->membase) { 
     356+       rg->membase = devm_request_and_ioremap(&pdev->dev, res); 
     357+       if (!rg->membase) { 
    206358+               dev_err(&pdev->dev, "cannot remap I/O memory region\n"); 
    207359+               return -ENOMEM; 
     
    209361+ 
    210362+       if (of_property_read_u8_array(np, "ralink,register-map", 
    211 +                       gc->regs, GPIO_REG_MAX)) { 
     363+                       rg->regs, GPIO_REG_MAX)) { 
    212364+               dev_err(&pdev->dev, "failed to read register definition\n"); 
    213365+               return -EINVAL; 
     
    222374+       gpiobase = of_get_property(np, "ralink,gpio-base", NULL); 
    223375+       if (gpiobase) 
    224 +               gc->chip.base = be32_to_cpu(*gpiobase); 
     376+               rg->chip.base = be32_to_cpu(*gpiobase); 
    225377+       else 
    226 +               gc->chip.base = -1; 
    227 + 
    228 +       gc->chip.label = dev_name(&pdev->dev); 
    229 +       gc->chip.of_node = np; 
    230 +       gc->chip.ngpio = be32_to_cpu(*ngpio); 
    231 +       gc->chip.direction_input = ralink_gpio_direction_input; 
    232 +       gc->chip.direction_output = ralink_gpio_direction_output; 
    233 +       gc->chip.get = ralink_gpio_get; 
    234 +       gc->chip.set = ralink_gpio_set; 
    235 + 
    236 +       spin_lock_init(&gc->lock); 
     378+               rg->chip.base = -1; 
     379+ 
     380+       spin_lock_init(&rg->lock); 
     381+ 
     382+       rg->chip.dev = &pdev->dev; 
     383+       rg->chip.label = dev_name(&pdev->dev); 
     384+       rg->chip.of_node = np; 
     385+       rg->chip.ngpio = be32_to_cpu(*ngpio); 
     386+       rg->chip.direction_input = ralink_gpio_direction_input; 
     387+       rg->chip.direction_output = ralink_gpio_direction_output; 
     388+       rg->chip.get = ralink_gpio_get; 
     389+       rg->chip.set = ralink_gpio_set; 
     390+       rg->chip.to_irq = ralink_gpio_to_irq; 
    237391+ 
    238392+       /* set polarity to low for all lines */ 
    239 +       rt_gpio_w32(gc, GPIO_REG_POL, 0); 
    240 + 
    241 +       dev_info(&pdev->dev, "registering %d gpios\n", gc->chip.ngpio); 
    242 + 
    243 +       return gpiochip_add(&gc->chip); 
     393+       rt_gpio_w32(rg, GPIO_REG_POL, 0); 
     394+ 
     395+       dev_info(&pdev->dev, "registering %d gpios\n", rg->chip.ngpio); 
     396+ 
     397+       ralink_gpio_irq_init(np, rg); 
     398+ 
     399+       return gpiochip_add(&rg->chip); 
    244400+} 
    245401+ 
     
    265421+ 
    266422+subsys_initcall(ralink_gpio_init); 
     423--  
     4241.7.10.4 
     425 
  • trunk/target/linux/ramips/patches-3.8/0058-SPI-ralink-add-Ralink-SoC-spi-driver.patch

    r37015 r37016  
    1 From 32c1cff4c75925a0bbd305e85ed4adb30140cd42 Mon Sep 17 00:00:00 2001 
     1From cfb23fbd5be0276507a8af15be0738a7834555b5 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Mon, 22 Apr 2013 23:16:18 +0200 
    4 Subject: [PATCH 131/137] SPI: ralink: add Ralink SoC spi driver 
     4Subject: [PATCH 58/79] SPI: ralink: add Ralink SoC spi driver 
    55 
    66Add the driver needed to make SPI work on Ralink SoC. 
     
    1010 drivers/spi/Kconfig      |    6 + 
    1111 drivers/spi/Makefile     |    1 + 
    12  drivers/spi/spi-ralink.c |  472 ++++++++++++++++++++++++++++++++++++++++++++++ 
    13  3 files changed, 479 insertions(+) 
     12 drivers/spi/spi-ralink.c |  475 ++++++++++++++++++++++++++++++++++++++++++++++ 
     13 3 files changed, 482 insertions(+) 
    1414 create mode 100644 drivers/spi/spi-ralink.c 
    1515 
     16diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig 
     17index 2e188e1..76c489a 100644 
    1618--- a/drivers/spi/Kconfig 
    1719+++ b/drivers/spi/Kconfig 
    18 @@ -324,6 +324,12 @@ config SPI_RSPI 
     20@@ -315,6 +315,12 @@ config SPI_RSPI 
    1921        help 
    2022          SPI driver for Renesas RSPI blocks. 
     
    2224+config SPI_RALINK 
    2325+       tristate "Ralink RT288x/RT305x/RT3662 SPI Controller" 
    24 +       depends on (SOC_RT288X || SOC_RT305X || SOC_RT3883) 
     26+       depends on (SOC_RT288X || SOC_RT305X || SOC_RT3883 || SOC_MT7620) 
    2527+       help 
    2628+         This selects a driver for the Ralink RT288x/RT305x SPI Controller. 
     
    2931        tristate "Samsung S3C24XX series SPI" 
    3032        depends on ARCH_S3C24XX && EXPERIMENTAL 
     33diff --git a/drivers/spi/Makefile b/drivers/spi/Makefile 
     34index 64e970b..5b73cf8 100644 
    3135--- a/drivers/spi/Makefile 
    3236+++ b/drivers/spi/Makefile 
    33 @@ -51,6 +51,7 @@ obj-$(CONFIG_SPI_PPC4xx)              += spi-ppc4xx. 
     37@@ -50,6 +50,7 @@ obj-$(CONFIG_SPI_PPC4xx)              += spi-ppc4xx.o 
    3438 obj-$(CONFIG_SPI_PXA2XX)               += spi-pxa2xx.o 
    3539 obj-$(CONFIG_SPI_PXA2XX_PCI)           += spi-pxa2xx-pci.o 
     
    3943 spi-s3c24xx-hw-y                       := spi-s3c24xx.o 
    4044 spi-s3c24xx-hw-$(CONFIG_SPI_S3C24XX_FIQ) += spi-s3c24xx-fiq.o 
     45diff --git a/drivers/spi/spi-ralink.c b/drivers/spi/spi-ralink.c 
     46new file mode 100644 
     47index 0000000..b07cbaa 
    4148--- /dev/null 
    4249+++ b/drivers/spi/spi-ralink.c 
    43 @@ -0,0 +1,472 @@ 
     50@@ -0,0 +1,475 @@ 
    4451+/* 
    4552+ * spi-ralink.c -- Ralink RT288x/RT305x SPI controller driver 
     
    6269+#include <linux/err.h> 
    6370+#include <linux/delay.h> 
     71+#include <linux/io.h> 
     72+#include <linux/reset.h> 
     73+#include <linux/spi/spi.h> 
    6474+#include <linux/platform_device.h> 
    65 +#include <linux/io.h> 
    66 +#include <linux/spi/spi.h> 
    6775+ 
    6876+#define DRIVER_NAME                    "spi-ralink" 
     
    458466+       } 
    459467+ 
     468+       device_reset(&pdev->dev); 
     469+ 
    460470+       ralink_spi_reset(rs); 
    461471+ 
     
    514524+MODULE_AUTHOR("Gabor Juhos <juhosg@openwrt.org>"); 
    515525+MODULE_LICENSE("GPL"); 
     526--  
     5271.7.10.4 
     528 
  • trunk/target/linux/ramips/patches-3.8/0059-serial-of-allow-au1x00-and-rt288x-to-load-from-OF.patch

    r37015 r37016  
    1 From 15bcdbd78abacbe0986a1904d2e2b5dcfe780b5b Mon Sep 17 00:00:00 2001 
     1From 15a3839fa080feec3b4ce6d92b08893bf1eefe56 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Tue, 22 Jan 2013 16:01:07 +0100 
    4 Subject: [PATCH 132/137] serial: of: allow au1x00 and rt288x to load from OF 
     4Subject: [PATCH 59/79] serial: of: allow au1x00 and rt288x to load from OF 
    55 
    66In order to make serial_8250 loadable via OF on Au1x00 and Ralink WiSoC we need 
     
    1212 1 file changed, 4 insertions(+), 1 deletion(-) 
    1313 
     14diff --git a/drivers/tty/serial/of_serial.c b/drivers/tty/serial/of_serial.c 
     15index e7cae1c..026e5d6 100644 
    1416--- a/drivers/tty/serial/of_serial.c 
    1517+++ b/drivers/tty/serial/of_serial.c 
    16 @@ -97,7 +97,10 @@ static int of_platform_serial_setup(stru 
     18@@ -97,7 +97,10 @@ static int of_platform_serial_setup(struct platform_device *ofdev, 
    1719                port->regshift = prop; 
    1820  
     
    2628                switch (prop) { 
    2729                case 1: 
     30--  
     311.7.10.4 
     32 
  • trunk/target/linux/ramips/patches-3.8/0060-serial-ralink-adds-mt7620-serial.patch

    r37015 r37016  
    1 From 6471ee7bbf3f8b70267ba1dc93f067e18803c246 Mon Sep 17 00:00:00 2001 
     1From d76f99c928f0cd6e6cd3d99c916d890ae9a1e073 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Fri, 15 Mar 2013 18:16:01 +0100 
    4 Subject: [PATCH 133/137] serial: ralink: adds mt7620 serial 
     4Subject: [PATCH 60/79] serial: ralink: adds mt7620 serial 
    55 
    66Add the config symbol for Mediatek7620 SoC to SERIAL_8250_RT288X 
     
    1111 1 file changed, 1 insertion(+), 1 deletion(-) 
    1212 
     13diff --git a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig 
     14index 9e4febd..d1ec3a1 100644 
    1315--- a/drivers/tty/serial/8250/Kconfig 
    1416+++ b/drivers/tty/serial/8250/Kconfig 
     
    2224          If you have a Ralink RT288x/RT305x SoC based board and want to use the 
    2325          serial port, say Y to this option. The driver can handle up to 2 serial 
     26--  
     271.7.10.4 
     28 
  • trunk/target/linux/ramips/patches-3.8/0062-PCI-MIPS-adds-rt2880-pci-support.patch

    r37015 r37016  
    1 From 55e9ae6a23cb799b7c1d402e1cfda11a6bd1e86e Mon Sep 17 00:00:00 2001 
     1From ac237657b04e464f28e8fe428d032386ca8b0b31 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Thu, 21 Mar 2013 18:27:29 +0100 
    4 Subject: [PATCH 134/137] PCI: MIPS: adds rt2880 pci support 
     4Subject: [PATCH 62/79] PCI: MIPS: adds rt2880 pci support 
    55 
    66Add support for the pci found on the rt2880 SoC. 
     
    1414 create mode 100644 arch/mips/pci/pci-rt2880.c 
    1515 
     16diff --git a/arch/mips/pci/Makefile b/arch/mips/pci/Makefile 
     17index ce995d3..c7c18ce 100644 
    1618--- a/arch/mips/pci/Makefile 
    1719+++ b/arch/mips/pci/Makefile 
    18 @@ -42,6 +42,7 @@ obj-$(CONFIG_SIBYTE_BCM1x80)  += pci-bcm1 
     20@@ -42,6 +42,7 @@ obj-$(CONFIG_SIBYTE_BCM1x80)  += pci-bcm1480.o pci-bcm1480ht.o 
    1921 obj-$(CONFIG_SNI_RM)           += fixup-sni.o ops-sni.o 
    2022 obj-$(CONFIG_LANTIQ)           += fixup-lantiq.o 
     
    2426 obj-$(CONFIG_TANBAC_TB0226)    += fixup-tb0226.o 
    2527 obj-$(CONFIG_TANBAC_TB0287)    += fixup-tb0287.o 
     28diff --git a/arch/mips/pci/pci-rt2880.c b/arch/mips/pci/pci-rt2880.c 
     29new file mode 100644 
     30index 0000000..e2c4730 
    2631--- /dev/null 
    2732+++ b/arch/mips/pci/pci-rt2880.c 
     
    308313+ 
    309314+arch_initcall(pcibios_init); 
     315diff --git a/arch/mips/ralink/Kconfig b/arch/mips/ralink/Kconfig 
     316index 38540a4..2d39329 100644 
    310317--- a/arch/mips/ralink/Kconfig 
    311318+++ b/arch/mips/ralink/Kconfig 
     
    318325        config SOC_RT305X 
    319326                bool "RT305x" 
     327--  
     3281.7.10.4 
     329 
  • trunk/target/linux/ramips/patches-3.8/0063-PCI-MIPS-adds-rt3883-pci-support.patch

    r37015 r37016  
    1 From 2a5dccdb00d85a6ad6111d7a2b13f9f4fae35838 Mon Sep 17 00:00:00 2001 
     1From 5b942b64c01b57cbde0dff2185728d5a8facea76 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Thu, 21 Mar 2013 17:34:08 +0100 
    4 Subject: [PATCH 135/137] PCI: MIPS: adds rt3883 pci support 
     4Subject: [PATCH 63/79] PCI: MIPS: adds rt3883 pci support 
    55 
    66Add support for the pcie found on the rt3883 SoC. 
     
    1414 create mode 100644 arch/mips/pci/pci-rt3883.c 
    1515 
     16diff --git a/arch/mips/pci/Makefile b/arch/mips/pci/Makefile 
     17index c7c18ce..a238158 100644 
    1618--- a/arch/mips/pci/Makefile 
    1719+++ b/arch/mips/pci/Makefile 
    18 @@ -43,6 +43,7 @@ obj-$(CONFIG_SNI_RM)          += fixup-sni.o ops 
     20@@ -43,6 +43,7 @@ obj-$(CONFIG_SNI_RM)          += fixup-sni.o ops-sni.o 
    1921 obj-$(CONFIG_LANTIQ)           += fixup-lantiq.o 
    2022 obj-$(CONFIG_PCI_LANTIQ)       += pci-lantiq.o ops-lantiq.o 
     
    2426 obj-$(CONFIG_TANBAC_TB0226)    += fixup-tb0226.o 
    2527 obj-$(CONFIG_TANBAC_TB0287)    += fixup-tb0287.o 
     28diff --git a/arch/mips/pci/pci-rt3883.c b/arch/mips/pci/pci-rt3883.c 
     29new file mode 100644 
     30index 0000000..212c90b 
    2631--- /dev/null 
    2732+++ b/arch/mips/pci/pci-rt3883.c 
     
    667672+ 
    668673+postcore_initcall(rt3883_pci_init); 
     674diff --git a/arch/mips/ralink/Kconfig b/arch/mips/ralink/Kconfig 
     675index 2d39329..f2f20ec 100644 
    669676--- a/arch/mips/ralink/Kconfig 
    670677+++ b/arch/mips/ralink/Kconfig 
     
    677684        config SOC_MT7620 
    678685                bool "MT7620" 
     686--  
     6871.7.10.4 
     688 
  • trunk/target/linux/ramips/patches-3.8/0069-NET-add-of_get_mac_address_mtd.patch

    r37015 r37016  
    1 From 1809af0f73208ec67363347ddf5370e1f08222e8 Mon Sep 17 00:00:00 2001 
     1From d30d4c01d2b97eed1fc109819b9c8747343ff4d7 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Sun, 17 Mar 2013 09:29:15 +0100 
    4 Subject: [PATCH 201/208] owrt: OF: NET: add of_get_mac_address_mtd() 
     4Subject: [PATCH 69/79] NET: add of_get_mac_address_mtd() 
    55 
    66Many embedded devices have information such as mac addresses stored inside mtd 
     
    1515 2 files changed, 38 insertions(+) 
    1616 
     17diff --git a/drivers/of/of_net.c b/drivers/of/of_net.c 
     18index ffab033..15f4a71 100644 
    1719--- a/drivers/of/of_net.c 
    1820+++ b/drivers/of/of_net.c 
     
    2527 /** 
    2628  * It maps 'enum phy_interface_t' found in include/linux/phy.h 
    27 @@ -92,3 +93,39 @@ const void *of_get_mac_address(struct de 
     29@@ -92,3 +93,39 @@ const void *of_get_mac_address(struct device_node *np) 
    2830        return NULL; 
    2931 } 
     
    6567+} 
    6668+EXPORT_SYMBOL_GPL(of_get_mac_address_mtd); 
     69diff --git a/include/linux/of_net.h b/include/linux/of_net.h 
     70index f474641..9d3304f 100644 
    6771--- a/include/linux/of_net.h 
    6872+++ b/include/linux/of_net.h 
     
    7579  
    7680 #endif /* __LINUX_OF_NET_H */ 
     81--  
     821.7.10.4 
     83 
  • trunk/target/linux/ramips/patches-3.9/0100-MIPS-move-mips_-set-get-_machine_name-to-a-more-gene.patch

    r37015 r37016  
    1 From dd4bb7e821d112bff981016fd4e7c014ca9425f9 Mon Sep 17 00:00:00 2001 
     1From 67d6534cdc4f90e6998a79ac57d5318412f18486 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Thu, 11 Apr 2013 05:34:59 +0000 
    4 Subject: [PATCH 100/137] MIPS: move mips_{set,get}_machine_name() to a more 
     4Subject: [PATCH 100/164] MIPS: move mips_{set,get}_machine_name() to a more 
    55 generic place 
    66 
     
    1818 5 files changed, 35 insertions(+), 26 deletions(-) 
    1919 
     20diff --git a/arch/mips/include/asm/mips_machine.h b/arch/mips/include/asm/mips_machine.h 
     21index 363bb35..9d00aeb 100644 
    2022--- a/arch/mips/include/asm/mips_machine.h 
    2123+++ b/arch/mips/include/asm/mips_machine.h 
     
    3436  
    3537 #endif /* __ASM_MIPS_MACHINE_H */ 
     38diff --git a/arch/mips/include/asm/prom.h b/arch/mips/include/asm/prom.h 
     39index 8808bf5..1e7e096 100644 
    3640--- a/arch/mips/include/asm/prom.h 
    3741+++ b/arch/mips/include/asm/prom.h 
    38 @@ -48,4 +48,7 @@ extern void __dt_setup_arch(struct boot_ 
     42@@ -48,4 +48,7 @@ extern void __dt_setup_arch(struct boot_param_header *bph); 
    3943 static inline void device_tree_init(void) { } 
    4044 #endif /* CONFIG_OF */ 
     
    4448+ 
    4549 #endif /* __ASM_PROM_H */ 
     50diff --git a/arch/mips/kernel/mips_machine.c b/arch/mips/kernel/mips_machine.c 
     51index 411a058..6dc5866 100644 
    4652--- a/arch/mips/kernel/mips_machine.c 
    4753+++ b/arch/mips/kernel/mips_machine.c 
     
    5460 #define for_each_machine(mach) \ 
    5561        for ((mach) = (struct mips_machine *)&__mips_machines_start; \ 
    56 @@ -21,25 +20,6 @@ static char *mips_machine_name = "Unknow 
     62@@ -21,25 +20,6 @@ static char *mips_machine_name = "Unknown"; 
    5763             (unsigned long)(mach) < (unsigned long)&__mips_machines_end; \ 
    5864             (mach)++) 
     
    8894        if (mips_machine->mach_setup) 
    8995                mips_machine->mach_setup(); 
     96diff --git a/arch/mips/kernel/proc.c b/arch/mips/kernel/proc.c 
     97index 7a54f74..1dd137b 100644 
    9098--- a/arch/mips/kernel/proc.c 
    9199+++ b/arch/mips/kernel/proc.c 
     
    99107 unsigned int vced_count, vcei_count; 
    100108  
     109diff --git a/arch/mips/kernel/prom.c b/arch/mips/kernel/prom.c 
     110index 028f6f8..b68e53b 100644 
    101111--- a/arch/mips/kernel/prom.c 
    102112+++ b/arch/mips/kernel/prom.c 
     
    124134                                          const char *uname, int depth, 
    125135                                          void *data) 
    126 @@ -50,6 +66,18 @@ void __init early_init_dt_setup_initrd_a 
     136@@ -50,6 +66,18 @@ void __init early_init_dt_setup_initrd_arch(unsigned long start, 
    127137 } 
    128138 #endif 
     
    143153 { 
    144154        /* Setup flat device-tree pointer */ 
    145 @@ -65,6 +93,9 @@ void __init early_init_devtree(void *par 
     155@@ -65,6 +93,9 @@ void __init early_init_devtree(void *params) 
    146156        /* Scan memory nodes */ 
    147157        of_scan_flat_dt(early_init_dt_scan_root, NULL); 
     
    153163  
    154164 void __init __dt_setup_arch(struct boot_param_header *bph) 
     165--  
     1661.7.10.4 
     167 
  • trunk/target/linux/ramips/patches-3.9/0101-MIPS-ralink-add-PCI-IRQ-handling.patch

    r37015 r37016  
    1 From 16d9eaf22f30ed0b0deddfe8e11426889ccdb556 Mon Sep 17 00:00:00 2001 
     1From ca19f83f8551e6dd19073f04ad91639e98d6e22e Mon Sep 17 00:00:00 2001 
    22From: Gabor Juhos <juhosg@openwrt.org> 
    33Date: Wed, 10 Apr 2013 09:07:27 +0200 
    4 Subject: [PATCH 101/137] MIPS: ralink: add PCI IRQ handling 
     4Subject: [PATCH 101/164] MIPS: ralink: add PCI IRQ handling 
    55 
    66The Ralink IRQ code was not handling the PCI IRQ yet. Add this functionaility 
     
    1414 1 file changed, 4 insertions(+) 
    1515 
     16diff --git a/arch/mips/ralink/irq.c b/arch/mips/ralink/irq.c 
     17index 6d054c5..d9807d0 100644 
    1618--- a/arch/mips/ralink/irq.c 
    1719+++ b/arch/mips/ralink/irq.c 
     
    3436                do_IRQ(RALINK_CPU_IRQ_INTC); 
    3537  
     38--  
     391.7.10.4 
     40 
  • trunk/target/linux/ramips/patches-3.9/0102-MIPS-ralink-add-RT3352-register-defines.patch

    r37015 r37016  
    1 From e6bcdad6f0811daedc2a448f5d7fb98c116a5241 Mon Sep 17 00:00:00 2001 
     1From 48cf6bc7019d418e18831214731a55ec7320abb3 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Thu, 21 Mar 2013 19:01:49 +0100 
    4 Subject: [PATCH 102/137] MIPS: ralink: add RT3352 register defines 
     4Subject: [PATCH 102/164] MIPS: ralink: add RT3352 register defines 
    55 
    66Add a few missing defines that are needed to make USB and clock detection work 
     
    1414 1 file changed, 13 insertions(+) 
    1515 
     16diff --git a/arch/mips/include/asm/mach-ralink/rt305x.h b/arch/mips/include/asm/mach-ralink/rt305x.h 
     17index 7d344f2..e36c3c5 100644 
    1618--- a/arch/mips/include/asm/mach-ralink/rt305x.h 
    1719+++ b/arch/mips/include/asm/mach-ralink/rt305x.h 
     
    3436+ 
    3537 #endif 
     38--  
     391.7.10.4 
     40 
  • trunk/target/linux/ramips/patches-3.9/0103-MIPS-ralink-fix-RT305x-clock-setup.patch

    r37015 r37016  
    1 From 845f786c561c0991d9b4088a2d77b8fd4831d487 Mon Sep 17 00:00:00 2001 
     1From 93ded6b41dfdf71f2d2b2cf96e26f5784f373f5c Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Fri, 22 Mar 2013 19:25:59 +0100 
    4 Subject: [PATCH 103/137] MIPS: ralink: fix RT305x clock setup 
     4Subject: [PATCH 103/164] MIPS: ralink: fix RT305x clock setup 
    55 
    66Add a few missing clocks. 
     
    1313 1 file changed, 12 insertions(+) 
    1414 
     15diff --git a/arch/mips/ralink/rt305x.c b/arch/mips/ralink/rt305x.c 
     16index 0a4bbdc..5d49a54 100644 
    1517--- a/arch/mips/ralink/rt305x.c 
    1618+++ b/arch/mips/ralink/rt305x.c 
     
    4648  
    4749 void __init ralink_of_remap(void) 
     50--  
     511.7.10.4 
     52 
  • trunk/target/linux/ramips/patches-3.9/0104-MIPS-ralink-add-missing-comment-in-irq-driver.patch

    r37015 r37016  
    1 From 2747613b1bba0d4497ed2c4a77e2011d02029153 Mon Sep 17 00:00:00 2001 
     1From cd202a8165e847e1c7bf8454982149730376f27a Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Sat, 16 Mar 2013 16:28:54 +0100 
    4 Subject: [PATCH 104/137] MIPS: ralink: add missing comment in irq driver 
     4Subject: [PATCH 104/164] MIPS: ralink: add missing comment in irq driver 
    55 
    66Trivial patch that adds a comment that makes the code more readable. 
     
    1313 1 file changed, 1 insertion(+) 
    1414 
     15diff --git a/arch/mips/ralink/irq.c b/arch/mips/ralink/irq.c 
     16index d9807d0..320b1f1 100644 
    1517--- a/arch/mips/ralink/irq.c 
    1618+++ b/arch/mips/ralink/irq.c 
    17 @@ -166,6 +166,7 @@ static int __init intc_of_init(struct de 
     19@@ -166,6 +166,7 @@ static int __init intc_of_init(struct device_node *node, 
    1820        irq_set_chained_handler(irq, ralink_intc_irq_handler); 
    1921        irq_set_handler_data(irq, domain); 
     
    2325  
    2426        return 0; 
     27--  
     281.7.10.4 
     29 
  • trunk/target/linux/ramips/patches-3.9/0105-MIPS-ralink-add-RT5350-sdram-register-defines.patch

    r37015 r37016  
    1 From 31f4b3ca1c9bb4bcbbebbe5db5a33ac82f130d9c Mon Sep 17 00:00:00 2001 
     1From 4c77c43dbef08096dd3798d4e421495b2c048285 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Mon, 25 Mar 2013 11:19:58 +0100 
    4 Subject: [PATCH 105/137] MIPS: ralink: add RT5350 sdram register defines 
     4Subject: [PATCH 105/164] MIPS: ralink: add RT5350 sdram register defines 
    55 
    66Add a few missing defines that are needed to make memory detection work on the 
     
    1414 1 file changed, 8 insertions(+) 
    1515 
     16diff --git a/arch/mips/include/asm/mach-ralink/rt305x.h b/arch/mips/include/asm/mach-ralink/rt305x.h 
     17index e36c3c5..80cda8a 100644 
    1618--- a/arch/mips/include/asm/mach-ralink/rt305x.h 
    1719+++ b/arch/mips/include/asm/mach-ralink/rt305x.h 
     
    3133 #define RT305X_GPIO_I2C_SD             1 
    3234 #define RT305X_GPIO_I2C_SCLK           2 
     35--  
     361.7.10.4 
     37 
  • trunk/target/linux/ramips/patches-3.9/0106-MIPS-ralink-make-early_printk-work-on-RT2880.patch

    r37015 r37016  
    1 From d83e83a544258b68b4411232a31ccce134244a19 Mon Sep 17 00:00:00 2001 
     1From 3d38304ce93752b9f196b22b7abeb8296fff7ba7 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Tue, 9 Apr 2013 18:31:15 +0200 
    4 Subject: [PATCH 106/137] MIPS: ralink: make early_printk work on RT2880 
     4Subject: [PATCH 106/164] MIPS: ralink: make early_printk work on RT2880 
    55 
    66RT2880 has a different location for the early serial port. 
     
    1313 1 file changed, 4 insertions(+) 
    1414 
     15diff --git a/arch/mips/ralink/early_printk.c b/arch/mips/ralink/early_printk.c 
     16index c4ae47e..b46d041 100644 
    1517--- a/arch/mips/ralink/early_printk.c 
    1618+++ b/arch/mips/ralink/early_printk.c 
     
    2729 #define UART_REG_RX             0x00 
    2830 #define UART_REG_TX             0x04 
     31--  
     321.7.10.4 
     33 
  • trunk/target/linux/ramips/patches-3.9/0107-MIPS-ralink-rename-gpio_pinmux-to-rt_gpio_pinmux.patch

    r37015 r37016  
    1 From b4c597bd073d5e4c9cee800ac5a25fb9ff1c0ef7 Mon Sep 17 00:00:00 2001 
     1From 5dad33f0c1dd0b1605df6571e3493799106f36ee Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Fri, 12 Apr 2013 22:12:09 +0200 
    4 Subject: [PATCH 107/137] MIPS: ralink: rename gpio_pinmux to rt_gpio_pinmux 
     4Subject: [PATCH 107/164] MIPS: ralink: rename gpio_pinmux to rt_gpio_pinmux 
    55 
    66Add proper namespacing to the variable. 
     
    1313 2 files changed, 2 insertions(+), 2 deletions(-) 
    1414 
     15diff --git a/arch/mips/ralink/common.h b/arch/mips/ralink/common.h 
     16index 3009903..f4b19c6 100644 
    1517--- a/arch/mips/ralink/common.h 
    1618+++ b/arch/mips/ralink/common.h 
     
    2426 struct ralink_soc_info { 
    2527        unsigned char sys_type[RAMIPS_SYS_TYPE_LEN]; 
     28diff --git a/arch/mips/ralink/rt305x.c b/arch/mips/ralink/rt305x.c 
     29index 5d49a54..f1a6c33 100644 
    2630--- a/arch/mips/ralink/rt305x.c 
    2731+++ b/arch/mips/ralink/rt305x.c 
     
    3539        .uart = uart_mux, 
    3640        .uart_shift = RT305X_GPIO_MODE_UART0_SHIFT, 
     41