lantiq_board_detect() {
name="$(strings /proc/device-tree/compatible | head -1)"
- model=`grep "^machine" /proc/cpuinfo | sed "s/machine.*: \(.*\)/\1/g" | sed "s/.* - \(.*\)/\1/g"`
+ model="$(cat /proc/device-tree/model)"
[ -z "$name" ] && name="unknown"
[ -z "$model" ] && model="unknown"
[ -e "/tmp/sysinfo/" ] || mkdir -p "/tmp/sysinfo/"
/ {
compatible = "audiocodes,mp-252", "lantiq,xway", "lantiq,danube";
- model = "ACMP252 - AudioCodes MediaPack MP-252";
+ model = "AudioCodes MediaPack MP-252";
chosen {
bootargs = "console=ttyLTQ0,115200";
/ {
compatible = "allnet,all0333cj", "lantiq,xway", "lantiq,ase";
- model = "ALL0333CJ - Allnet ALL0333CJ DSL Modem";
+ model = "Allnet ALL0333CJ DSL Modem";
chosen {
bootargs = "console=ttyLTQ0,115200";
/ {
compatible = "arcadyan,arv4510pw", "lantiq,xway", "lantiq,danube";
- model = "ARV4510PW - Wippies, Elisa";
+ model = "Wippies, Elisa";
chosen {
bootargs = "console=ttyLTQ0,115200";
/ {
compatible = "arcadyan,arv4518pwr01", "lantiq,xway", "lantiq,danube";
- model = "ARV4518PWR01 - SMC7908A-ISP";
+ model = "SMC7908A-ISP";
};
/ {
compatible = "arcadyan,arv4518pwr01a", "lantiq,xway", "lantiq,danube";
- model = "ARV4518PWR01A - SMC7908A-ISP, Airties WAV-221";
+ model = "SMC7908A-ISP, Airties WAV-221";
fpi@10000000 {
pci@E105400 {
/ {
compatible = "arcadyan,arv4519pw", "lantiq,xway", "lantiq,danube";
- model = "ARV4519PW - Vodafone Netfaster IAD 2, Pirelli P.RG A4201G";
+ model = "Vodafone Netfaster IAD 2, Pirelli P.RG A4201G";
chosen {
bootargs = "console=ttyLTQ0,115200";
/ {
compatible = "arcadyan,arv4520pw", "lantiq,xway", "lantiq,danube";
- model = "ARV4520PW - Easybox 800, WAV-281";
+ model = "Easybox 800, WAV-281";
chosen {
bootargs = "console=ttyLTQ0,115200";
/ {
compatible = "arcadyan,arv4525pw", "lantiq,xway", "lantiq,danube";
- model = "ARV4525PW - Speedport W501V Typ A";
+ model = "Speedport W501V Typ A";
chosen {
bootargs = "console=ttyLTQ0,115200";
/ {
compatible = "arcadyan,arv452cqw", "lantiq,xway", "lantiq,danube";
- model = "ARV452CQW - Arcor 801";
+ model = "Arcor 801";
chosen {
bootargs = "console=ttyLTQ0,115200";
/ {
compatible = "arcadyan,arv7506pw11", "lantiq,xway", "lantiq,danube";
- model = "ARV7506PW11 - Alice/O2 IAD 4421";
+ model = "Alice/O2 IAD 4421";
chosen {
bootargs = "console=ttyLTQ0,115200";
/ {
compatible = "arcadyan,arv7510pw22", "lantiq,xway", "lantiq,danube";
- model = "ARV7510PW22 - Astoria Networks";
+ model = "Astoria Networks ARV7510PW22";
chosen {
bootargs = "console=ttyLTQ0,115200";
/ {
compatible = "arcadyan,arv7518pw", "lantiq,xway", "lantiq,danube";
- model = "ARV7518PW - Astoria Networks";
+ model = "Astoria Networks ARV7518PW";
chosen {
bootargs = "console=ttyLTQ0,115200";
/ {
compatible = "arcadyan,arv7519pw", "lantiq,xway", "lantiq,danube";
- model = "ARV7519PW - Astoria Networks";
+ model = "Astoria Networks ARV7519PW";
chosen {
bootargs = "console=ttyLTQ0,115200";
/ {
compatible = "arcadyan,arv7519rw22", "lantiq,xway", "lantiq,vr9";
- model = "ARV7519RW22 - Orange Livebox 2.1";
+ model = "Orange Livebox 2.1";
chosen {
bootargs = "console=ttyLTQ0,115200";
/ {
compatible = "arcadyan,arv7525pw", "lantiq,xway", "lantiq,danube";
- model = "ARV7525PW - Speedport W303V Typ A";
+ model = "Speedport W303V Typ A";
chosen {
bootargs = "console=ttyLTQ0,115200";
/ {
compatible = "arcadyan,arv752dpw", "lantiq,xway", "lantiq,danube";
- model = "ARV752DPW - Arcor 802";
+ model = "Arcor 802";
chosen {
bootargs = "console=ttyLTQ0,115200";
/ {
compatible = "arcadyan,arv752dpw22", "lantiq,xway", "lantiq,danube";
- model = "ARV752DPW22 - Arcor 803";
+ model = "Arcor 803";
chosen {
bootargs = "console=ttyLTQ0,115200";
/ {
compatible = "arcadyan,arv8539pw22", "lantiq,xway", "lantiq,danube";
- model = "ARV8539PW22 - Speedport W 504V Typ A";
+ model = "Speedport W 504V Typ A";
chosen {
bootargs = "console=ttyLTQ0,115200";
/ {
compatible = "alphanetworks,asl56026", "lantiq,xway", "lantiq,vr9";
- model = "ASL56026 - BT OpenReach VDSL Modem";
+ model = "BT OpenReach VDSL Modem";
chosen {
bootargs = "console=ttyLTQ0,115200";
/ {
compatible = "bt,homehub-v2b", "lantiq,xway", "lantiq,danube";
- model = "BTHOMEHUBV2B - BT Home Hub 2B"; /* SoC: Lantiq Danube-S PSB 50712 @ 333MHz V1.3/1.5 */
+ model = "BT Home Hub 2B"; /* SoC: Lantiq Danube-S PSB 50712 @ 333MHz V1.3/1.5 */
chosen {
bootargs = "console=ttyLTQ0,115200";
/ {
compatible = "bt,homehub-v3a", "lantiq,xway", "lantiq,ar9";
- model = "BTHOMEHUBV3A - BT Home Hub 3A"; /* SoC: Lantiq ar9 @ 333MHz */
+ model = "BT Home Hub 3A"; /* SoC: Lantiq ar9 @ 333MHz */
chosen {
bootargs = "console=ttyLTQ0,115200";
/ {
compatible = "bt,homehub-v5a", "lantiq,xway", "lantiq,vr9";
- model = "BTHOMEHUBV5A - BT Home Hub 5A";
+ model = "BT Home Hub 5A";
chosen {
bootargs = "console=ttyLTQ0,115200";
/ {
compatible = "netgear,dgn1000b", "lantiq,xway", "lantiq,ase";
- model = "DGN1000B - Netgear DGN1000B";
+ model = "Netgear DGN1000B";
chosen {
bootargs = "console=ttyLTQ0,115200";
/ {
compatible = "netgear,dgn3500", "lantiq,xway", "lantiq,ar9";
- model = "DGN3500 - Netgear DGN3500";
+ model = "Netgear DGN3500";
};
/ {
compatible = "netgear,dgn3500b", "lantiq,xway", "lantiq,ar9";
- model = "DGN3500B - Netgear DGN3500B";
+ model = "Netgear DGN3500B";
};
/ {
compatible = "netgear,dm200", "lantiq,xway", "lantiq,ar9";
- model = "DM200 - Netgear DM200";
+ model = "Netgear DM200";
chosen {
bootargs = "console=ttyLTQ0,115200";
/ {
compatible = "lantiq,easy50712", "lantiq,xway", "lantiq,danube";
- model = "EASY50712 - Intel EASY50712 Nand";
+ model = "Intel EASY50712 Nand";
chosen {
bootargs = "console=ttyLTQ0,115200";
/ {
compatible = "lantiq,easy80920-nand", "lantiq,easy80920", "lantiq,xway", "lantiq,vr9";
- model = "EASY80920NAND - Intel EASY80920 Nand";
+ model = "Intel EASY80920 Nand";
chosen {
bootargs = "ubi.mtd=ubi ubi.block=0,rootfsA root=/dev/ubiblock0_1";
/ {
compatible = "lantiq,easy80920-nor", "lantiq,easy80920", "lantiq,xway", "lantiq,vr9";
- model = "EASY80920NOR - Intel EASY80920 Nor";
+ model = "Intel EASY80920 Nor";
fpi@10000000 {
localbus@0 {
#include "falcon-sflash-16M.dtsi"
/ {
- model = "EASY88388 - Lantiq Falcon FTTDP8 Reference Board";
+ model = "Lantiq Falcon FTTDP8 Reference Board";
compatible = "lantiq,easy88388", "lantiq,falcon";
aliases {
#include "falcon-sflash-16M.dtsi"
/ {
- model = "EASY88444 - Lantiq Falcon FTTdp G.FAST Reference Board";
+ model = "Lantiq Falcon FTTdp G.FAST Reference Board";
compatible = "lantiq,easy88444", "lantiq,falcon";
aliases {
#include "EASY98000-base.dtsi"
/ {
- model = "EASY98000NAND - Lantiq Falcon (NAND)";
+ model = "Lantiq Falcon (NAND)";
compatible = "lantiq,easy98000-nand", "lantiq,easy98000", "lantiq,falcon";
aliases {
#include "EASY98000-base.dtsi"
/ {
- model = "EASY98000NOR - Lantiq Falcon (NOR)";
+ model = "Lantiq Falcon (NOR)";
compatible = "lantiq,easy98000-nor", "lantiq,easy98000", "lantiq,falcon";
aliases {
#include "falcon-sflash-16M.dtsi"
/ {
- model = "EASY98000SFLASH - Lantiq Falcon (SFLASH)";
+ model = "Lantiq Falcon (SFLASH)";
compatible = "lantiq,easy98000-sflash", "lantiq,easy98000", "lantiq,falcon";
aliases {
#include "falcon-sflash-16M.dtsi"
/ {
- model = "EASY98020 - Lantiq Falcon Reference Board";
+ model = "Lantiq Falcon Reference Board";
compatible = "lantiq,easy98020", "lantiq,falcon";
aliases {
#include "falcon-sflash-16M.dtsi"
/ {
- model = "EASY98020V18 - Lantiq Falcon Reference Board V1.8";
+ model = "Lantiq Falcon Reference Board V1.8";
compatible = "lantiq,easy98020-v18", "lantiq,easy98020", "lantiq,falcon";
aliases {
#include "falcon-sflash-16M.dtsi"
/ {
- model = "EASY98021 - Lantiq Falcon HGU Reference Board";
+ model = "Lantiq Falcon HGU Reference Board";
compatible = "lantiq,easy98021", "lantiq,easy98020", "lantiq,falcon";
aliases {
#include "falcon-sflash-16M.dtsi"
/ {
- model = "EASY98035SYNCE - Lantiq Falcon SFP Stick with SyncE";
+ model = "Lantiq Falcon SFP Stick with SyncE";
compatible = "lantiq,easy98035synce", "lantiq,falcon-sfp", "lantiq,falcon";
aliases {
#include "falcon-sflash-16M.dtsi"
/ {
- model = "EASY98035SYNCE1588 - Lantiq Falcon SFP Stick with SyncE/1588";
+ model = "Lantiq Falcon SFP Stick with SyncE/1588";
compatible = "lantiq,easy98035synce1588", "lantiq,falcon-sfp", "lantiq,falcon";
aliases {
#include "falcon-sflash-16M.dtsi"
/ {
- model = "FALCON-MDU - Lantiq Falcon / Vinax MDU Board";
+ model = "Lantiq Falcon / Vinax MDU Board";
compatible = "lantiq,falcon-mdu", "lantiq,falcon";
aliases {
#include "falcon-sflash-16M.dtsi"
/ {
- model = "FALCON-SFP - Lantiq Falcon SFP Stick";
+ model = "Lantiq Falcon SFP Stick";
compatible = "lantiq,falcon-sfp", "lantiq,falcon";
aliases {
/ {
compatible = "avm,fritz3370", "lantiq,xway", "lantiq,vr9";
- model = "FRITZ3370 - Fritz!Box WLAN 3370";
+ model = "Fritz!Box WLAN 3370";
chosen {
bootargs = "console=ttyLTQ0,115200 ubi.mtd=1,512 root=/dev/mtdblock9";
/ {
compatible = "avm,fritz7320", "lantiq,xway", "lantiq,ar9";
- model = "FRITZ7320 - 1&1 HomeServer";
+ model = "1&1 HomeServer";
chosen {
bootargs = "console=ttyLTQ0,115200";
/ {
compatible = "avm,fritz7360sl", "lantiq,xway", "lantiq,vr9";
- model = "FRITZ7360SL - 1&1 HomeServer";
+ model = "1&1 HomeServer";
chosen {
bootargs = "console=ttyLTQ0,115200";
/ {
compatible = "siemens,gigaset-sx76x", "lantiq,xway", "lantiq,danube";
- model = "GIGASX76X - Gigaset SX761,SX762,SX763";
+ model = "Gigaset SX761,SX762,SX763";
chosen {
bootargs = "console=ttyLTQ0,115200";
/ {
compatible = "zte,h201l", "lantiq,xway", "lantiq,ar9";
- model = "H201L - ZTE H210L";
+ model = "ZTE H210L";
chosen {
bootargs = "console=ttyLTQ0,115200";
/ {
compatible = "zyxel,p-2601hn", "lantiq,xway", "lantiq,danube";
- model = "P2601HNFX - ZyXEL P-2601HN-Fx";
+ model = "ZyXEL P-2601HN-Fx";
chosen {
bootargs = "console=ttyLTQ0,115200";
/ {
compatible = "zyxel,p-2812hnu-f1", "zyxel,p-2812hnu", "lantiq,xway", "lantiq,vr9";
- model = "P2812HNUF1 - ZyXEL P-2812HNU-F1";
+ model = "ZyXEL P-2812HNU-F1";
aliases {
led-usb = &usb1;
/ {
compatible = "zyxel,p-2812hnu-f3", "zyxel,p-2812hnu", "lantiq,xway", "lantiq,vr9";
- model = "P2812HNUF3 - ZyXEL P-2812HNU-F3";
+ model = "ZyXEL P-2812HNU-F3";
fpi@10000000 {
localbus@0 {
/ {
compatible = "tplink,tdw8970", "tplink,tdw89x0", "lantiq,xway", "lantiq,vr9";
- model = "TDW8970 - TP-LINK TD-W8970";
+ model = "TP-LINK TD-W8970";
};
/ {
compatible = "tplink,tdw8980", "tplink,tdw89x0", "lantiq,xway", "lantiq,vr9";
- model = "TDW8980 - TP-LINK TD-W8980";
+ model = "TP-LINK TD-W8980";
fpi@10000000 {
gpio: pinmux@E100B10 {
/ {
compatible = "arcadyan,vg3503j", "lantiq,xway", "lantiq,vr9";
- model = "VG3503J - BT OpenReach VDSL Modem";
+ model = "BT OpenReach VDSL Modem";
chosen {
bootargs = "console=ttyLTQ0,115200";
/ {
compatible = "arcadyan,vgv7510kw22-brn", "arcadyan,vgv7510kw22", "lantiq,xway", "lantiq,vr9";
- model = "VGV7510KW22BRN - o2 Box 6431";
+ model = "o2 Box 6431";
sram@1F000000 {
cgu@103000 {
/ {
compatible = "arcadyan,vgv7510kw22-nor", "arcadyan,vgv7510kw22", "lantiq,xway", "lantiq,vr9";
- model = "VGV7510KW22NOR - o2 Box 6431";
+ model = "o2 Box 6431";
fpi@10000000 {
localbus@0 {
/ {
compatible = "arcadyan,vgv7519-brn", "arcadyan,vgv7519", "lantiq,xway", "lantiq,vr9";
- model = "VGV7519BRN - KPN Experiabox V8";
+ model = "KPN Experiabox V8";
fpi@10000000 {
localbus@0 {
/ {
compatible = "arcadyan,vgv7519-nor", "arcadyan,vgv7519", "lantiq,xway", "lantiq,vr9";
- model = "VGV7519NOR - KPN Experiabox V8";
+ model = "KPN Experiabox V8";
fpi@10000000 {
localbus@0 {
/ {
compatible = "tplink,vr200v", "lantiq,xway", "lantiq,vr9";
- model = "VR200v - TP-LINK Archer VR200v";
+ model = "TP-LINK Archer VR200v";
chosen {
bootargs = "console=ttyLTQ0,115200";
/ {
compatible = "buffalo,wbmr-hp-g300h", "lantiq,xway", "lantiq,ar9";
- model = "WBMR - Buffalo WBMR-HP-G300H";
+ model = "Buffalo WBMR-HP-G300H";
chosen {
bootargs = "console=ttyLTQ0,115200";
/ {
compatible = "buffalo,wbmr-300hpd", "lantiq,xway", "lantiq,vr9";
- model = "WBMR300 - Buffalo WBMR-300HPD";
+ model = "Buffalo WBMR-300HPD";
chosen {
bootargs = "console=ttyLTQ0,115200";