Changeset 36435


Ignore:
Timestamp:
2013-04-25T21:03:01+02:00 (3 years ago)
Author:
blogic
Message:

ramips: introduce DTS for ALL5003

Prior to the switch to 3.8, ALL5002 and ALL5003 boards shared mach-all5002.c.
With the change to DTS, this is no longer accurate, as ALL5002 is based on
Rt3352 SoC while ALL5003 is based on Rt5350 SoC, therefore the corresponding
rt5350.dtsi need to be included for ALL5003.

Signed-off-by: Daniel Golle <dgolle@…>
Patchwork: http://patchwork.openwrt.org/patch/3557/
Acked-by: John Crispin <blogic@…>

Location:
trunk/target/linux/ramips
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom

    r36433 r36435  
    6060        all0256n | \ 
    6161        all5002 | \ 
     62        all5003 | \ 
    6263        argus-atp52b | \ 
    6364        bc2 | \ 
  • trunk/target/linux/ramips/base-files/etc/uci-defaults/02_network

    r36433 r36435  
    4242        all0256n | \ 
    4343        all5002 | \ 
     44        all5003 | \ 
    4445        broadway | \ 
    4546        wnce2001) 
  • trunk/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac

    r36433 r36435  
    5454        all0256n |\ 
    5555        all5002 |\ 
     56        all5003 |\ 
    5657        carambola |\ 
    5758        dir-615-h1 |\ 
  • trunk/target/linux/ramips/base-files/lib/ramips.sh

    r36433 r36435  
    4949                name="all0256n" 
    5050                ;; 
    51         *"Allnet ALL5002/ALL5003") 
     51        *"Allnet ALL5002") 
    5252                name="all5002" 
     53                ;; 
     54        *"Allnet ALL5003") 
     55                name="all5003" 
    5356                ;; 
    5457        *"ARC FreeStation5") 
     
    213216        *"UR-326N4G Wireless N router") 
    214217                name="ur-326n4g" 
    215                 ;; 
     218                ;; 
    216219        *"UR-336UN Wireless N router") 
    217220                name="ur-336un" 
     
    229232 
    230233        case "$machine" in 
    231         *"Allnet ALL5002/ALL5003") 
     234        *"Allnet ALL500"[23]*) 
    232235                all500x_board_detect 
    233236                ;; 
  • trunk/target/linux/ramips/base-files/lib/upgrade/platform.sh

    r36433 r36435  
    2323        all0256n | \ 
    2424        all5002 | \ 
     25        all5003 | \ 
    2526        asl26555 | \ 
    2627        bc2 | \ 
  • trunk/target/linux/ramips/dts/ALL5002.dts

    r36290 r36435  
    55/ { 
    66        compatible = "ALL5002", "ralink,rt3352-soc"; 
    7         model = "Allnet ALL5002/ALL5003"; 
     7        model = "Allnet ALL5002"; 
    88 
    99        palmbus@10000000 { 
  • trunk/target/linux/ramips/dts/ALL5003.dts

    r36434 r36435  
    11/dts-v1/; 
    22 
    3 /include/ "rt3352.dtsi" 
     3/include/ "rt5350.dtsi" 
    44 
    55/ { 
    6         compatible = "ALL5002", "ralink,rt3352-soc"; 
    7         model = "Allnet ALL5002/ALL5003"; 
     6        compatible = "ALL5003", "ralink,rt5350-soc"; 
     7        model = "Allnet ALL5003"; 
    88 
    99        palmbus@10000000 { 
  • trunk/target/linux/ramips/image/Makefile

    r36433 r36435  
    266266allnet_all5002_mtd_size=33226752 
    267267Image/Build/Profile/ALL5002=$(call BuildFirmware/CustomFlash/$(1),$(1),all5002,ALL5002,$(allnet_all5002_mtd_size)) 
     268Image/Build/Profile/ALL5003=$(call BuildFirmware/CustomFlash/$(1),$(1),all5003,ALL5003,$(allnet_all5002_mtd_size)) 
    268269 
    269270argus_atp52b_mtd_size=7995392 
     
    437438        $(call Image/Build/Profile/ALL0256N,$(1)) 
    438439        $(call Image/Build/Profile/ALL5002,$(1)) 
     440        $(call Image/Build/Profile/ALL5003,$(1)) 
    439441        $(call Image/Build/Profile/ARGUS_ATP52B,$(1)) 
    440442        $(call Image/Build/Profile/ASL26555,$(1)) 
  • trunk/target/linux/ramips/rt305x/profiles/allnet.mk

    r36175 r36435  
    4141 
    4242$(eval $(call Profile,ALL5002)) 
     43 
     44define Profile/ALL5003 
     45        NAME:=Allnet ALL5003 
     46        PACKAGES:=kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev \ 
     47        kmod-i2c-core kmod-i2c-gpio kmod-hwmon-lm92 kmod-gpio-pcf857x 
     48endef 
     49 
     50define Profile/ALL5003/Description 
     51        Package set for Allnet ALL5003 
     52endef 
     53 
     54$(eval $(call Profile,ALL5003)) 
Note: See TracChangeset for help on using the changeset viewer.