mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-18 17:33:31 +00:00
ramips: update dts from upstream
This commit is contained in:
parent
9950c632b2
commit
506e55bee8
@ -114,6 +114,11 @@ dlink,dwr-116-a1|\
|
||||
mzk-ex300np)
|
||||
set_wifi_led "$boardname:green:wifi"
|
||||
;;
|
||||
dlink,dwr-118-a1)
|
||||
ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x1f"
|
||||
ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x20"
|
||||
set_wifi_led "$boardname:green:wlan2g" "wlan1"
|
||||
;;
|
||||
dlink,dwr-118-a2)
|
||||
ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x0e"
|
||||
ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x01"
|
||||
@ -162,15 +167,11 @@ hc5661a)
|
||||
ucidef_set_led_netdev "internet" "internet" "$boardname:blue:internet" "eth0.2"
|
||||
set_wifi_led "$boardname:blue:wlan2g"
|
||||
;;
|
||||
hc5761)
|
||||
ucidef_set_led_netdev "internet" "internet" "$boardname:blue:internet" "eth0.2"
|
||||
set_wifi_led "$boardname:blue:wlan2g"
|
||||
ucidef_set_led_netdev "wifi5g" "wifi5g" "$boardname:blue:wlan5g" "rai0"
|
||||
;;
|
||||
hc5761|\
|
||||
hc5861)
|
||||
ucidef_set_led_netdev "internet" "internet" "$boardname:blue:internet" "eth0.2"
|
||||
set_wifi_led "$boardname:blue:wlan2g"
|
||||
ucidef_set_led_netdev "wifi5g" "wifi5g" "$boardname:blue:wlan5g" "rai0"
|
||||
ucidef_set_led_netdev "wifi5g" "wifi5g" "$boardname:blue:wlan5g" "wlan0"
|
||||
ucidef_set_led_netdev "wifi2g" "wifi2g" "$boardname:blue:wlan2g" "wlan1"
|
||||
;;
|
||||
hg255d)
|
||||
set_wifi_led "$boardname:green:wlan"
|
||||
@ -236,6 +237,9 @@ mr200)
|
||||
ucidef_set_led_netdev "wan" "wan" "$boardname:white:wan" "usb0"
|
||||
set_wifi_led "$boardname:white:wlan"
|
||||
;;
|
||||
mtc,wr1201)
|
||||
ucidef_set_led_switch "eth_link" "LAN link" "$boardname:green:eth_link" "switch0" "0x0f"
|
||||
;;
|
||||
mzk-ex750np)
|
||||
set_wifi_led "$boardname:red:wifi"
|
||||
;;
|
||||
@ -262,7 +266,8 @@ px-4885-4M|\
|
||||
px-4885-8M)
|
||||
set_wifi_led "px-4885:orange:wifi"
|
||||
;;
|
||||
r6220)
|
||||
r6220|\
|
||||
netgear,r6350)
|
||||
ucidef_set_led_netdev "wan" "wan" "$boardname:green:wan" eth0.2
|
||||
set_wifi_led "$boardname:green:wifi"
|
||||
;;
|
||||
|
@ -102,6 +102,7 @@ ramips_setup_interfaces()
|
||||
miwifi-nano|\
|
||||
mt7621|\
|
||||
mt7628|\
|
||||
mtc,wr1201|\
|
||||
mzk-750dhp|\
|
||||
mzk-w300nh2|\
|
||||
netgear,r6120|\
|
||||
@ -112,6 +113,7 @@ ramips_setup_interfaces()
|
||||
psg1208|\
|
||||
psg1218a|\
|
||||
r6220|\
|
||||
netgear,r6350|\
|
||||
rt-n12p|\
|
||||
sap-g3200u3|\
|
||||
sk-wb8|\
|
||||
@ -161,6 +163,10 @@ ramips_setup_interfaces()
|
||||
wrh-300cr)
|
||||
ucidef_set_interface_lan "eth0"
|
||||
;;
|
||||
dlink,dwr-118-a1)
|
||||
ucidef_add_switch "switch0" \
|
||||
"1:lan:2" "2:lan:3" "3:lan:1" "4:lan:0" "5:wan" "6@eth0"
|
||||
;;
|
||||
dlink,dwr-118-a2)
|
||||
ucidef_add_switch "switch0" \
|
||||
"1:lan:2" "2:lan:1" "3:lan:3" "4:lan" "0:wan" "6@eth0"
|
||||
@ -299,7 +305,8 @@ ramips_setup_interfaces()
|
||||
ucidef_add_switch "switch1" \
|
||||
"1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "6@eth0"
|
||||
;;
|
||||
hc5*61|\
|
||||
hc5661|\
|
||||
hc5861|\
|
||||
y1s)
|
||||
ucidef_add_switch "switch0" \
|
||||
"1:lan" "2:lan" "3:lan" "4:lan" "5:lan" "0:wan" "6@eth0"
|
||||
@ -322,6 +329,10 @@ ramips_setup_interfaces()
|
||||
"0:lan" "1:lan" "2:lan" "3:lan" "6t@eth0"
|
||||
ucidef_set_interface_wan "usb0"
|
||||
;;
|
||||
hc5761)
|
||||
ucidef_add_switch "switch0" \
|
||||
"1:lan" "4:lan" "0:wan" "6@eth0"
|
||||
;;
|
||||
mzk-dp150n|\
|
||||
vocore-8M|\
|
||||
vocore-16M)
|
||||
@ -432,7 +443,6 @@ ramips_setup_macs()
|
||||
wmdr-143n)
|
||||
lan_mac=$(cat /sys/class/net/eth0/address)
|
||||
;;
|
||||
all0239-3g|\
|
||||
carambola|\
|
||||
freestation5|\
|
||||
w502u|\
|
||||
@ -474,6 +484,7 @@ ramips_setup_macs()
|
||||
wan_mac=$(mtd_get_mac_ascii factory wanmac)
|
||||
;;
|
||||
dlink,dwr-116-a1|\
|
||||
dlink,dwr-118-a1|\
|
||||
dlink,dwr-118-a2|\
|
||||
dlink,dwr-921-c1|\
|
||||
lava,lr-25g001)
|
||||
@ -551,7 +562,8 @@ ramips_setup_macs()
|
||||
lan_mac=$(mtd_get_mac_binary factory 40)
|
||||
wan_mac=$(mtd_get_mac_binary factory 46)
|
||||
;;
|
||||
r6220)
|
||||
r6220|\
|
||||
netgear,r6350)
|
||||
wan_mac=$(mtd_get_mac_binary factory 4)
|
||||
lan_mac=$(macaddr_add "$wan_mac" 1)
|
||||
;;
|
||||
|
@ -1,45 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
. /lib/functions/leds.sh
|
||||
|
||||
boot="$(get_dt_led boot)"
|
||||
failsafe="$(get_dt_led failsafe)"
|
||||
running="$(get_dt_led running)"
|
||||
upgrade="$(get_dt_led upgrade)"
|
||||
|
||||
set_state() {
|
||||
status_led="$boot"
|
||||
|
||||
case "$1" in
|
||||
preinit)
|
||||
status_led_blink_preinit
|
||||
;;
|
||||
failsafe)
|
||||
status_led_off
|
||||
[ -n "$running" ] && {
|
||||
status_led="$running"
|
||||
status_led_off
|
||||
}
|
||||
status_led="$failsafe"
|
||||
status_led_blink_failsafe
|
||||
;;
|
||||
preinit_regular)
|
||||
status_led_blink_preinit_regular
|
||||
;;
|
||||
upgrade)
|
||||
[ -n "$running" ] && {
|
||||
status_led="$running"
|
||||
status_led_off
|
||||
}
|
||||
status_led="$upgrade"
|
||||
status_led_blink_preinit_regular
|
||||
;;
|
||||
done)
|
||||
status_led_off
|
||||
[ -n "$running" ] && {
|
||||
status_led="$running"
|
||||
status_led_on
|
||||
}
|
||||
;;
|
||||
esac
|
||||
}
|
@ -55,6 +55,7 @@ case "$FIRMWARE" in
|
||||
"soc_wmac.eeprom")
|
||||
case $board in
|
||||
dlink,dwr-116-a1|\
|
||||
dlink,dwr-118-a1|\
|
||||
dlink,dwr-118-a2|\
|
||||
dlink,dwr-921-c1|\
|
||||
lava,lr-25g001)
|
||||
|
@ -34,9 +34,6 @@ ramips_board_detect() {
|
||||
*"Air3GII")
|
||||
name="air3gii"
|
||||
;;
|
||||
*"ALL0239-3G")
|
||||
name="all0239-3g"
|
||||
;;
|
||||
*"ALL0256N (4M)")
|
||||
name="all0256n-4M"
|
||||
;;
|
||||
@ -586,9 +583,6 @@ ramips_board_detect() {
|
||||
*"WL-330N3G")
|
||||
name="wl-330n3g"
|
||||
;;
|
||||
*"WL-341 v3")
|
||||
name="wl-341v3"
|
||||
;;
|
||||
*"WL-351 v1 002")
|
||||
name="wl-351"
|
||||
;;
|
||||
|
@ -3,337 +3,10 @@
|
||||
#
|
||||
|
||||
PART_NAME=firmware
|
||||
REQUIRE_IMAGE_METADATA=1
|
||||
|
||||
platform_check_image() {
|
||||
local board=$(board_name)
|
||||
local magic="$(get_magic_long "$1")"
|
||||
|
||||
[ "$#" -gt 1 ] && return 1
|
||||
|
||||
case "$board" in
|
||||
3g150b|\
|
||||
3g300m|\
|
||||
a5-v11|\
|
||||
ai-br100|\
|
||||
air3gii|\
|
||||
alfa-network,ac1200rm|\
|
||||
alfa-network,awusfree1|\
|
||||
all0239-3g|\
|
||||
all0256n-4M|\
|
||||
all0256n-8M|\
|
||||
all5002|\
|
||||
all5003|\
|
||||
mediatek,ap-mt7621a-v60|\
|
||||
ar725w|\
|
||||
asl26555-8M|\
|
||||
asl26555-16M|\
|
||||
awapn2403|\
|
||||
awm002-evb-4M|\
|
||||
awm002-evb-8M|\
|
||||
bc2|\
|
||||
bdcom,wap2100-sk|\
|
||||
bocco|\
|
||||
broadway|\
|
||||
c108|\
|
||||
carambola|\
|
||||
cf-wr800n|\
|
||||
cs-qr10|\
|
||||
d105|\
|
||||
d240|\
|
||||
dap-1350|\
|
||||
db-wrt01|\
|
||||
dcs-930|\
|
||||
dcs-930l-b1|\
|
||||
dir-300-b1|\
|
||||
dir-300-b7|\
|
||||
dir-320-b1|\
|
||||
dir-600-b1|\
|
||||
dir-615-d|\
|
||||
dir-615-h1|\
|
||||
dir-620-a1|\
|
||||
dir-620-d1|\
|
||||
dir-810l|\
|
||||
duzun-dm06|\
|
||||
e1700|\
|
||||
elecom,wrc-1167ghbk2-s|\
|
||||
elecom,wrc-2533gst|\
|
||||
elecom,wrc-1900gst|\
|
||||
esr-9753|\
|
||||
ew1200|\
|
||||
ex2700|\
|
||||
ex3700|\
|
||||
f7c027|\
|
||||
firewrt|\
|
||||
fonera20n|\
|
||||
freestation5|\
|
||||
gnubee,gb-pc1|\
|
||||
gnubee,gb-pc2|\
|
||||
gl-mt300a|\
|
||||
gl-mt300n|\
|
||||
gl-mt750|\
|
||||
gl-mt300n-v2|\
|
||||
hc5*61|\
|
||||
hc5661a|\
|
||||
hg255d|\
|
||||
hiwifi,hc5861b|\
|
||||
hlk-rm04|\
|
||||
hpm|\
|
||||
ht-tm02|\
|
||||
hw550-3g|\
|
||||
iodata,wn-ax1167gr|\
|
||||
iodata,wn-gx300gr|\
|
||||
ip2202|\
|
||||
jhr-n805r|\
|
||||
jhr-n825r|\
|
||||
jhr-n926r|\
|
||||
k2p|\
|
||||
kimax,u35wf|\
|
||||
kn|\
|
||||
kn_rc|\
|
||||
kn_rf|\
|
||||
kng_rc|\
|
||||
linkits7688|\
|
||||
m2m|\
|
||||
m3|\
|
||||
m4-4M|\
|
||||
m4-8M|\
|
||||
mac1200rv2|\
|
||||
microwrt|\
|
||||
miniembplug|\
|
||||
miniembwifi|\
|
||||
miwifi-mini|\
|
||||
miwifi-nano|\
|
||||
mlw221|\
|
||||
mlwg2|\
|
||||
mofi3500-3gn|\
|
||||
mpr-a1|\
|
||||
mpr-a2|\
|
||||
mr-102n|\
|
||||
mt7628|\
|
||||
mzk-750dhp|\
|
||||
mzk-dp150n|\
|
||||
mzk-ex300np|\
|
||||
mzk-ex750np|\
|
||||
mzk-w300nh2|\
|
||||
mzk-wdpr|\
|
||||
nbg-419n|\
|
||||
nbg-419n2|\
|
||||
newifi-d1|\
|
||||
d-team,newifi-d2|\
|
||||
nixcore-x1-8M|\
|
||||
nixcore-x1-16M|\
|
||||
nw718|\
|
||||
omega2|\
|
||||
omega2p|\
|
||||
oy-0001|\
|
||||
pbr-d1|\
|
||||
pbr-m1|\
|
||||
phicomm,k2g|\
|
||||
psg1208|\
|
||||
psg1218a|\
|
||||
psg1218b|\
|
||||
psr-680w|\
|
||||
px-4885-4M|\
|
||||
px-4885-8M|\
|
||||
netgear,r6120|\
|
||||
rb750gr3|\
|
||||
re6500|\
|
||||
rp-n53|\
|
||||
rt5350f-olinuxino|\
|
||||
rt5350f-olinuxino-evb|\
|
||||
rt-ac51u|\
|
||||
rt-g32-b1|\
|
||||
rt-n10-plus|\
|
||||
rt-n12p|\
|
||||
rt-n13u|\
|
||||
rt-n14u|\
|
||||
rt-n15|\
|
||||
rt-n56u|\
|
||||
rut5xx|\
|
||||
sap-g3200u3|\
|
||||
sk-wb8|\
|
||||
skylab,skw92a|\
|
||||
sl-r7205|\
|
||||
tama,w06|\
|
||||
tew-638apb-v2|\
|
||||
tew-691gr|\
|
||||
tew-692gr|\
|
||||
tew-714tru|\
|
||||
timecloud|\
|
||||
tiny-ac|\
|
||||
u25awf-h1|\
|
||||
unielec,u7621-06-256m-16m|\
|
||||
unielec,u7621-06-512m-64m|\
|
||||
u7628-01-128M-16M|\
|
||||
ur-326n4g|\
|
||||
ur-336un|\
|
||||
v22rw-2x2|\
|
||||
vonets,var11n-300|\
|
||||
vocore-8M|\
|
||||
vocore-16M|\
|
||||
vocore2|\
|
||||
vocore2lite|\
|
||||
vr500|\
|
||||
w150m|\
|
||||
w2914nsv2|\
|
||||
w306r-v20|\
|
||||
w502u|\
|
||||
ravpower,wd03|\
|
||||
wavlink,wl-wn570ha1|\
|
||||
wf-2881|\
|
||||
whr-1166d|\
|
||||
whr-300hp2|\
|
||||
whr-600d|\
|
||||
whr-g300n|\
|
||||
widora,neo-16m|\
|
||||
widora,neo-32m|\
|
||||
mqmaker,witi-256m|\
|
||||
mqmaker,witi-512m|\
|
||||
we1026-5g-16m|\
|
||||
wizfi630a|\
|
||||
wl-330n|\
|
||||
wl-330n3g|\
|
||||
wl-341v3|\
|
||||
wl-351|\
|
||||
wl-wn575a3|\
|
||||
wli-tx4-ag300n|\
|
||||
wlr-6000|\
|
||||
wmdr-143n|\
|
||||
wmr-300|\
|
||||
wn3000rpv3|\
|
||||
wnce2001|\
|
||||
wndr3700v5|\
|
||||
wr512-3gn-4M|\
|
||||
wr512-3gn-8M|\
|
||||
wr6202|\
|
||||
wrh-300cr|\
|
||||
wrtnode|\
|
||||
wrtnode2r |\
|
||||
wrtnode2p |\
|
||||
wsr-600|\
|
||||
wt1520-4M|\
|
||||
wt1520-8M|\
|
||||
wt3020-4M|\
|
||||
wt3020-8M|\
|
||||
wzr-agl300nh|\
|
||||
x5|\
|
||||
x8|\
|
||||
y1|\
|
||||
y1s|\
|
||||
youhua,wr1200js|\
|
||||
zbt-ape522ii|\
|
||||
zbt-cpe102|\
|
||||
zbt-wa05|\
|
||||
zbtlink,zbt-we1226|\
|
||||
zbt-we1326|\
|
||||
zbt-we2026|\
|
||||
zbtlink,zbt-we3526|\
|
||||
zbt-we826-16M|\
|
||||
zbt-we826-32M|\
|
||||
zbt-wg2626|\
|
||||
zbt-wg3526-16M|\
|
||||
zbt-wg3526-32M|\
|
||||
zbt-wr8305rt|\
|
||||
zorlik,zl5900v2|\
|
||||
zte-q7|\
|
||||
zyxel,keenetic-extra-ii|\
|
||||
youku-yk1)
|
||||
[ "$magic" != "27051956" ] && {
|
||||
echo "Invalid image type."
|
||||
return 1
|
||||
}
|
||||
return 0
|
||||
;;
|
||||
3g-6200n|\
|
||||
3g-6200nl|\
|
||||
br-6475nd|\
|
||||
edimax,br-6478ac-v2)
|
||||
[ "$magic" != "43535953" ] && {
|
||||
echo "Invalid image type."
|
||||
return 1
|
||||
}
|
||||
return 0
|
||||
;;
|
||||
|
||||
ar670w)
|
||||
[ "$magic" != "6d000080" ] && {
|
||||
echo "Invalid image type."
|
||||
return 1
|
||||
}
|
||||
return 0
|
||||
;;
|
||||
c20i|\
|
||||
c50|\
|
||||
mr200|\
|
||||
tplink,c2-v1|\
|
||||
tplink,c20-v1|\
|
||||
tplink,c20-v4|\
|
||||
tplink,c50-v3|\
|
||||
tplink,tl-mr3020-v3|\
|
||||
tplink,tl-mr3420-v5|\
|
||||
tplink,tl-wa801nd-v5|\
|
||||
tplink,tl-wr842n-v5|\
|
||||
tplink,tl-wr902ac-v3|\
|
||||
tl-wr840n-v4|\
|
||||
tl-wr840n-v5|\
|
||||
tl-wr841n-v13)
|
||||
[ "$magic" != "03000000" ] && {
|
||||
echo "Invalid image type."
|
||||
return 1
|
||||
}
|
||||
return 0
|
||||
;;
|
||||
cy-swr1100|\
|
||||
dch-m225|\
|
||||
dir-610-a1|\
|
||||
dir-645|\
|
||||
dir-860l-b1)
|
||||
[ "$magic" != "5ea3a417" ] && {
|
||||
echo "Invalid image type."
|
||||
return 1
|
||||
}
|
||||
return 0
|
||||
;;
|
||||
dlink,dwr-116-a1|\
|
||||
dlink,dwr-118-a2|\
|
||||
dlink,dwr-921-c1|\
|
||||
dwr-512-b|\
|
||||
lava,lr-25g001)
|
||||
[ "$magic" != "0404242b" ] && {
|
||||
echo "Invalid image type."
|
||||
return 1
|
||||
}
|
||||
return 0
|
||||
;;
|
||||
hc5962|\
|
||||
mir3g|\
|
||||
r6220|\
|
||||
ubnt-erx|\
|
||||
ubnt-erx-sfp)
|
||||
nand_do_platform_check "$board" "$1"
|
||||
return $?;
|
||||
;;
|
||||
mikrotik,rbm11g|\
|
||||
mikrotik,rbm33g|\
|
||||
re350-v1)
|
||||
[ "$magic" != "01000000" ] && {
|
||||
echo "Invalid image type."
|
||||
return 1
|
||||
}
|
||||
return 0
|
||||
;;
|
||||
wcr-1166ds|\
|
||||
wsr-1166)
|
||||
[ "$magic" != "48445230" ] && {
|
||||
echo "Invalid image type."
|
||||
return 1
|
||||
}
|
||||
return 0
|
||||
;;
|
||||
esac
|
||||
|
||||
echo "Sysupgrade is not yet supported on $board."
|
||||
return 1
|
||||
return 0
|
||||
}
|
||||
|
||||
platform_pre_upgrade() {
|
||||
@ -365,6 +38,7 @@ platform_do_upgrade() {
|
||||
hc5962|\
|
||||
mir3g|\
|
||||
r6220|\
|
||||
netgear,r6350|\
|
||||
ubnt-erx|\
|
||||
ubnt-erx-sfp)
|
||||
nand_do_upgrade "$ARGV"
|
||||
|
@ -52,6 +52,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x390000>;
|
||||
};
|
||||
|
@ -52,6 +52,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x390000>;
|
||||
};
|
||||
|
@ -87,6 +87,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x3b0000>;
|
||||
};
|
||||
|
@ -102,6 +102,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x3b0000>;
|
||||
};
|
||||
|
@ -91,6 +91,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x3b0000>;
|
||||
};
|
||||
|
@ -170,6 +170,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0xfb0000>;
|
||||
};
|
||||
|
@ -82,6 +82,7 @@
|
||||
};
|
||||
|
||||
partition@40000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x40000 0x7c0000>;
|
||||
};
|
||||
|
@ -73,6 +73,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x3b0000>;
|
||||
};
|
||||
|
@ -1,130 +0,0 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "rt3050.dtsi"
|
||||
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
compatible = "allnet,all0239-3g", "ralink,rt3052-soc";
|
||||
model = "Allnet ALL0239-3G";
|
||||
|
||||
aliases {
|
||||
led-boot = &led_status;
|
||||
led-failsafe = &led_status;
|
||||
led-running = &led_status;
|
||||
led-upgrade = &led_status;
|
||||
};
|
||||
|
||||
|
||||
cfi@1f000000 {
|
||||
compatible = "cfi-flash";
|
||||
reg = <0x1f000000 0x800000>;
|
||||
bank-width = <2>;
|
||||
device-width = <2>;
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
partition@0 {
|
||||
label = "u-boot";
|
||||
reg = <0x0 0x30000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@30000 {
|
||||
label = "u-boot-env";
|
||||
reg = <0x30000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
factory: partition@40000 {
|
||||
label = "factory";
|
||||
reg = <0x40000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x7b0000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
usb {
|
||||
label = "all0239-3g:green:usb";
|
||||
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
|
||||
trigger-sources = <&otg_port1>;
|
||||
linux,default-trigger = "usbport";
|
||||
};
|
||||
|
||||
3g {
|
||||
label = "all0239-3g:green:3g";
|
||||
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
led_status: status {
|
||||
label = "all0239-3g:green:status";
|
||||
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
wps {
|
||||
label = "all0239-3g:green:wps";
|
||||
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
poll-interval = <20>;
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
|
||||
connect {
|
||||
label = "connect";
|
||||
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <KEY_CONNECT>;
|
||||
};
|
||||
|
||||
wps {
|
||||
label = "wps";
|
||||
gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <KEY_WPS_BUTTON>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
};
|
||||
|
||||
&esw {
|
||||
status = "okay";
|
||||
mediatek,portmap = <0x3e>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&otg {
|
||||
status = "okay";
|
||||
};
|
@ -39,6 +39,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x3c8000>;
|
||||
};
|
||||
|
@ -39,6 +39,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x7b0000>;
|
||||
};
|
||||
|
@ -81,6 +81,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x1fb0000>;
|
||||
};
|
||||
|
@ -81,6 +81,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x1fb0000>;
|
||||
};
|
||||
|
@ -111,6 +111,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x7b0000>;
|
||||
};
|
||||
|
@ -44,6 +44,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
reg = <0x50000 0x3B0000>;
|
||||
label = "firmware";
|
||||
};
|
||||
|
@ -39,6 +39,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0xf80000>;
|
||||
};
|
||||
|
@ -39,6 +39,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x790000>;
|
||||
};
|
||||
|
@ -44,6 +44,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x7a0000>;
|
||||
};
|
||||
|
@ -70,6 +70,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x3b0000>;
|
||||
};
|
||||
|
@ -39,6 +39,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x3b0000>;
|
||||
};
|
||||
|
@ -39,6 +39,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x7b0000>;
|
||||
};
|
||||
|
@ -160,6 +160,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x7b0000>;
|
||||
};
|
||||
|
@ -104,6 +104,7 @@
|
||||
};
|
||||
|
||||
partition@20000 {
|
||||
compatible = "tplink,firmware";
|
||||
label = "firmware";
|
||||
reg = <0x20000 0x7a0000>;
|
||||
};
|
||||
|
@ -87,6 +87,7 @@
|
||||
};
|
||||
|
||||
partition@20000 {
|
||||
compatible = "tplink,firmware";
|
||||
label = "firmware";
|
||||
reg = <0x20000 0x7a0000>;
|
||||
};
|
||||
|
@ -117,6 +117,7 @@
|
||||
};
|
||||
|
||||
partition@20000 {
|
||||
compatible = "tplink,firmware";
|
||||
label = "firmware";
|
||||
reg = <0x20000 0x7a0000>;
|
||||
};
|
||||
|
@ -116,6 +116,7 @@
|
||||
};
|
||||
|
||||
partition@20000 {
|
||||
compatible = "tplink,firmware";
|
||||
label = "firmware";
|
||||
reg = <0x20000 0x7a0000>;
|
||||
};
|
||||
|
@ -134,6 +134,7 @@
|
||||
};
|
||||
|
||||
partition@20000 {
|
||||
compatible = "tplink,firmware";
|
||||
label = "firmware";
|
||||
reg = <0x20000 0x7b0000>;
|
||||
};
|
||||
|
@ -39,6 +39,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x7b0000>;
|
||||
};
|
||||
|
@ -1,3 +1,4 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
||||
/dts-v1/;
|
||||
|
||||
#include "mt7620a.dtsi"
|
||||
@ -66,6 +67,7 @@
|
||||
spi-max-frequency = <10000000>;
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
@ -88,6 +90,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0xf70000>;
|
||||
};
|
||||
@ -128,6 +131,18 @@
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&pcie {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pcie0 {
|
||||
wifi@0,0 {
|
||||
reg = <0x0000 0 0 0 0>;
|
||||
mediatek,mtd-eeprom = <&factory 0x8000>;
|
||||
ieee80211-freq-limit = <5000000 6000000>;
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
default {
|
||||
|
@ -124,6 +124,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x7b0000>;
|
||||
};
|
||||
|
@ -88,6 +88,7 @@
|
||||
};
|
||||
|
||||
partition@70000 {
|
||||
compatible = "denx,uimage";
|
||||
reg = <0x00070000 0x00790000>;
|
||||
label = "firmware";
|
||||
};
|
||||
|
@ -122,6 +122,7 @@
|
||||
};
|
||||
|
||||
partition@70000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x00070000 0x00790000>;
|
||||
};
|
||||
|
@ -39,6 +39,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x790000>;
|
||||
};
|
||||
|
@ -145,6 +145,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0xfb0000>;
|
||||
};
|
||||
|
@ -43,6 +43,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x7b0000>;
|
||||
};
|
||||
|
@ -99,6 +99,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x7b0000>;
|
||||
};
|
||||
|
@ -101,6 +101,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x7b0000>;
|
||||
};
|
||||
@ -155,7 +156,3 @@
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&pcie {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -54,6 +54,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "seama";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x7b0000>;
|
||||
};
|
||||
|
@ -46,6 +46,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x3b0000>;
|
||||
};
|
||||
|
@ -147,6 +147,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0xfb0000>;
|
||||
};
|
||||
|
@ -56,6 +56,7 @@
|
||||
};
|
||||
|
||||
partition@b0000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0xb0000 0x750000>;
|
||||
};
|
||||
|
@ -73,6 +73,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x7b0000>;
|
||||
};
|
||||
@ -103,7 +104,3 @@
|
||||
&wmac {
|
||||
ralink,mtd-eeprom = <&factory 0>;
|
||||
};
|
||||
|
||||
&pcie {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -45,7 +45,6 @@
|
||||
status {
|
||||
label = "dch-m225:red:status";
|
||||
gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
|
||||
default-state = "off";
|
||||
};
|
||||
};
|
||||
|
||||
@ -151,6 +150,7 @@
|
||||
};
|
||||
|
||||
partition@150000 {
|
||||
compatible = "seama";
|
||||
label = "firmware";
|
||||
reg = <0x150000 0x6b0000>;
|
||||
};
|
||||
|
@ -46,6 +46,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x3b0000>;
|
||||
};
|
||||
|
@ -80,6 +80,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x3b0000>;
|
||||
};
|
||||
|
@ -46,6 +46,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x3b0000>;
|
||||
};
|
||||
|
@ -80,6 +80,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x7b0000>;
|
||||
};
|
||||
|
@ -102,6 +102,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x7b0000>;
|
||||
};
|
||||
|
@ -46,6 +46,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x3b0000>;
|
||||
};
|
||||
|
@ -80,6 +80,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "seama";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x3b0000>;
|
||||
};
|
||||
|
@ -46,6 +46,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x3b0000>;
|
||||
};
|
||||
@ -75,7 +76,6 @@
|
||||
status {
|
||||
label = "dir-615-d:amber:status";
|
||||
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
|
||||
default-state = "off";
|
||||
};
|
||||
|
||||
led_status_green: status2 {
|
||||
|
@ -22,7 +22,6 @@
|
||||
status {
|
||||
label = "dir-615-h1:amber:status";
|
||||
gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
|
||||
default-state = "off";
|
||||
};
|
||||
|
||||
led_status_green: status2 {
|
||||
@ -97,6 +96,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x3b0000>;
|
||||
};
|
||||
|
@ -46,6 +46,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x7b0000>;
|
||||
};
|
||||
|
@ -74,6 +74,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x7b0000>;
|
||||
};
|
||||
|
@ -113,6 +113,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "seama";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x7b0000>;
|
||||
};
|
||||
|
@ -109,6 +109,7 @@
|
||||
};
|
||||
|
||||
partition@170000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x170000 0x690000>;
|
||||
};
|
||||
|
@ -112,6 +112,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "seama";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0xfb0000>;
|
||||
};
|
||||
|
@ -137,6 +137,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x7b0000>;
|
||||
};
|
||||
|
@ -59,7 +59,7 @@
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
flash@0 {
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <50000000>;
|
||||
@ -76,6 +76,7 @@
|
||||
};
|
||||
|
||||
partition@10000 {
|
||||
compatible = "amit,jimage";
|
||||
label = "firmware";
|
||||
reg = <0x10000 0x7e0000>;
|
||||
};
|
||||
|
189
target/linux/ramips/dts/DWR-118-A1.dts
Normal file
189
target/linux/ramips/dts/DWR-118-A1.dts
Normal file
@ -0,0 +1,189 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
||||
/dts-v1/;
|
||||
|
||||
#include "mt7620a.dtsi"
|
||||
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
compatible = "dlink,dwr-118-a1", "ralink,mt7620a-soc";
|
||||
model = "D-Link DWR-118 A1";
|
||||
|
||||
aliases {
|
||||
led-boot = &led_internet;
|
||||
led-failsafe = &led_internet;
|
||||
led-upgrade = &led_internet;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
poll-interval = <20>;
|
||||
|
||||
wps {
|
||||
label = "wps";
|
||||
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <KEY_WPS_BUTTON>;
|
||||
};
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
wan {
|
||||
label = "dwr-118-a1:green:wan";
|
||||
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
led_internet: internet {
|
||||
label = "dwr-118-a1:green:internet";
|
||||
gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
lan {
|
||||
label = "dwr-118-a1:green:lan";
|
||||
gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
wlan2g {
|
||||
label = "dwr-118-a1:green:wlan2g";
|
||||
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
usb {
|
||||
label = "dwr-118-a1:green:usb";
|
||||
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
|
||||
trigger-sources = <&ohci_port1>, <&ehci_port1>;
|
||||
linux,default-trigger = "usbport";
|
||||
};
|
||||
};
|
||||
|
||||
gpio_export {
|
||||
compatible = "gpio-export";
|
||||
#size-cells = <0>;
|
||||
|
||||
usb {
|
||||
gpio-export,name = "usb";
|
||||
gpio-export,output = <0>;
|
||||
gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&gpio1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpio2 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpio3 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
flash@0 {
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <80000000>;
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
partition@0 {
|
||||
label = "jboot";
|
||||
reg = <0x0 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@10000 {
|
||||
compatible = "amit,jimage";
|
||||
label = "firmware";
|
||||
reg = <0x10000 0xfe0000>;
|
||||
};
|
||||
|
||||
config: partition@ff0000 {
|
||||
label = "config";
|
||||
reg = <0xff0000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&ehci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
default {
|
||||
ralink,group = "ephy", "uartf", "spi refclk", "wled";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pcie {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pcie0 {
|
||||
wifi@0,0 {
|
||||
reg = <0x0000 0 0 0 0>;
|
||||
mtd-mac-address = <&config 0xe496>;
|
||||
mtd-mac-address-increment = <(2)>;
|
||||
mediatek,mtd-eeprom = <&config 0xe083>;
|
||||
};
|
||||
};
|
||||
|
||||
ðernet {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
|
||||
|
||||
port@4 {
|
||||
status = "okay";
|
||||
phy-handle = <&phy4>;
|
||||
phy-mode = "rgmii";
|
||||
};
|
||||
|
||||
port@5 {
|
||||
status = "okay";
|
||||
phy-handle = <&phy5>;
|
||||
phy-mode = "rgmii";
|
||||
};
|
||||
|
||||
mdio-bus {
|
||||
status = "okay";
|
||||
|
||||
phy4: ethernet-phy@4 {
|
||||
reg = <4>;
|
||||
phy-mode = "rgmii-rxid";
|
||||
};
|
||||
|
||||
phy5: ethernet-phy@5 {
|
||||
reg = <5>;
|
||||
phy-mode = "rgmii-rxid";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&gsw {
|
||||
mediatek,port4 = "gmac";
|
||||
};
|
@ -106,6 +106,7 @@
|
||||
};
|
||||
|
||||
partition@10000 {
|
||||
compatible = "amit,jimage";
|
||||
label = "firmware";
|
||||
reg = <0x10000 0xfe0000>;
|
||||
};
|
||||
|
@ -81,7 +81,7 @@
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
mx25l6405d@0 {
|
||||
flash@0 {
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <30000000>;
|
||||
@ -99,6 +99,7 @@
|
||||
};
|
||||
|
||||
partition@10000 {
|
||||
compatible = "amit,jimage";
|
||||
label = "firmware";
|
||||
reg = <0x10000 0x7e0000>;
|
||||
};
|
||||
@ -114,7 +115,7 @@
|
||||
&spi1 {
|
||||
status = "okay";
|
||||
|
||||
spidev@1 {
|
||||
spidev@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "siliconlabs,si3210";
|
||||
|
@ -97,7 +97,7 @@
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
m25p80@0 {
|
||||
flash@0 {
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <10000000>;
|
||||
@ -114,6 +114,7 @@
|
||||
};
|
||||
|
||||
partition@10000 {
|
||||
compatible = "amit,jimage";
|
||||
label = "firmware";
|
||||
reg = <0x10000 0xfe0000>;
|
||||
};
|
||||
|
@ -90,6 +90,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x7b0000>;
|
||||
};
|
||||
|
@ -46,6 +46,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x3b0000>;
|
||||
};
|
||||
|
@ -96,6 +96,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0xfb0000>;
|
||||
};
|
||||
|
@ -122,6 +122,7 @@
|
||||
};
|
||||
|
||||
partition@40000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x40000 0x3b0000>;
|
||||
};
|
||||
|
@ -34,7 +34,6 @@
|
||||
power_a {
|
||||
label = "ex3700:amber:power";
|
||||
gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
|
||||
default-state = "off";
|
||||
};
|
||||
|
||||
router_g {
|
||||
@ -121,6 +120,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x790000>;
|
||||
};
|
||||
|
@ -46,6 +46,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x7b0000>;
|
||||
};
|
||||
|
@ -34,6 +34,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x790000>;
|
||||
};
|
||||
|
@ -96,6 +96,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x770000>;
|
||||
};
|
||||
|
@ -89,6 +89,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0xfb0000>;
|
||||
};
|
||||
|
@ -46,6 +46,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x7b0000>;
|
||||
};
|
||||
|
@ -43,6 +43,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x7b0000>;
|
||||
};
|
||||
|
@ -98,6 +98,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x1fb0000>;
|
||||
};
|
||||
|
@ -108,6 +108,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x1fb0000>;
|
||||
};
|
||||
|
@ -107,6 +107,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0xf80000>;
|
||||
};
|
||||
|
@ -131,6 +131,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0xfb0000>;
|
||||
};
|
||||
|
@ -102,6 +102,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0xf80000>;
|
||||
};
|
||||
|
@ -102,6 +102,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0xf80000>;
|
||||
};
|
||||
|
@ -63,10 +63,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
&sdhci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
|
||||
@ -101,6 +97,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0xf70000>;
|
||||
};
|
||||
|
@ -37,3 +37,23 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&ehci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pcie {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pcie0 {
|
||||
mt76@0,0 {
|
||||
reg = <0x0000 0 0 0 0>;
|
||||
mediatek,mtd-eeprom = <&factory 0x8000>;
|
||||
ieee80211-freq-limit = <5000000 6000000>;
|
||||
};
|
||||
};
|
||||
|
@ -60,6 +60,14 @@
|
||||
};
|
||||
};
|
||||
|
||||
&ehci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ðernet {
|
||||
status = "okay";
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
@ -97,3 +105,15 @@
|
||||
&gsw {
|
||||
mediatek,port4 = "gmac";
|
||||
};
|
||||
|
||||
&pcie {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pcie0 {
|
||||
mt76@0,0 {
|
||||
reg = <0x0000 0 0 0 0>;
|
||||
mediatek,mtd-eeprom = <&factory 0x8000>;
|
||||
ieee80211-freq-limit = <5000000 6000000>;
|
||||
};
|
||||
};
|
||||
|
@ -92,6 +92,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0xf70000>;
|
||||
};
|
||||
|
@ -67,6 +67,7 @@
|
||||
partition@0 {
|
||||
label = "u-boot";
|
||||
reg = <0x0 0x30000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@30000 {
|
||||
@ -78,9 +79,11 @@
|
||||
factory: partition@40000 {
|
||||
label = "factory";
|
||||
reg = <0x40000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0xf80000>;
|
||||
};
|
||||
@ -88,29 +91,24 @@
|
||||
partition@fd0000 {
|
||||
label = "hwf_config";
|
||||
reg = <0xfd0000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
bdinfo: partition@fe0000 {
|
||||
label = "bdinfo";
|
||||
reg = <0xfe0000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@ff0000 {
|
||||
label = "backup";
|
||||
reg = <0xff0000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&ehci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ðernet {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ephy_pins>;
|
||||
@ -128,10 +126,6 @@
|
||||
pinctrl-0 = <&pa_pins>;
|
||||
};
|
||||
|
||||
&pcie {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
|
@ -46,6 +46,7 @@
|
||||
};
|
||||
|
||||
partition@80000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x80000 0xf60000>;
|
||||
};
|
||||
|
@ -89,6 +89,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x3b0000>;
|
||||
};
|
||||
|
@ -118,6 +118,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
reg = <0x00050000 0x00fb0000>;
|
||||
label = "firmware";
|
||||
};
|
||||
|
@ -85,6 +85,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x7b0000>;
|
||||
};
|
||||
|
@ -46,6 +46,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x7b0000>;
|
||||
};
|
||||
|
@ -46,6 +46,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x7b0000>;
|
||||
};
|
||||
|
@ -78,6 +78,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x3b0000>;
|
||||
};
|
||||
|
@ -46,6 +46,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x3b0000>;
|
||||
};
|
||||
|
@ -46,6 +46,7 @@
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x50000 0x3b0000>;
|
||||
};
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user