Initial commit
This commit is contained in:
28
target/linux/brcm63xx/Makefile
Normal file
28
target/linux/brcm63xx/Makefile
Normal file
@@ -0,0 +1,28 @@
|
||||
#
|
||||
# Copyright (C) 2006-2009 OpenWrt.org
|
||||
# Copyright (C) 2016 LEDE project
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
ARCH:=mips
|
||||
BOARD:=brcm63xx
|
||||
BOARDNAME:=Broadcom BCM63xx
|
||||
SUBTARGETS:=generic smp
|
||||
FEATURES:=squashfs usb atm pci pcmcia usbgadget
|
||||
KERNEL_PATCHVER:=4.9
|
||||
MAINTAINER:=Jonas Gorski <jogo@openwrt.org>
|
||||
|
||||
define Target/Description
|
||||
Build firmware images for Broadcom based xDSL/routers
|
||||
currently supports BCM6338, BCM6348 and BCM6358 based devices.
|
||||
(e.g. Inventel Livebox, Siemens SE515, Neufbox 4)
|
||||
endef
|
||||
|
||||
include $(INCLUDE_DIR)/target.mk
|
||||
|
||||
DEFAULT_PACKAGES += swconfig kmod-gpio-button-hotplug
|
||||
|
||||
$(eval $(call BuildTarget))
|
||||
87
target/linux/brcm63xx/base-files/etc/board.d/01_leds
Executable file
87
target/linux/brcm63xx/base-files/etc/board.d/01_leds
Executable file
@@ -0,0 +1,87 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Copyright (C) 2013-2015 OpenWrt.org
|
||||
#
|
||||
|
||||
. /lib/functions/uci-defaults.sh
|
||||
|
||||
board_config_update
|
||||
|
||||
case "$(board_name)" in
|
||||
a4001n1)
|
||||
ucidef_set_led_netdev "lan" "LAN" "A4001N1:green:eth" "eth0"
|
||||
ucidef_set_led_usbdev "usb" "USB" "A4001N1:green:3g" "1-1"
|
||||
;;
|
||||
a4001n)
|
||||
ucidef_set_led_usbdev "usb" "USB" "A4001N:green:usb" "1-1"
|
||||
;;
|
||||
ad1018-nor)
|
||||
ucidef_set_led_netdev "wlan0" "WLAN" "AD1018:green:wifi" "wlan0"
|
||||
;;
|
||||
ar-5315u)
|
||||
ucidef_set_led_usbdev "usb" "USB" "AR-5315u:green:usb" "1-1"
|
||||
;;
|
||||
av4202n)
|
||||
ucidef_set_led_netdev "wlan0" "WLAN" "AV4202N:blue:wifi" "wlan0"
|
||||
;;
|
||||
cpva502p)
|
||||
ucidef_set_led_netdev "lan" "LAN" "CPVA502+:amber:link" "eth0"
|
||||
;;
|
||||
dgnd3700v1_dgnd3800b)
|
||||
ucidef_set_led_netdev "lan" "LAN" "DGND3700v1_3800B:green:lan" "eth0.1"
|
||||
ucidef_set_led_netdev "wan" "WAN" "DGND3700v1_3800B:green:inet" "eth0.2"
|
||||
ucidef_set_led_netdev "wlan0" "WIFI2G" "DGND3700v1_3800B:green:wifi2g" "wlan0"
|
||||
ucidef_set_led_netdev "wlan1" "WIFI5G" "DGND3700v1_3800B:blue:wifi5g" "wlan1"
|
||||
ucidef_set_led_usbdev "usb1" "USB1" "DGND3700v1_3800B:green:usb-back" "1-1"
|
||||
ucidef_set_led_usbdev "usb2" "USB2" "DGND3700v1_3800B:green:usb-front" "1-2"
|
||||
;;
|
||||
evg2000)
|
||||
ucidef_set_led_netdev "lan" "LAN" "EVG2000:green:lan" "eth0"
|
||||
ucidef_set_led_netdev "wan" "WAN" "EVG2000:green:wan" "eth1"
|
||||
ucidef_set_led_netdev "wlan0" "WIFI" "EVG2000:green:wireless" "wlan0"
|
||||
ucidef_set_led_usbdev "usb1" "USB1" "EVG2000:green:voip1" "1-1"
|
||||
ucidef_set_led_usbdev "usb2" "USB2" "EVG2000:green:voip2" "1-2"
|
||||
;;
|
||||
fast2704n)
|
||||
ucidef_set_led_netdev "wan" "WAN" "F@ST2704N:green:inet" "eth0.2"
|
||||
;;
|
||||
fast2704v2)
|
||||
ucidef_set_led_usbdev "usb" "USB" "F@ST2704V2:green:usb" "1-1"
|
||||
;;
|
||||
hg553)
|
||||
ucidef_set_led_netdev "lan" "LAN" "HW553:blue:lan" "eth0"
|
||||
ucidef_set_led_usbdev "usb1" "USB1" "HW553:red:hspa" "1-1"
|
||||
ucidef_set_led_usbdev "usb2" "USB2" "HW553:blue:hspa" "1-2"
|
||||
;;
|
||||
hg556a_*)
|
||||
ucidef_set_led_netdev "lan" "LAN" "HW556:red:dsl" "eth0"
|
||||
ucidef_set_led_usbdev "usb" "USB" "HW556:red:hspa" "1-2"
|
||||
;;
|
||||
hg622)
|
||||
ucidef_set_led_usbdev "usb" "USB" "HG622:green:usb" "1-2"
|
||||
;;
|
||||
hg655b)
|
||||
ucidef_set_led_usbdev "usb" "USB" "HW65x:green:usb" "1-2"
|
||||
;;
|
||||
homehub2a)
|
||||
ucidef_set_led_netdev "lan" "LAN" "HOMEHUB2A:blue:broadband" "eth0.1"
|
||||
ucidef_set_led_netdev "wlan0" "WIFI" "HOMEHUB2A:green:wireless" "wlan0"
|
||||
ucidef_set_led_usbdev "usb1" "USB1" "HOMEHUB2A:blue:phone" "1-1"
|
||||
ucidef_set_led_usbdev "usb2" "USB2" "HOMEHUB2A:green:phone" "2-1"
|
||||
;;
|
||||
livebox1)
|
||||
ucidef_set_led_netdev "lan" "LAN" "Livebox1:red:traffic" "eth0"
|
||||
ucidef_set_led_netdev "wan" "WAN" "Livebox1:red:adsl" "eth1"
|
||||
ucidef_set_led_netdev "wlan0" "WIFI" "Livebox1:red:wifi" "wlan0"
|
||||
;;
|
||||
r1000h)
|
||||
ucidef_set_led_usbport "usb" "USB" "R1000H:green:usb" "usb1-port1" "usb2-port1"
|
||||
;;
|
||||
r5010un_v2)
|
||||
ucidef_set_led_usbdev "usb" "USB" "R5010UNv2:green:usb" "1-1"
|
||||
;;
|
||||
esac
|
||||
|
||||
board_config_flush
|
||||
|
||||
exit 0
|
||||
156
target/linux/brcm63xx/base-files/etc/board.d/02_network
Executable file
156
target/linux/brcm63xx/base-files/etc/board.d/02_network
Executable file
@@ -0,0 +1,156 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Copyright (C) 2012-2015 OpenWrt.org
|
||||
#
|
||||
|
||||
. /lib/functions/uci-defaults.sh
|
||||
|
||||
board_config_update
|
||||
|
||||
case "$(board_name)" in
|
||||
|
||||
cvg834g |\
|
||||
evg2000 |\
|
||||
r1000h |\
|
||||
rta770bw |\
|
||||
rta770w |\
|
||||
spw303v |\
|
||||
spw500v)
|
||||
ucidef_set_interface_lan "eth0"
|
||||
;;
|
||||
|
||||
ar1004g |\
|
||||
bcm96338gw |\
|
||||
bcm96338w |\
|
||||
cpva642 |\
|
||||
ct-5365 |\
|
||||
ct-536p_5621t |\
|
||||
ct-6373 |\
|
||||
dg834g_v4 |\
|
||||
dsl-2640b-b |\
|
||||
dsl-2640u |\
|
||||
fast2604 |\
|
||||
rta1320 |\
|
||||
v2110)
|
||||
ucidef_add_switch "switch0" \
|
||||
"0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "5u@eth0"
|
||||
;;
|
||||
|
||||
agpf-s0 |\
|
||||
bcm96348gw |\
|
||||
bcm96348gw-10 |\
|
||||
bcm96348gw-11 |\
|
||||
bcm96358vw |\
|
||||
bcm96358vw2 |\
|
||||
dg834gt |\
|
||||
dmv-s0 |\
|
||||
dsl-2650u |\
|
||||
dv-201amr |\
|
||||
f5d7633 |\
|
||||
fast2404 |\
|
||||
magic |\
|
||||
rg100a |\
|
||||
rta1025W |\
|
||||
td-w8900gb |\
|
||||
usr9108 |\
|
||||
v2500v_bb)
|
||||
ucidef_set_interfaces_lan_wan "eth1" "eth0"
|
||||
ucidef_add_switch "switch0" \
|
||||
"0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "5u@eth1"
|
||||
;;
|
||||
|
||||
dsl-274xb-c |\
|
||||
hg553 |\
|
||||
hg556a_* |\
|
||||
homehub2a)
|
||||
ucidef_add_switch "switch0" \
|
||||
"0:lan:1" "1:lan:2" "2:lan:3" "3:lan:4" "5t@eth0"
|
||||
;;
|
||||
|
||||
dva-g3810bn |\
|
||||
hg520 |\
|
||||
neufbox4)
|
||||
ucidef_set_interfaces_lan_wan "eth1.1" "eth0"
|
||||
ucidef_add_switch "switch0" \
|
||||
"0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "5t@eth1"
|
||||
;;
|
||||
|
||||
a4001n1 |\
|
||||
a4001n |\
|
||||
ar-5381u |\
|
||||
ar-5387un |\
|
||||
av4202n |\
|
||||
bcm963281tan |\
|
||||
bcm96328avng |\
|
||||
bcm96368mvngr |\
|
||||
dsl-274xb-f |\
|
||||
dsl-275xb-d |\
|
||||
fast2504n |\
|
||||
fast2704v2 |\
|
||||
hg622 |\
|
||||
hg655b |\
|
||||
p870hw-51a_v2 |\
|
||||
r5010un_v2 |\
|
||||
vr-3025un |\
|
||||
vr-3025u |\
|
||||
vr-3026e)
|
||||
ucidef_add_switch "switch0" \
|
||||
"0:lan:1" "1:lan:2" "2:lan:3" "3:lan:4" "8t@eth0"
|
||||
;;
|
||||
|
||||
ar-5315u |\
|
||||
fast2704n |\
|
||||
vh4032n)
|
||||
ucidef_add_switch "switch0" \
|
||||
"0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "8t@eth0"
|
||||
;;
|
||||
|
||||
ad1018-nor)
|
||||
ucidef_add_switch "switch0" \
|
||||
"1:lan:3" "2:lan:2" "3:lan:1" "0:wan" "8t@eth0"
|
||||
;;
|
||||
|
||||
bcm96368mvwg)
|
||||
ucidef_add_switch "switch0" \
|
||||
"1:lan" "2:lan" "4:lan" "5:lan" "8t@eth0"
|
||||
;;
|
||||
|
||||
wap-5813n)
|
||||
ucidef_add_switch "switch0" \
|
||||
"0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "5t@eth0"
|
||||
;;
|
||||
|
||||
dgnd3700v1_dgnd3800b)
|
||||
ucidef_add_switch "switch0" \
|
||||
"1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "0:wan" "8t@eth0"
|
||||
;;
|
||||
|
||||
neufbox6)
|
||||
ucidef_add_switch "switch0" \
|
||||
"1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "9t@eth0"
|
||||
;;
|
||||
|
||||
vg50)
|
||||
ucidef_add_switch "switch0" \
|
||||
"0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "8t@eth0"
|
||||
;;
|
||||
|
||||
bcm963268bu_p300)
|
||||
ucidef_add_switch "switch0" \
|
||||
"0:lan" "3:lan" "4:lan" "5:lan" "6:lan" "7:lan" "8t@eth0"
|
||||
;;
|
||||
|
||||
cpva502p |\
|
||||
livebox1)
|
||||
ucidef_set_interfaces_lan_wan "eth0" "eth1"
|
||||
;;
|
||||
|
||||
*)
|
||||
ucidef_set_interfaces_lan_wan "eth1" "eth0"
|
||||
;;
|
||||
|
||||
esac
|
||||
|
||||
board_config_flush
|
||||
|
||||
exit 0
|
||||
161
target/linux/brcm63xx/base-files/etc/diag.sh
Normal file
161
target/linux/brcm63xx/base-files/etc/diag.sh
Normal file
@@ -0,0 +1,161 @@
|
||||
#!/bin/sh
|
||||
# Copyright (C) 2007-2013 OpenWrt.org
|
||||
|
||||
. /lib/functions.sh
|
||||
. /lib/functions/leds.sh
|
||||
|
||||
set_state() {
|
||||
case "$(board_name)" in
|
||||
a4001n1)
|
||||
status_led="A4001N1:green:power"
|
||||
;;
|
||||
a4001n)
|
||||
status_led="A4001N:green:power"
|
||||
;;
|
||||
ad1018-nor)
|
||||
status_led="AD1018:green:power"
|
||||
;;
|
||||
ar-5315u)
|
||||
status_led="AR-5315u:green:power"
|
||||
;;
|
||||
ar-5381u)
|
||||
status_led="AR-5381u:green:power"
|
||||
;;
|
||||
ar-5387un)
|
||||
status_led="AR-5387un:green:power"
|
||||
;;
|
||||
av4202n)
|
||||
status_led="AV4202N:white:power"
|
||||
;;
|
||||
bcm96348gw)
|
||||
status_led="96348GW:green:power"
|
||||
;;
|
||||
bcm963281tan)
|
||||
status_led="963281TAN::power"
|
||||
;;
|
||||
bcm96328avng)
|
||||
status_led="96328avng::power"
|
||||
;;
|
||||
bcm96348gw-11)
|
||||
status_led="96348GW-11:green:power"
|
||||
;;
|
||||
spw303v)
|
||||
status_led="spw303v:green:power+adsl"
|
||||
;;
|
||||
vh4032n)
|
||||
status_led="VH4032N:red:power"
|
||||
;;
|
||||
vr-3025un)
|
||||
status_led="VR-3025un:green:power"
|
||||
;;
|
||||
vr-3025u)
|
||||
status_led="VR-3025u:green:power"
|
||||
;;
|
||||
vr-3026e)
|
||||
status_led="VR-3026e:green:power"
|
||||
;;
|
||||
wap-5813n)
|
||||
status_led="WAP-5813n:green:power"
|
||||
;;
|
||||
ar1004g)
|
||||
status_led="AR1004G:green:power"
|
||||
;;
|
||||
dsl-274xb-c|\
|
||||
dsl-274xb-f)
|
||||
status_led="dsl-274xb:green:power"
|
||||
;;
|
||||
dsl-275xb-d)
|
||||
status_led="dsl-275xb:green:power"
|
||||
;;
|
||||
cpva642)
|
||||
status_led="CPVA642:green:power:"
|
||||
;;
|
||||
ct-536p_5621t)
|
||||
status_led="CT536_CT5621:green:power"
|
||||
;;
|
||||
cvg834g)
|
||||
status_led="CVG834G:green:power"
|
||||
;;
|
||||
dsl-2640b-b)
|
||||
status_led="D-4P-W:green:power"
|
||||
;;
|
||||
dgnd3700v1_dgnd3800b)
|
||||
status_led="DGND3700v1_3800B:green:power"
|
||||
;;
|
||||
evg2000)
|
||||
status_led="EVG2000:green:power"
|
||||
;;
|
||||
fast2504n)
|
||||
status_led="fast2504n:green:ok"
|
||||
;;
|
||||
fast2704n)
|
||||
status_led2="F@ST2704N:red:power"
|
||||
;;
|
||||
fast2704v2)
|
||||
status_led="F@ST2704V2:green:power"
|
||||
;;
|
||||
homehub2a)
|
||||
status_led="HOMEHUB2A:green:upgrading"
|
||||
status_led2="HOMEHUB2A:blue:upgrading"
|
||||
;;
|
||||
gw6200)
|
||||
status_led="GW6200:green:line1"
|
||||
status_led2="GW6200:green:tel"
|
||||
;;
|
||||
hg553)
|
||||
status_led="HW553:blue:power"
|
||||
;;
|
||||
hg556a_*)
|
||||
status_led="HW556:red:power"
|
||||
;;
|
||||
hg520)
|
||||
status_led="HW520:green:net"
|
||||
;;
|
||||
hg655b)
|
||||
status_led="HW65x:green:power"
|
||||
;;
|
||||
livebox1)
|
||||
status_led="Livebox1:red:adsl-fail-power"
|
||||
;;
|
||||
p870hw-51a_v2)
|
||||
status_led="P870HW-51a:green:power"
|
||||
;;
|
||||
r1000h)
|
||||
status_led="R1000H:green:power"
|
||||
;;
|
||||
r5010un_v2)
|
||||
status_led="R5010UNv2:green:power"
|
||||
;;
|
||||
rta770bw)
|
||||
status_led="RTA770BW:green:diag"
|
||||
;;
|
||||
rta770w)
|
||||
status_led="RTA770W:green:diag"
|
||||
;;
|
||||
spw500v)
|
||||
status_led="SPW500V:green:power"
|
||||
;;
|
||||
v2110)
|
||||
status_led="V2110:power:green"
|
||||
;;
|
||||
esac
|
||||
|
||||
case "$1" in
|
||||
preinit)
|
||||
status_led_blink_preinit
|
||||
;;
|
||||
failsafe)
|
||||
status_led_blink_failsafe
|
||||
;;
|
||||
preinit_regular)
|
||||
status_led_blink_preinit_regular
|
||||
;;
|
||||
done)
|
||||
if [ "${status_led/power}" != "$status_led" ]; then
|
||||
status_led_on
|
||||
else
|
||||
status_led_off
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
#!/bin/sh
|
||||
# Based on gabors ralink wisoc implementation.
|
||||
|
||||
rt2x00_eeprom_die() {
|
||||
echo "rt2x00 eeprom: " "$*"
|
||||
exit 1
|
||||
}
|
||||
|
||||
rt2x00_eeprom_extract() {
|
||||
local part=$1
|
||||
local offset=$2
|
||||
local count=$3
|
||||
local mtd
|
||||
|
||||
mtd=$(find_mtd_part $part)
|
||||
[ -n "$mtd" ] || \
|
||||
rt2x00_eeprom_die "no mtd device found for partition $part"
|
||||
|
||||
dd if=$mtd of=/lib/firmware/$FIRMWARE bs=1 skip=$offset count=$count || \
|
||||
rt2x00_eeprom_die "failed to extract from $mtd"
|
||||
}
|
||||
|
||||
[ -e /lib/firmware/$FIRMWARE ] && exit 0
|
||||
|
||||
. /lib/functions.sh
|
||||
|
||||
board=$(board_name)
|
||||
|
||||
case "$FIRMWARE" in
|
||||
"rt2x00.eeprom" )
|
||||
case $board in
|
||||
hg556a_c)
|
||||
rt2x00_eeprom_extract "cal_data" 130560 512
|
||||
;;
|
||||
hg622 |\
|
||||
hg655b)
|
||||
rt2x00_eeprom_extract "cal_data" 0 512
|
||||
;;
|
||||
*)
|
||||
rt2x00_eeprom_die "board $board is not supported yet"
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
43
target/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc
Normal file
43
target/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc
Normal file
@@ -0,0 +1,43 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Copyright (C) 2007 OpenWrt.org
|
||||
#
|
||||
#
|
||||
|
||||
. /lib/functions.sh
|
||||
|
||||
do_fixcrc() {
|
||||
mtd fixtrx linux
|
||||
}
|
||||
|
||||
case "$(board_name)" in
|
||||
a4001n |\
|
||||
a4001n1 |\
|
||||
ar-5315u |\
|
||||
ar-5381u |\
|
||||
ar-5387un |\
|
||||
bcm96328avng |\
|
||||
bcm963281tan |\
|
||||
cpva502p |\
|
||||
cpva642 |\
|
||||
ct-6373 |\
|
||||
dsl-274xb-f |\
|
||||
evg2000 |\
|
||||
hg622 |\
|
||||
magic |\
|
||||
p870hw-51a_v2 |\
|
||||
r1000h |\
|
||||
r5010un_v2 |\
|
||||
rta770bw |\
|
||||
rta770w |\
|
||||
spw303v |\
|
||||
v2110 |\
|
||||
v2500v_bb |\
|
||||
vh4032n |\
|
||||
vr-3025u |\
|
||||
vr-3025un |\
|
||||
vr-3026e |\
|
||||
wap-5813n)
|
||||
do_fixcrc
|
||||
;;
|
||||
esac
|
||||
307
target/linux/brcm63xx/base-files/lib/brcm63xx.sh
Executable file
307
target/linux/brcm63xx/base-files/lib/brcm63xx.sh
Executable file
@@ -0,0 +1,307 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Copyright (C) 2007 OpenWrt.org
|
||||
#
|
||||
#
|
||||
|
||||
board_id=""
|
||||
sys_mtd_part=""
|
||||
ifname=""
|
||||
|
||||
brcm63xx_dt_detect() {
|
||||
local board_name
|
||||
|
||||
case "$1" in
|
||||
"ADB P.DG A4001N")
|
||||
board_name="a4001n"
|
||||
;;
|
||||
"ADB P.DG A4001N1")
|
||||
board_name="a4001n1"
|
||||
;;
|
||||
"ADB P.DG AV4202N")
|
||||
board_name="av4202n"
|
||||
;;
|
||||
"Actiontec R1000H")
|
||||
board_name="r1000h"
|
||||
;;
|
||||
"Alcatel RG100A")
|
||||
board_name="rg100a"
|
||||
;;
|
||||
"ASMAX AR 1004g")
|
||||
board_name="ar100g"
|
||||
;;
|
||||
"Belkin F5D7633")
|
||||
board_name="f5d7633"
|
||||
;;
|
||||
"Broadcom 96348R reference board")
|
||||
board_name="bcm96348r"
|
||||
;;
|
||||
"Broadcom BCM96318REF reference board")
|
||||
board_name="bcm96318ref"
|
||||
;;
|
||||
"Broadcom BCM96318REF_P300 reference board")
|
||||
board_name="bcm96318ref_p300"
|
||||
;;
|
||||
"Broadcom BCM963268BU_P300 reference board")
|
||||
board_name="bcm963268bu_p300"
|
||||
;;
|
||||
"Broadcom BCM963269BHR reference board")
|
||||
board_name="bcm963269bhr"
|
||||
;;
|
||||
"Broadcom bcm963281TAN reference board")
|
||||
board_name="bcm963281tan"
|
||||
;;
|
||||
"Broadcom BCM96328avng reference board")
|
||||
board_name="bcm96328avng"
|
||||
;;
|
||||
"Broadcom BCM96345GW2 reference board")
|
||||
board_name="bcm96345gw2"
|
||||
;;
|
||||
"Broadcom BCM96348GW-10 reference board")
|
||||
board_name="bcm96348gw-10"
|
||||
;;
|
||||
"Broadcom BCM96348GW-11 reference board")
|
||||
board_name="bcm96348gw-11"
|
||||
;;
|
||||
"Broadcom BCM96348GW reference board")
|
||||
board_name="bcm96358gw"
|
||||
;;
|
||||
"Broadcom BCM96358VW reference board")
|
||||
board_name="bcm96358vw"
|
||||
;;
|
||||
"Broadcom BCM96358VW2 reference board")
|
||||
board_name="bcm96358vw2"
|
||||
;;
|
||||
"Broadcom BCM96368MVNgr reference board")
|
||||
board_name="bcm96368mvngr"
|
||||
;;
|
||||
"Broadcom BCM96368MVWG reference board")
|
||||
board_name="bcm96368mvwg"
|
||||
;;
|
||||
"BT Home Hub 2.0 Type A")
|
||||
board_name="homehub2a"
|
||||
;;
|
||||
"BT Voyager 2110")
|
||||
board_name="v2110"
|
||||
;;
|
||||
"BT Voyager V2500V")
|
||||
board_name="v2500v_bb"
|
||||
;;
|
||||
"Comtrend AR-5315u")
|
||||
board_name="ar-5315u"
|
||||
;;
|
||||
"Comtrend AR-5381u")
|
||||
board_name="ar-5381u"
|
||||
;;
|
||||
"Comtrend AR-5387un")
|
||||
board_name="ar-5387un"
|
||||
;;
|
||||
"Comtrend CT-5365")
|
||||
board_name="ct-5365"
|
||||
;;
|
||||
"Comtrend CT-536+/CT-5621T")
|
||||
board_name="ct-536p_5621t"
|
||||
;;
|
||||
"Comtrend CT-6373")
|
||||
board_name="ct-6373"
|
||||
;;
|
||||
"Comtrend VR-3025u")
|
||||
board_name="vr-3025u"
|
||||
;;
|
||||
"Comtrend VR-3025un")
|
||||
board_name="vr-3025un"
|
||||
;;
|
||||
"Comtrend VR-3026e")
|
||||
board_name="vr-3026e"
|
||||
;;
|
||||
"Comtrend WAP-5813n")
|
||||
board_name="wap-5813n"
|
||||
;;
|
||||
"Davolink DV-201AMR")
|
||||
board_name="dv-201amr"
|
||||
;;
|
||||
"D-Link DSL-2640B rev B2")
|
||||
board_name="dsl-2640b-b"
|
||||
;;
|
||||
"D-Link DSL-2640U/BRU/C")
|
||||
board_name="dsl-2640u"
|
||||
;;
|
||||
"D-Link DSL-2650U")
|
||||
board_name="dsl-2650u"
|
||||
;;
|
||||
"D-Link DSL-2740B/DSL-2741B rev C2/3")
|
||||
board_name="dsl-274xb-c"
|
||||
;;
|
||||
"D-Link DSL-2740B/DSL-2741B rev F1")
|
||||
board_name="dsl-274xb-f"
|
||||
;;
|
||||
"D-Link DSL-2750B/DSL-2751 rev D1")
|
||||
board_name="dsl-275xb-d"
|
||||
;;
|
||||
"D-Link DVA-G3810BN/TL")
|
||||
board_name="dva-g3810bn"
|
||||
;;
|
||||
"Dynalink RTA770BW")
|
||||
board_name="rta770bw"
|
||||
;;
|
||||
"Dynalink RTA770W")
|
||||
board_name="rta770w"
|
||||
;;
|
||||
"Dynalink RTA1025W")
|
||||
board_name="rta1025w"
|
||||
;;
|
||||
"Dynalink RTA1320")
|
||||
board_name="rta1320"
|
||||
;;
|
||||
"Huawei EchoLife HG520v")
|
||||
board_name="hg520v"
|
||||
;;
|
||||
"Huawei EchoLife HG553")
|
||||
board_name="hg553"
|
||||
;;
|
||||
"Huawei EchoLife HG556a (version A)")
|
||||
board_name="hg556a_a"
|
||||
;;
|
||||
"Huawei EchoLife HG556a (version B)")
|
||||
board_name="hg556a_b"
|
||||
;;
|
||||
"Huawei EchoLife HG556a (version C)")
|
||||
board_name="hg556a_c"
|
||||
;;
|
||||
"Huawei HG622")
|
||||
board_name="hg622"
|
||||
;;
|
||||
"Huawei HG655b")
|
||||
board_name="hg655b"
|
||||
;;
|
||||
"Inteno VG50")
|
||||
board_name="vg50"
|
||||
;;
|
||||
"Inventel Livebox 1")
|
||||
board_name="livebox1"
|
||||
;;
|
||||
"Netgear CVG834G")
|
||||
board_name="cvg834g"
|
||||
;;
|
||||
"Netgear DG834GT/PN")
|
||||
board_name="dg834gt"
|
||||
;;
|
||||
"Netgear DG834G v4")
|
||||
board_name="dg834g_v4"
|
||||
;;
|
||||
"Netgear DGND3700v1/DGND3800B")
|
||||
board_name="dgnd3700v1_dgnd3800b"
|
||||
;;
|
||||
"Netgear EVG2000")
|
||||
board_name="evg2000"
|
||||
;;
|
||||
"NuCom R5010UN v2")
|
||||
board_name="r5010un_v2"
|
||||
;;
|
||||
"Observa VH4032N")
|
||||
board_name="vh4032n"
|
||||
;;
|
||||
"Pirelli A226G")
|
||||
board_name="a226g"
|
||||
;;
|
||||
"Pirelli A226M")
|
||||
board_name="a226m"
|
||||
;;
|
||||
"Pirelli A226M-FWB")
|
||||
board_name="a226m-fwb"
|
||||
;;
|
||||
"Pirelli Alice Gate AGPF-S0")
|
||||
board_name="agpf-s0"
|
||||
;;
|
||||
"Sagem F@ST2404")
|
||||
board_name="fast2404"
|
||||
;;
|
||||
"Sagem F@ST2504n")
|
||||
board_name="fast2504n"
|
||||
;;
|
||||
"Sagem F@ST2604")
|
||||
board_name="fast2604"
|
||||
;;
|
||||
"Sagem F@ST2704N")
|
||||
board_name="fast2704n"
|
||||
;;
|
||||
"Sagem F@ST2704V2")
|
||||
board_name="fast2704v2"
|
||||
;;
|
||||
"Sercomm AD1018 (SPI flash mod)")
|
||||
board_name="ad1018-nor"
|
||||
;;
|
||||
"SFR Neuf Box 4"*)
|
||||
board_name="neufbox4"
|
||||
;;
|
||||
"SFR neufbox 6 (Sercomm)")
|
||||
board_name="neufbox6"
|
||||
;;
|
||||
"T-Com Speedport W303 V")
|
||||
board_name="spw303v"
|
||||
;;
|
||||
"T-Com Speedport W500 V")
|
||||
board_name="spw500v"
|
||||
;;
|
||||
"TECOM GW6000")
|
||||
board_name="g6000"
|
||||
;;
|
||||
"TECOM GW6200")
|
||||
board_name="g6200"
|
||||
;;
|
||||
"Telsey CPVA502+")
|
||||
board_name="cpva502p"
|
||||
;;
|
||||
"Telsey CPVA642-type (CPA-ZNTE60T)")
|
||||
board_name="cpva642"
|
||||
;;
|
||||
"Telsey MAGIC")
|
||||
board_name="magic"
|
||||
;;
|
||||
"TP-Link TD-W8900GB")
|
||||
board_name="td-w8900gb"
|
||||
;;
|
||||
"USRobotics 9108")
|
||||
board_name="usr9108"
|
||||
;;
|
||||
"Zyxel P870HW-51a v2")
|
||||
board_name="p870hw-51a_v2"
|
||||
;;
|
||||
*)
|
||||
board_name="unknown"
|
||||
;;
|
||||
esac
|
||||
|
||||
echo "$board_name"
|
||||
}
|
||||
|
||||
brcm63xx_legacy_detect() {
|
||||
local board_name
|
||||
|
||||
case "$1" in
|
||||
*)
|
||||
board_name="unknown"
|
||||
;;
|
||||
esac
|
||||
|
||||
echo "$board_name"
|
||||
}
|
||||
|
||||
brcm63xx_detect() {
|
||||
local board_name model
|
||||
|
||||
board_id=$(awk 'BEGIN{FS="[ \t:/]+"} /system type/ {print $4}' /proc/cpuinfo)
|
||||
|
||||
if [ -e /proc/device-tree ]; then
|
||||
model=$(cat /proc/device-tree/model)
|
||||
board_name=$(brcm63xx_dt_detect "$model")
|
||||
else
|
||||
model="Unknown bcm63xx board"
|
||||
board_name=$(brcm63xx_legacy_detect "$board_id")
|
||||
fi
|
||||
|
||||
[ -e "/tmp/sysinfo" ] || mkdir -p "/tmp/sysinfo"
|
||||
|
||||
echo "$board_name" > /tmp/sysinfo/board_name
|
||||
echo "$model" > /tmp/sysinfo/model
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
do_brcm63xx() {
|
||||
. /lib/brcm63xx.sh
|
||||
|
||||
brcm63xx_detect
|
||||
}
|
||||
|
||||
boot_hook_add preinit_main do_brcm63xx
|
||||
16
target/linux/brcm63xx/base-files/lib/upgrade/platform.sh
Normal file
16
target/linux/brcm63xx/base-files/lib/upgrade/platform.sh
Normal file
@@ -0,0 +1,16 @@
|
||||
PART_NAME=linux
|
||||
platform_check_image() {
|
||||
[ "$#" -gt 1 ] && return 1
|
||||
case "$(get_magic_word "$1")" in
|
||||
3600|3700|3800)
|
||||
# 6348GW-11 boards use openwrt-96348GW-11-squashfs-cfe.bin files
|
||||
return 0
|
||||
;;
|
||||
*)
|
||||
echo "Invalid image type. Please use only .bin files"
|
||||
return 1
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
# use default for platform_do_upgrade()
|
||||
281
target/linux/brcm63xx/config-4.14
Normal file
281
target/linux/brcm63xx/config-4.14
Normal file
@@ -0,0 +1,281 @@
|
||||
CONFIG_ARCH_BINFMT_ELF_STATE=y
|
||||
CONFIG_ARCH_CLOCKSOURCE_DATA=y
|
||||
CONFIG_ARCH_DISCARD_MEMBLOCK=y
|
||||
CONFIG_ARCH_HAS_ELF_RANDOMIZE=y
|
||||
# CONFIG_ARCH_HAS_GCOV_PROFILE_ALL is not set
|
||||
# CONFIG_ARCH_HAS_SG_CHAIN is not set
|
||||
# CONFIG_ARCH_HAS_STRICT_KERNEL_RWX is not set
|
||||
# CONFIG_ARCH_HAS_STRICT_MODULE_RWX is not set
|
||||
CONFIG_ARCH_HIBERNATION_POSSIBLE=y
|
||||
CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y
|
||||
CONFIG_ARCH_MIGHT_HAVE_PC_SERIO=y
|
||||
CONFIG_ARCH_MMAP_RND_BITS_MAX=15
|
||||
CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MAX=15
|
||||
# CONFIG_ARCH_OPTIONAL_KERNEL_RWX is not set
|
||||
# CONFIG_ARCH_OPTIONAL_KERNEL_RWX_DEFAULT is not set
|
||||
CONFIG_ARCH_SUPPORTS_UPROBES=y
|
||||
CONFIG_ARCH_SUSPEND_POSSIBLE=y
|
||||
CONFIG_ARCH_USE_BUILTIN_BSWAP=y
|
||||
CONFIG_ARCH_USE_QUEUED_RWLOCKS=y
|
||||
CONFIG_ARCH_USE_QUEUED_SPINLOCKS=y
|
||||
CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y
|
||||
CONFIG_BCM6345_EXT_IRQ=y
|
||||
CONFIG_BCM6345_PERIPH_IRQ=y
|
||||
CONFIG_BCM63XX=y
|
||||
CONFIG_BCM63XX_CPU_3368=y
|
||||
CONFIG_BCM63XX_CPU_6318=y
|
||||
CONFIG_BCM63XX_CPU_63268=y
|
||||
CONFIG_BCM63XX_CPU_6328=y
|
||||
CONFIG_BCM63XX_CPU_6338=y
|
||||
CONFIG_BCM63XX_CPU_6345=y
|
||||
CONFIG_BCM63XX_CPU_6348=y
|
||||
CONFIG_BCM63XX_CPU_6358=y
|
||||
CONFIG_BCM63XX_CPU_6362=y
|
||||
CONFIG_BCM63XX_CPU_6368=y
|
||||
CONFIG_BCM63XX_EHCI=y
|
||||
CONFIG_BCM63XX_ENET=y
|
||||
CONFIG_BCM63XX_OHCI=y
|
||||
CONFIG_BCM63XX_PHY=y
|
||||
CONFIG_BCM63XX_WDT=y
|
||||
CONFIG_BCMA=y
|
||||
CONFIG_BCMA_BLOCKIO=y
|
||||
# CONFIG_BCMA_DEBUG is not set
|
||||
# CONFIG_BCMA_DRIVER_GMAC_CMN is not set
|
||||
# CONFIG_BCMA_DRIVER_MIPS is not set
|
||||
CONFIG_BCMA_DRIVER_PCI=y
|
||||
# CONFIG_BCMA_DRIVER_PCI_HOSTMODE is not set
|
||||
CONFIG_BCMA_HOST_PCI=y
|
||||
CONFIG_BCMA_HOST_PCI_POSSIBLE=y
|
||||
# CONFIG_BCMA_HOST_SOC is not set
|
||||
CONFIG_BCM_NET_PHYLIB=y
|
||||
CONFIG_BLK_MQ_PCI=y
|
||||
CONFIG_BOARD_BCM63XX_DT=y
|
||||
CONFIG_BOARD_BCM963XX=y
|
||||
CONFIG_BOARD_LIVEBOX=y
|
||||
CONFIG_CEVT_R4K=y
|
||||
CONFIG_CLKDEV_LOOKUP=y
|
||||
CONFIG_CLONE_BACKWARDS=y
|
||||
CONFIG_CPU_BIG_ENDIAN=y
|
||||
CONFIG_CPU_BMIPS=y
|
||||
CONFIG_CPU_BMIPS32_3300=y
|
||||
CONFIG_CPU_BMIPS4350=y
|
||||
CONFIG_CPU_GENERIC_DUMP_TLB=y
|
||||
CONFIG_CPU_HAS_PREFETCH=y
|
||||
CONFIG_CPU_HAS_SYNC=y
|
||||
CONFIG_CPU_MIPS32=y
|
||||
CONFIG_CPU_NEEDS_NO_SMARTMIPS_OR_MICROMIPS=y
|
||||
CONFIG_CPU_R4K_CACHE_TLB=y
|
||||
CONFIG_CPU_R4K_FPU=y
|
||||
CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y
|
||||
CONFIG_CPU_SUPPORTS_CPUFREQ=y
|
||||
CONFIG_CPU_SUPPORTS_HIGHMEM=y
|
||||
CONFIG_CRASH_CORE=y
|
||||
CONFIG_CRYPTO_RNG2=y
|
||||
CONFIG_CRYPTO_WORKQUEUE=y
|
||||
CONFIG_CSRC_R4K=y
|
||||
CONFIG_DMA_NONCOHERENT=y
|
||||
CONFIG_DTC=y
|
||||
CONFIG_EARLY_PRINTK=y
|
||||
CONFIG_FIRMWARE_IN_KERNEL=y
|
||||
CONFIG_FIXED_PHY=y
|
||||
CONFIG_GENERIC_ATOMIC64=y
|
||||
CONFIG_GENERIC_CLOCKEVENTS=y
|
||||
CONFIG_GENERIC_CMOS_UPDATE=y
|
||||
CONFIG_GENERIC_CPU_AUTOPROBE=y
|
||||
CONFIG_GENERIC_IO=y
|
||||
CONFIG_GENERIC_IRQ_CHIP=y
|
||||
CONFIG_GENERIC_IRQ_EFFECTIVE_AFF_MASK=y
|
||||
CONFIG_GENERIC_IRQ_SHOW=y
|
||||
CONFIG_GENERIC_PCI_IOMAP=y
|
||||
CONFIG_GENERIC_PINCONF=y
|
||||
CONFIG_GENERIC_PINCTRL_GROUPS=y
|
||||
CONFIG_GENERIC_PINMUX_FUNCTIONS=y
|
||||
CONFIG_GENERIC_SCHED_CLOCK=y
|
||||
CONFIG_GENERIC_SMP_IDLE_THREAD=y
|
||||
CONFIG_GENERIC_TIME_VSYSCALL=y
|
||||
CONFIG_GPIOLIB=y
|
||||
CONFIG_GPIO_BCM63XX=y
|
||||
CONFIG_GPIO_GENERIC=y
|
||||
CONFIG_GPIO_SYSFS=y
|
||||
# CONFIG_GRO_CELLS is not set
|
||||
CONFIG_HANDLE_DOMAIN_IRQ=y
|
||||
CONFIG_HAS_DMA=y
|
||||
CONFIG_HAS_IOMEM=y
|
||||
CONFIG_HAS_IOPORT_MAP=y
|
||||
# CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set
|
||||
# CONFIG_HAVE_ARCH_BITREVERSE is not set
|
||||
CONFIG_HAVE_ARCH_JUMP_LABEL=y
|
||||
CONFIG_HAVE_ARCH_KGDB=y
|
||||
CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
|
||||
CONFIG_HAVE_ARCH_TRACEHOOK=y
|
||||
# CONFIG_HAVE_BOOTMEM_INFO_NODE is not set
|
||||
CONFIG_HAVE_CBPF_JIT=y
|
||||
CONFIG_HAVE_CC_STACKPROTECTOR=y
|
||||
CONFIG_HAVE_CLK=y
|
||||
CONFIG_HAVE_CONTEXT_TRACKING=y
|
||||
CONFIG_HAVE_COPY_THREAD_TLS=y
|
||||
CONFIG_HAVE_C_RECORDMCOUNT=y
|
||||
CONFIG_HAVE_DEBUG_KMEMLEAK=y
|
||||
CONFIG_HAVE_DEBUG_STACKOVERFLOW=y
|
||||
CONFIG_HAVE_DMA_API_DEBUG=y
|
||||
CONFIG_HAVE_DMA_CONTIGUOUS=y
|
||||
CONFIG_HAVE_DYNAMIC_FTRACE=y
|
||||
CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y
|
||||
CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y
|
||||
CONFIG_HAVE_FUNCTION_TRACER=y
|
||||
CONFIG_HAVE_GENERIC_DMA_COHERENT=y
|
||||
CONFIG_HAVE_IDE=y
|
||||
CONFIG_HAVE_IRQ_EXIT_ON_IRQ_STACK=y
|
||||
CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y
|
||||
CONFIG_HAVE_LATENCYTOP_SUPPORT=y
|
||||
CONFIG_HAVE_MEMBLOCK=y
|
||||
CONFIG_HAVE_MEMBLOCK_NODE_MAP=y
|
||||
CONFIG_HAVE_MOD_ARCH_SPECIFIC=y
|
||||
CONFIG_HAVE_NET_DSA=y
|
||||
CONFIG_HAVE_OPROFILE=y
|
||||
CONFIG_HAVE_PERF_EVENTS=y
|
||||
CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y
|
||||
CONFIG_HAVE_SYSCALL_TRACEPOINTS=y
|
||||
CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y
|
||||
CONFIG_HW_HAS_PCI=y
|
||||
CONFIG_HW_RANDOM=y
|
||||
CONFIG_HW_RANDOM_BCM63XX=y
|
||||
CONFIG_HZ=250
|
||||
# CONFIG_HZ_100 is not set
|
||||
CONFIG_HZ_250=y
|
||||
CONFIG_HZ_PERIODIC=y
|
||||
CONFIG_INITRAMFS_SOURCE=""
|
||||
CONFIG_IRQCHIP=y
|
||||
CONFIG_IRQ_DOMAIN=y
|
||||
CONFIG_IRQ_FORCED_THREADING=y
|
||||
CONFIG_IRQ_MIPS_CPU=y
|
||||
CONFIG_IRQ_WORK=y
|
||||
CONFIG_KEXEC=y
|
||||
CONFIG_KEXEC_CORE=y
|
||||
CONFIG_LEDS_BCM6328=y
|
||||
CONFIG_LEDS_BCM6358=y
|
||||
CONFIG_LEDS_GPIO=y
|
||||
CONFIG_LIBFDT=y
|
||||
CONFIG_MDIO_BUS=y
|
||||
CONFIG_MDIO_DEVICE=y
|
||||
CONFIG_MFD_SYSCON=y
|
||||
CONFIG_MIPS=y
|
||||
CONFIG_MIPS_ASID_BITS=8
|
||||
CONFIG_MIPS_ASID_SHIFT=0
|
||||
CONFIG_MIPS_CLOCK_VSYSCALL=y
|
||||
# CONFIG_MIPS_CMDLINE_DTB_EXTEND is not set
|
||||
# CONFIG_MIPS_CMDLINE_FROM_BOOTLOADER is not set
|
||||
CONFIG_MIPS_CMDLINE_FROM_DTB=y
|
||||
# CONFIG_MIPS_ELF_APPENDED_DTB is not set
|
||||
CONFIG_MIPS_EXTERNAL_TIMER=y
|
||||
# CONFIG_MIPS_HUGE_TLB_SUPPORT is not set
|
||||
CONFIG_MIPS_L1_CACHE_SHIFT=4
|
||||
CONFIG_MIPS_L1_CACHE_SHIFT_4=y
|
||||
# CONFIG_MIPS_MACHINE is not set
|
||||
# CONFIG_MIPS_NO_APPENDED_DTB is not set
|
||||
CONFIG_MIPS_RAW_APPENDED_DTB=y
|
||||
CONFIG_MODULES_USE_ELF_REL=y
|
||||
CONFIG_MODULE_FORCE_LOAD=y
|
||||
CONFIG_MODULE_FORCE_UNLOAD=y
|
||||
CONFIG_MTD_BCM63XX_PARTS=y
|
||||
CONFIG_MTD_CFI_ADV_OPTIONS=y
|
||||
CONFIG_MTD_CFI_BE_BYTE_SWAP=y
|
||||
# CONFIG_MTD_CFI_GEOMETRY is not set
|
||||
# CONFIG_MTD_CFI_NOSWAP is not set
|
||||
CONFIG_MTD_CFI_STAA=y
|
||||
# CONFIG_MTD_COMPLEX_MAPPINGS is not set
|
||||
CONFIG_MTD_JEDECPROBE=y
|
||||
CONFIG_MTD_M25P80=y
|
||||
CONFIG_MTD_PARSER_IMAGETAG=y
|
||||
CONFIG_MTD_PHYSMAP=y
|
||||
CONFIG_MTD_REDBOOT_PARTS=y
|
||||
CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED=y
|
||||
CONFIG_MTD_SPI_NOR=y
|
||||
CONFIG_NEED_DMA_MAP_STATE=y
|
||||
CONFIG_NEED_PER_CPU_KM=y
|
||||
CONFIG_NO_GENERIC_PCI_IOPORT_MAP=y
|
||||
# CONFIG_NO_IOPORT_MAP is not set
|
||||
CONFIG_OF=y
|
||||
CONFIG_OF_ADDRESS=y
|
||||
CONFIG_OF_ADDRESS_PCI=y
|
||||
CONFIG_OF_EARLY_FLATTREE=y
|
||||
CONFIG_OF_FLATTREE=y
|
||||
CONFIG_OF_GPIO=y
|
||||
CONFIG_OF_IRQ=y
|
||||
CONFIG_OF_MDIO=y
|
||||
CONFIG_OF_NET=y
|
||||
CONFIG_OF_PCI=y
|
||||
CONFIG_OF_PCI_IRQ=y
|
||||
CONFIG_PCI=y
|
||||
# CONFIG_PCIEAER is not set
|
||||
CONFIG_PCIEPORTBUS=y
|
||||
CONFIG_PCI_DOMAINS=y
|
||||
CONFIG_PCI_DRIVERS_LEGACY=y
|
||||
CONFIG_PERF_USE_VMALLOC=y
|
||||
CONFIG_PGTABLE_LEVELS=2
|
||||
CONFIG_PHYLIB=y
|
||||
CONFIG_PINCTRL=y
|
||||
CONFIG_PINCTRL_BCM6318=y
|
||||
CONFIG_PINCTRL_BCM63268=y
|
||||
CONFIG_PINCTRL_BCM6328=y
|
||||
CONFIG_PINCTRL_BCM6348=y
|
||||
CONFIG_PINCTRL_BCM6358=y
|
||||
CONFIG_PINCTRL_BCM6362=y
|
||||
CONFIG_PINCTRL_BCM6368=y
|
||||
CONFIG_PINCTRL_BCM63XX=y
|
||||
CONFIG_POSIX_MQUEUE=y
|
||||
CONFIG_POSIX_MQUEUE_SYSCTL=y
|
||||
# CONFIG_RCU_NEED_SEGCBLIST is not set
|
||||
# CONFIG_RCU_STALL_COMMON is not set
|
||||
CONFIG_REGMAP=y
|
||||
CONFIG_REGMAP_MMIO=y
|
||||
CONFIG_RELAY=y
|
||||
CONFIG_RTL8366_SMI=y
|
||||
CONFIG_RTL8367_PHY=y
|
||||
# CONFIG_SCHED_INFO is not set
|
||||
# CONFIG_SCSI_DMA is not set
|
||||
# CONFIG_SERIAL_8250 is not set
|
||||
CONFIG_SERIAL_BCM63XX=y
|
||||
CONFIG_SERIAL_BCM63XX_CONSOLE=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_SPI_BCM63XX=y
|
||||
CONFIG_SPI_BCM63XX_HSSPI=y
|
||||
CONFIG_SPI_MASTER=y
|
||||
CONFIG_SQUASHFS_EMBEDDED=y
|
||||
CONFIG_SRCU=y
|
||||
CONFIG_SSB=y
|
||||
CONFIG_SSB_B43_PCI_BRIDGE=y
|
||||
CONFIG_SSB_BLOCKIO=y
|
||||
# CONFIG_SSB_DRIVER_MIPS is not set
|
||||
CONFIG_SSB_DRIVER_PCICORE=y
|
||||
CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y
|
||||
CONFIG_SSB_PCIHOST=y
|
||||
CONFIG_SSB_PCIHOST_POSSIBLE=y
|
||||
CONFIG_SSB_SPROM=y
|
||||
CONFIG_SWAP_IO_SPACE=y
|
||||
CONFIG_SWCONFIG=y
|
||||
CONFIG_SWCONFIG_B53=y
|
||||
CONFIG_SWCONFIG_B53_MMAP_DRIVER=y
|
||||
CONFIG_SWCONFIG_B53_PHY_DRIVER=y
|
||||
CONFIG_SWCONFIG_B53_PHY_FIXUP=y
|
||||
CONFIG_SWCONFIG_B53_SPI_DRIVER=y
|
||||
# CONFIG_SWCONFIG_B53_SRAB_DRIVER is not set
|
||||
CONFIG_SWPHY=y
|
||||
CONFIG_SYNC_R4K=y
|
||||
CONFIG_SYSCTL_EXCEPTION_TRACE=y
|
||||
CONFIG_SYS_HAS_CPU_BMIPS=y
|
||||
CONFIG_SYS_HAS_CPU_BMIPS32_3300=y
|
||||
CONFIG_SYS_HAS_CPU_BMIPS4350=y
|
||||
CONFIG_SYS_HAS_EARLY_PRINTK=y
|
||||
CONFIG_SYS_SUPPORTS_32BIT_KERNEL=y
|
||||
CONFIG_SYS_SUPPORTS_ARBIT_HZ=y
|
||||
CONFIG_SYS_SUPPORTS_BIG_ENDIAN=y
|
||||
CONFIG_SYS_SUPPORTS_HOTPLUG_CPU=y
|
||||
CONFIG_SYS_SUPPORTS_SMP=y
|
||||
CONFIG_TICK_CPU_ACCOUNTING=y
|
||||
CONFIG_TINY_SRCU=y
|
||||
CONFIG_USB_SUPPORT=y
|
||||
CONFIG_USE_OF=y
|
||||
CONFIG_VM_EVENT_COUNTERS=y
|
||||
CONFIG_WATCHDOG_NOWAYOUT=y
|
||||
CONFIG_WEAK_ORDERING=y
|
||||
262
target/linux/brcm63xx/config-4.9
Normal file
262
target/linux/brcm63xx/config-4.9
Normal file
@@ -0,0 +1,262 @@
|
||||
CONFIG_ARCH_BINFMT_ELF_STATE=y
|
||||
CONFIG_ARCH_CLOCKSOURCE_DATA=y
|
||||
CONFIG_ARCH_DISCARD_MEMBLOCK=y
|
||||
CONFIG_ARCH_HAS_ELF_RANDOMIZE=y
|
||||
# CONFIG_ARCH_HAS_GCOV_PROFILE_ALL is not set
|
||||
# CONFIG_ARCH_HAS_SG_CHAIN is not set
|
||||
CONFIG_ARCH_HIBERNATION_POSSIBLE=y
|
||||
CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y
|
||||
CONFIG_ARCH_MIGHT_HAVE_PC_SERIO=y
|
||||
CONFIG_ARCH_SUPPORTS_UPROBES=y
|
||||
CONFIG_ARCH_SUSPEND_POSSIBLE=y
|
||||
CONFIG_ARCH_USE_BUILTIN_BSWAP=y
|
||||
CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y
|
||||
CONFIG_BCM6345_EXT_IRQ=y
|
||||
CONFIG_BCM6345_PERIPH_IRQ=y
|
||||
CONFIG_BCM63XX=y
|
||||
CONFIG_BCM63XX_CPU_3368=y
|
||||
CONFIG_BCM63XX_CPU_6318=y
|
||||
CONFIG_BCM63XX_CPU_63268=y
|
||||
CONFIG_BCM63XX_CPU_6328=y
|
||||
CONFIG_BCM63XX_CPU_6338=y
|
||||
CONFIG_BCM63XX_CPU_6345=y
|
||||
CONFIG_BCM63XX_CPU_6348=y
|
||||
CONFIG_BCM63XX_CPU_6358=y
|
||||
CONFIG_BCM63XX_CPU_6362=y
|
||||
CONFIG_BCM63XX_CPU_6368=y
|
||||
CONFIG_BCM63XX_EHCI=y
|
||||
CONFIG_BCM63XX_ENET=y
|
||||
CONFIG_BCM63XX_OHCI=y
|
||||
CONFIG_BCM63XX_PHY=y
|
||||
CONFIG_BCM63XX_WDT=y
|
||||
CONFIG_BCMA=y
|
||||
CONFIG_BCMA_BLOCKIO=y
|
||||
# CONFIG_BCMA_DEBUG is not set
|
||||
# CONFIG_BCMA_DRIVER_GMAC_CMN is not set
|
||||
# CONFIG_BCMA_DRIVER_MIPS is not set
|
||||
CONFIG_BCMA_DRIVER_PCI=y
|
||||
# CONFIG_BCMA_DRIVER_PCI_HOSTMODE is not set
|
||||
CONFIG_BCMA_HOST_PCI=y
|
||||
CONFIG_BCMA_HOST_PCI_POSSIBLE=y
|
||||
# CONFIG_BCMA_HOST_SOC is not set
|
||||
CONFIG_BCM_NET_PHYLIB=y
|
||||
CONFIG_BLK_MQ_PCI=y
|
||||
CONFIG_BOARD_BCM63XX_DT=y
|
||||
CONFIG_BOARD_BCM963XX=y
|
||||
CONFIG_BOARD_LIVEBOX=y
|
||||
CONFIG_CEVT_R4K=y
|
||||
CONFIG_CLKDEV_LOOKUP=y
|
||||
CONFIG_CLONE_BACKWARDS=y
|
||||
CONFIG_CPU_BIG_ENDIAN=y
|
||||
CONFIG_CPU_BMIPS=y
|
||||
CONFIG_CPU_BMIPS32_3300=y
|
||||
CONFIG_CPU_BMIPS4350=y
|
||||
CONFIG_CPU_GENERIC_DUMP_TLB=y
|
||||
CONFIG_CPU_HAS_PREFETCH=y
|
||||
CONFIG_CPU_HAS_SYNC=y
|
||||
CONFIG_CPU_MIPS32=y
|
||||
CONFIG_CPU_NEEDS_NO_SMARTMIPS_OR_MICROMIPS=y
|
||||
CONFIG_CPU_R4K_CACHE_TLB=y
|
||||
CONFIG_CPU_R4K_FPU=y
|
||||
CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y
|
||||
CONFIG_CPU_SUPPORTS_HIGHMEM=y
|
||||
CONFIG_CRYPTO_RNG2=y
|
||||
CONFIG_CRYPTO_WORKQUEUE=y
|
||||
CONFIG_CSRC_R4K=y
|
||||
CONFIG_DMA_NONCOHERENT=y
|
||||
CONFIG_DTC=y
|
||||
CONFIG_EARLY_PRINTK=y
|
||||
CONFIG_FIRMWARE_IN_KERNEL=y
|
||||
CONFIG_FIXED_PHY=y
|
||||
CONFIG_GENERIC_ATOMIC64=y
|
||||
CONFIG_GENERIC_CLOCKEVENTS=y
|
||||
CONFIG_GENERIC_CMOS_UPDATE=y
|
||||
CONFIG_GENERIC_IO=y
|
||||
CONFIG_GENERIC_IRQ_CHIP=y
|
||||
CONFIG_GENERIC_IRQ_SHOW=y
|
||||
CONFIG_GENERIC_PCI_IOMAP=y
|
||||
CONFIG_GENERIC_PINCONF=y
|
||||
CONFIG_GENERIC_SCHED_CLOCK=y
|
||||
CONFIG_GENERIC_SMP_IDLE_THREAD=y
|
||||
CONFIG_GENERIC_TIME_VSYSCALL=y
|
||||
CONFIG_GPIOLIB=y
|
||||
CONFIG_GPIO_BCM63XX=y
|
||||
CONFIG_GPIO_GENERIC=y
|
||||
CONFIG_GPIO_SYSFS=y
|
||||
CONFIG_HANDLE_DOMAIN_IRQ=y
|
||||
CONFIG_HAS_DMA=y
|
||||
CONFIG_HAS_IOMEM=y
|
||||
CONFIG_HAS_IOPORT_MAP=y
|
||||
# CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set
|
||||
# CONFIG_HAVE_ARCH_BITREVERSE is not set
|
||||
CONFIG_HAVE_ARCH_JUMP_LABEL=y
|
||||
CONFIG_HAVE_ARCH_KGDB=y
|
||||
CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
|
||||
CONFIG_HAVE_ARCH_TRACEHOOK=y
|
||||
# CONFIG_HAVE_BOOTMEM_INFO_NODE is not set
|
||||
CONFIG_HAVE_CBPF_JIT=y
|
||||
CONFIG_HAVE_CC_STACKPROTECTOR=y
|
||||
CONFIG_HAVE_CLK=y
|
||||
CONFIG_HAVE_CONTEXT_TRACKING=y
|
||||
CONFIG_HAVE_C_RECORDMCOUNT=y
|
||||
CONFIG_HAVE_DEBUG_KMEMLEAK=y
|
||||
CONFIG_HAVE_DEBUG_STACKOVERFLOW=y
|
||||
CONFIG_HAVE_DMA_API_DEBUG=y
|
||||
CONFIG_HAVE_DMA_CONTIGUOUS=y
|
||||
CONFIG_HAVE_DYNAMIC_FTRACE=y
|
||||
CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y
|
||||
CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y
|
||||
CONFIG_HAVE_FUNCTION_TRACER=y
|
||||
CONFIG_HAVE_GENERIC_DMA_COHERENT=y
|
||||
CONFIG_HAVE_IDE=y
|
||||
CONFIG_HAVE_IRQ_EXIT_ON_IRQ_STACK=y
|
||||
CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y
|
||||
CONFIG_HAVE_LATENCYTOP_SUPPORT=y
|
||||
CONFIG_HAVE_MEMBLOCK=y
|
||||
CONFIG_HAVE_MEMBLOCK_NODE_MAP=y
|
||||
CONFIG_HAVE_MOD_ARCH_SPECIFIC=y
|
||||
CONFIG_HAVE_NET_DSA=y
|
||||
CONFIG_HAVE_OPROFILE=y
|
||||
CONFIG_HAVE_PERF_EVENTS=y
|
||||
CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y
|
||||
CONFIG_HAVE_SYSCALL_TRACEPOINTS=y
|
||||
CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y
|
||||
CONFIG_HW_HAS_PCI=y
|
||||
CONFIG_HW_RANDOM=y
|
||||
CONFIG_HW_RANDOM_BCM63XX=y
|
||||
CONFIG_HZ=250
|
||||
# CONFIG_HZ_100 is not set
|
||||
CONFIG_HZ_250=y
|
||||
CONFIG_HZ_PERIODIC=y
|
||||
CONFIG_INITRAMFS_SOURCE=""
|
||||
CONFIG_IRQCHIP=y
|
||||
CONFIG_IRQ_DOMAIN=y
|
||||
CONFIG_IRQ_FORCED_THREADING=y
|
||||
CONFIG_IRQ_MIPS_CPU=y
|
||||
CONFIG_IRQ_WORK=y
|
||||
CONFIG_KEXEC=y
|
||||
CONFIG_KEXEC_CORE=y
|
||||
CONFIG_LEDS_BCM6328=y
|
||||
CONFIG_LEDS_BCM6358=y
|
||||
CONFIG_LEDS_GPIO=y
|
||||
CONFIG_LIBFDT=y
|
||||
CONFIG_MDIO_BOARDINFO=y
|
||||
CONFIG_MFD_SYSCON=y
|
||||
CONFIG_MIGRATION=y
|
||||
CONFIG_MIPS=y
|
||||
CONFIG_MIPS_ASID_BITS=8
|
||||
CONFIG_MIPS_ASID_SHIFT=0
|
||||
CONFIG_MIPS_CLOCK_VSYSCALL=y
|
||||
# CONFIG_MIPS_CMDLINE_DTB_EXTEND is not set
|
||||
# CONFIG_MIPS_CMDLINE_FROM_BOOTLOADER is not set
|
||||
CONFIG_MIPS_CMDLINE_FROM_DTB=y
|
||||
# CONFIG_MIPS_ELF_APPENDED_DTB is not set
|
||||
# CONFIG_MIPS_HUGE_TLB_SUPPORT is not set
|
||||
CONFIG_MIPS_L1_CACHE_SHIFT=4
|
||||
CONFIG_MIPS_L1_CACHE_SHIFT_4=y
|
||||
# CONFIG_MIPS_MACHINE is not set
|
||||
# CONFIG_MIPS_NO_APPENDED_DTB is not set
|
||||
CONFIG_MIPS_RAW_APPENDED_DTB=y
|
||||
CONFIG_MODULES_USE_ELF_REL=y
|
||||
CONFIG_MODULE_FORCE_LOAD=y
|
||||
CONFIG_MODULE_FORCE_UNLOAD=y
|
||||
CONFIG_MTD_BCM63XX_PARTS=y
|
||||
CONFIG_MTD_CFI_ADV_OPTIONS=y
|
||||
CONFIG_MTD_CFI_BE_BYTE_SWAP=y
|
||||
# CONFIG_MTD_CFI_GEOMETRY is not set
|
||||
# CONFIG_MTD_CFI_NOSWAP is not set
|
||||
CONFIG_MTD_CFI_STAA=y
|
||||
# CONFIG_MTD_COMPLEX_MAPPINGS is not set
|
||||
CONFIG_MTD_JEDECPROBE=y
|
||||
CONFIG_MTD_M25P80=y
|
||||
CONFIG_MTD_PARSER_IMAGETAG=y
|
||||
CONFIG_MTD_PHYSMAP=y
|
||||
CONFIG_MTD_REDBOOT_PARTS=y
|
||||
CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED=y
|
||||
CONFIG_MTD_SPI_NOR=y
|
||||
CONFIG_NEED_DMA_MAP_STATE=y
|
||||
CONFIG_NEED_PER_CPU_KM=y
|
||||
CONFIG_NO_GENERIC_PCI_IOPORT_MAP=y
|
||||
# CONFIG_NO_IOPORT_MAP is not set
|
||||
CONFIG_OF=y
|
||||
CONFIG_OF_ADDRESS=y
|
||||
CONFIG_OF_ADDRESS_PCI=y
|
||||
CONFIG_OF_EARLY_FLATTREE=y
|
||||
CONFIG_OF_FLATTREE=y
|
||||
CONFIG_OF_GPIO=y
|
||||
CONFIG_OF_IRQ=y
|
||||
CONFIG_OF_MDIO=y
|
||||
CONFIG_OF_NET=y
|
||||
CONFIG_OF_PCI=y
|
||||
CONFIG_OF_PCI_IRQ=y
|
||||
CONFIG_PCI=y
|
||||
# CONFIG_PCIEAER is not set
|
||||
CONFIG_PCIEPORTBUS=y
|
||||
CONFIG_PCI_DOMAINS=y
|
||||
CONFIG_PCI_DRIVERS_LEGACY=y
|
||||
CONFIG_PERF_USE_VMALLOC=y
|
||||
CONFIG_PGTABLE_LEVELS=2
|
||||
CONFIG_PHYLIB=y
|
||||
CONFIG_PINCTRL=y
|
||||
CONFIG_PINCTRL_BCM6318=y
|
||||
CONFIG_PINCTRL_BCM63268=y
|
||||
CONFIG_PINCTRL_BCM6328=y
|
||||
CONFIG_PINCTRL_BCM6348=y
|
||||
CONFIG_PINCTRL_BCM6358=y
|
||||
CONFIG_PINCTRL_BCM6362=y
|
||||
CONFIG_PINCTRL_BCM6368=y
|
||||
CONFIG_PINCTRL_BCM63XX=y
|
||||
CONFIG_POSIX_MQUEUE=y
|
||||
CONFIG_POSIX_MQUEUE_SYSCTL=y
|
||||
# CONFIG_RCU_STALL_COMMON is not set
|
||||
CONFIG_REGMAP=y
|
||||
CONFIG_REGMAP_MMIO=y
|
||||
CONFIG_RELAY=y
|
||||
CONFIG_RTL8366_SMI=y
|
||||
CONFIG_RTL8367_PHY=y
|
||||
# CONFIG_SCHED_INFO is not set
|
||||
# CONFIG_SCSI_DMA is not set
|
||||
# CONFIG_SERIAL_8250 is not set
|
||||
CONFIG_SERIAL_BCM63XX=y
|
||||
CONFIG_SERIAL_BCM63XX_CONSOLE=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_SPI_BCM63XX=y
|
||||
CONFIG_SPI_BCM63XX_HSSPI=y
|
||||
CONFIG_SPI_MASTER=y
|
||||
CONFIG_SQUASHFS_EMBEDDED=y
|
||||
CONFIG_SRCU=y
|
||||
CONFIG_SSB=y
|
||||
CONFIG_SSB_B43_PCI_BRIDGE=y
|
||||
CONFIG_SSB_BLOCKIO=y
|
||||
# CONFIG_SSB_DRIVER_MIPS is not set
|
||||
CONFIG_SSB_DRIVER_PCICORE=y
|
||||
CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y
|
||||
CONFIG_SSB_PCIHOST=y
|
||||
CONFIG_SSB_PCIHOST_POSSIBLE=y
|
||||
CONFIG_SSB_SPROM=y
|
||||
CONFIG_SWAP_IO_SPACE=y
|
||||
CONFIG_SWCONFIG=y
|
||||
CONFIG_SWCONFIG_B53=y
|
||||
CONFIG_SWCONFIG_B53_MMAP_DRIVER=y
|
||||
CONFIG_SWCONFIG_B53_PHY_DRIVER=y
|
||||
CONFIG_SWCONFIG_B53_PHY_FIXUP=y
|
||||
CONFIG_SWCONFIG_B53_SPI_DRIVER=y
|
||||
# CONFIG_SWCONFIG_B53_SRAB_DRIVER is not set
|
||||
CONFIG_SWPHY=y
|
||||
CONFIG_SYNC_R4K=y
|
||||
CONFIG_SYSCTL_EXCEPTION_TRACE=y
|
||||
CONFIG_SYS_HAS_CPU_BMIPS=y
|
||||
CONFIG_SYS_HAS_CPU_BMIPS32_3300=y
|
||||
CONFIG_SYS_HAS_CPU_BMIPS4350=y
|
||||
CONFIG_SYS_HAS_EARLY_PRINTK=y
|
||||
CONFIG_SYS_SUPPORTS_32BIT_KERNEL=y
|
||||
CONFIG_SYS_SUPPORTS_ARBIT_HZ=y
|
||||
CONFIG_SYS_SUPPORTS_BIG_ENDIAN=y
|
||||
CONFIG_SYS_SUPPORTS_HOTPLUG_CPU=y
|
||||
CONFIG_SYS_SUPPORTS_SMP=y
|
||||
CONFIG_TICK_CPU_ACCOUNTING=y
|
||||
CONFIG_USB_SUPPORT=y
|
||||
CONFIG_USE_OF=y
|
||||
CONFIG_VM_EVENT_COUNTERS=y
|
||||
CONFIG_WATCHDOG_NOWAYOUT=y
|
||||
CONFIG_WEAK_ORDERING=y
|
||||
123
target/linux/brcm63xx/dts/a226g.dts
Normal file
123
target/linux/brcm63xx/dts/a226g.dts
Normal file
@@ -0,0 +1,123 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6358.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Pirelli A226G";
|
||||
compatible = "pirelli,a226g", "brcm,bcm6358";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
wps {
|
||||
label = "wps";
|
||||
gpios = <&pinctrl 34 1>;
|
||||
linux,code = <KEY_WPS_BUTTON>;
|
||||
};
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 37 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
voip_red {
|
||||
label = "DWV-S0:red:VoIP";
|
||||
gpios = <&pinctrl 0 1>;
|
||||
};
|
||||
eth_red {
|
||||
label = "DWV-S0:red:ethernet";
|
||||
gpios = <&pinctrl 1 1>;
|
||||
};
|
||||
dsl_green {
|
||||
label = "DWV-S0:green:ADSL";
|
||||
gpios = <&pinctrl 2 1>;
|
||||
};
|
||||
usb_green {
|
||||
label = "DWV-S0:green:USB";
|
||||
gpios = <&pinctrl 3 1>;
|
||||
};
|
||||
power_green {
|
||||
label = "DWV-S0:green:power";
|
||||
gpios = <&pinctrl 4 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
power_red {
|
||||
label = "DWV-S0:red:power";
|
||||
gpios = <&pinctrl 5 1>;
|
||||
};
|
||||
inet_red {
|
||||
label = "DWV-S0:red:internet";
|
||||
gpios = <&pinctrl 6 1>;
|
||||
};
|
||||
inet_green {
|
||||
label = "DWV-S0:green:internet";
|
||||
gpios = <&pinctrl 7 1>;
|
||||
};
|
||||
eth_green {
|
||||
label = "DWV-S0:green:ethernet";
|
||||
gpios = <&pinctrl 8 1>;
|
||||
};
|
||||
voip_green {
|
||||
label = "DWV-S0:green:VoIP";
|
||||
gpios = <&pinctrl 9 1>;
|
||||
};
|
||||
wifi_red {
|
||||
label = "DWV-S0:red:wifi";
|
||||
gpios = <&pinctrl 10 1>;
|
||||
};
|
||||
usb_red {
|
||||
label = "DWV-S0:red:USB";
|
||||
gpios = <&pinctrl 11 1>;
|
||||
};
|
||||
dsl_red {
|
||||
label = "DWV-S0:red:ADSL";
|
||||
gpios = <&pinctrl 12 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x010000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@10000 {
|
||||
label = "linux";
|
||||
reg = <0x010000 0x7e0000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@7f0000 {
|
||||
label = "nvram";
|
||||
reg = <0x7f0000 0x010000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
123
target/linux/brcm63xx/dts/a226m-fwb.dts
Normal file
123
target/linux/brcm63xx/dts/a226m-fwb.dts
Normal file
@@ -0,0 +1,123 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6358.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Pirelli A226M-FWB";
|
||||
compatible = "pirelli,a226m-fwb", "brcm,bcm6358";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
wps {
|
||||
label = "wps";
|
||||
gpios = <&pinctrl 34 1>;
|
||||
linux,code = <KEY_WPS_BUTTON>;
|
||||
};
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 37 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
voip_red {
|
||||
label = "DWV-S0:red:VoIP";
|
||||
gpios = <&pinctrl 0 1>;
|
||||
};
|
||||
eth_red {
|
||||
label = "DWV-S0:red:ethernet";
|
||||
gpios = <&pinctrl 1 1>;
|
||||
};
|
||||
dsl_green {
|
||||
label = "DWV-S0:green:ADSL";
|
||||
gpios = <&pinctrl 2 1>;
|
||||
};
|
||||
usb_green {
|
||||
label = "DWV-S0:green:USB";
|
||||
gpios = <&pinctrl 3 1>;
|
||||
};
|
||||
power_green {
|
||||
label = "DWV-S0:green:power";
|
||||
gpios = <&pinctrl 4 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
power_red {
|
||||
label = "DWV-S0:red:power";
|
||||
gpios = <&pinctrl 5 1>;
|
||||
};
|
||||
inet_red {
|
||||
label = "DWV-S0:red:internet";
|
||||
gpios = <&pinctrl 6 1>;
|
||||
};
|
||||
inet_green {
|
||||
label = "DWV-S0:green:internet";
|
||||
gpios = <&pinctrl 7 1>;
|
||||
};
|
||||
eth_green {
|
||||
label = "DWV-S0:green:ethernet";
|
||||
gpios = <&pinctrl 8 1>;
|
||||
};
|
||||
voip_green {
|
||||
label = "DWV-S0:green:VoIP";
|
||||
gpios = <&pinctrl 9 1>;
|
||||
};
|
||||
wifi_red {
|
||||
label = "DWV-S0:red:wifi";
|
||||
gpios = <&pinctrl 10 1>;
|
||||
};
|
||||
usb_red {
|
||||
label = "DWV-S0:red:USB";
|
||||
gpios = <&pinctrl 11 1>;
|
||||
};
|
||||
dsl_red {
|
||||
label = "DWV-S0:red:ADSL";
|
||||
gpios = <&pinctrl 12 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
partition@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x020000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@20000 {
|
||||
label = "linux";
|
||||
reg = <0x020000 0xfc0000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
partition@fe0000 {
|
||||
label = "nvram";
|
||||
reg = <0xfe0000 0x020000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
123
target/linux/brcm63xx/dts/a226m.dts
Normal file
123
target/linux/brcm63xx/dts/a226m.dts
Normal file
@@ -0,0 +1,123 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6358.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Pirelli A226M";
|
||||
compatible = "pirelli,a226m", "brcm,bcm6358";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
wps {
|
||||
label = "wps";
|
||||
gpios = <&pinctrl 34 1>;
|
||||
linux,code = <KEY_WPS_BUTTON>;
|
||||
};
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 37 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
voip_red {
|
||||
label = "DWV-S0:red:VoIP";
|
||||
gpios = <&pinctrl 0 1>;
|
||||
};
|
||||
eth_red {
|
||||
label = "DWV-S0:red:ethernet";
|
||||
gpios = <&pinctrl 1 1>;
|
||||
};
|
||||
dsl_green {
|
||||
label = "DWV-S0:green:ADSL";
|
||||
gpios = <&pinctrl 2 1>;
|
||||
};
|
||||
usb_green {
|
||||
label = "DWV-S0:green:USB";
|
||||
gpios = <&pinctrl 3 1>;
|
||||
};
|
||||
power_green {
|
||||
label = "DWV-S0:green:power";
|
||||
gpios = <&pinctrl 4 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
power_red {
|
||||
label = "DWV-S0:red:power";
|
||||
gpios = <&pinctrl 5 1>;
|
||||
};
|
||||
inet_red {
|
||||
label = "DWV-S0:red:internet";
|
||||
gpios = <&pinctrl 6 1>;
|
||||
};
|
||||
inet_green {
|
||||
label = "DWV-S0:green:internet";
|
||||
gpios = <&pinctrl 7 1>;
|
||||
};
|
||||
eth_green {
|
||||
label = "DWV-S0:green:ethernet";
|
||||
gpios = <&pinctrl 8 1>;
|
||||
};
|
||||
voip_green {
|
||||
label = "DWV-S0:green:VoIP";
|
||||
gpios = <&pinctrl 9 1>;
|
||||
};
|
||||
wifi_red {
|
||||
label = "DWV-S0:red:wifi";
|
||||
gpios = <&pinctrl 10 1>;
|
||||
};
|
||||
usb_red {
|
||||
label = "DWV-S0:red:USB";
|
||||
gpios = <&pinctrl 11 1>;
|
||||
};
|
||||
dsl_red {
|
||||
label = "DWV-S0:red:ADSL";
|
||||
gpios = <&pinctrl 12 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x010000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@10000 {
|
||||
label = "linux";
|
||||
reg = <0x010000 0x7e0000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@7f0000 {
|
||||
label = "nvram";
|
||||
reg = <0x7f0000 0x010000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
99
target/linux/brcm63xx/dts/a4001n.dts
Normal file
99
target/linux/brcm63xx/dts/a4001n.dts
Normal file
@@ -0,0 +1,99 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6328.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "ADB P.DG A4001N";
|
||||
compatible = "adb,a4001n", "brcm,bcm6328";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 23 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
wps {
|
||||
label = "wps";
|
||||
gpios = <&pinctrl 24 1>;
|
||||
linux,code = <KEY_WPS_BUTTON>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
inet_red {
|
||||
label = "A4001N:red:inet";
|
||||
gpios = <&pinctrl 1 0>;
|
||||
};
|
||||
power_red {
|
||||
label = "A4001N:red:power";
|
||||
gpios = <&pinctrl 4 0>;
|
||||
};
|
||||
power_green {
|
||||
label = "A4001N:green:power";
|
||||
gpios = <&pinctrl 8 0>;
|
||||
default-state = "on";
|
||||
};
|
||||
usb_green {
|
||||
label = "A4001N:green:usb";
|
||||
gpios = <&pinctrl 10 1>;
|
||||
};
|
||||
dsl_green {
|
||||
label = "A4001N:green:dsl";
|
||||
gpios = <&pinctrl 11 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&hsspi {
|
||||
status = "ok";
|
||||
|
||||
flash@0 {
|
||||
compatible = "jedec,spi-nor";
|
||||
spi-max-frequency = <16666667>;
|
||||
spi-tx-bus-width = <2>;
|
||||
spi-rx-bus-width = <2>;
|
||||
reg = <0>;
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
reg = <0x000000 0x010000>;
|
||||
label = "cfe";
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@10000 {
|
||||
reg = <0x010000 0x7e0000>;
|
||||
label = "linux";
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@7f0000 {
|
||||
reg = <0x7f0000 0x010000>;
|
||||
label = "nvram";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
130
target/linux/brcm63xx/dts/a4001n1.dts
Normal file
130
target/linux/brcm63xx/dts/a4001n1.dts
Normal file
@@ -0,0 +1,130 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6328.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "ADB P.DG A4001N1";
|
||||
compatible = "adb,a4001n1", "brcm,bcm6328";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 23 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
wps {
|
||||
label = "wlan";
|
||||
gpios = <&pinctrl 24 1>;
|
||||
linux,code = <KEY_WLAN>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
inet_red {
|
||||
label = "A4001N1:red:inet";
|
||||
gpios = <&pinctrl 2 1>;
|
||||
};
|
||||
ppp_green {
|
||||
label = "A4001N1:green:ppp";
|
||||
gpios = <&pinctrl 3 1>;
|
||||
};
|
||||
power_green {
|
||||
label = "A4001N1:green:power";
|
||||
gpios = <&pinctrl 4 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
ppp_red {
|
||||
label = "A4001N1:red:ppp";
|
||||
gpios = <&pinctrl 5 1>;
|
||||
};
|
||||
usb_green {
|
||||
label = "A4001N1:green:3g";
|
||||
gpios = <&pinctrl 6 1>;
|
||||
};
|
||||
usb_red {
|
||||
label = "A4001N1:red:3g";
|
||||
gpios = <&pinctrl 7 1>;
|
||||
};
|
||||
power_red {
|
||||
label = "A4001N1:red:power";
|
||||
gpios = <&pinctrl 8 1>;
|
||||
};
|
||||
wlan_green {
|
||||
label = "A4001N1:green:wlan";
|
||||
gpios = <&pinctrl 9 1>;
|
||||
};
|
||||
wlan_red {
|
||||
label = "A4001N1:red:wlan";
|
||||
gpios = <&pinctrl 10 1>;
|
||||
};
|
||||
inet_green {
|
||||
label = "A4001N1:green:inet";
|
||||
gpios = <&pinctrl 11 1>;
|
||||
};
|
||||
eth_red {
|
||||
label = "A4001N1:red:eth";
|
||||
gpios = <&pinctrl 20 1>;
|
||||
};
|
||||
eth_green {
|
||||
label = "A4001N1:green:eth";
|
||||
gpios = <&pinctrl 31 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&hsspi {
|
||||
status = "ok";
|
||||
|
||||
flash@0 {
|
||||
compatible = "jedec,spi-nor";
|
||||
spi-max-frequency = <16666667>;
|
||||
spi-tx-bus-width = <2>;
|
||||
spi-rx-bus-width = <2>;
|
||||
reg = <0>;
|
||||
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
reg = <0x000000 0x010000>;
|
||||
label = "cfe";
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@10000 {
|
||||
reg = <0x010000 0xfe0000>;
|
||||
label = "linux";
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@ff0000 {
|
||||
reg = <0xff0000 0x010000>;
|
||||
label = "nvram";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
143
target/linux/brcm63xx/dts/ad1018-nor.dts
Normal file
143
target/linux/brcm63xx/dts/ad1018-nor.dts
Normal file
@@ -0,0 +1,143 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6328.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Sercomm AD1018 (SPI flash mod)";
|
||||
compatible = "sercomm,ad1018-nor", "brcm,bcm6328";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
wps {
|
||||
label = "wps";
|
||||
gpios = <&pinctrl 24 1>;
|
||||
linux,code = <KEY_WPS_BUTTON>;
|
||||
};
|
||||
wifi {
|
||||
label = "wifi";
|
||||
gpios = <&pinctrl 25 1>;
|
||||
linux,code = <KEY_WLAN>;
|
||||
};
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 31 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
pinctrl_leds: leds {
|
||||
function = "led";
|
||||
pins = "gpio0", "gpio1";
|
||||
};
|
||||
};
|
||||
|
||||
&leds {
|
||||
status = "ok";
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_leds &pinctrl_serial_led
|
||||
&pinctrl_ephy0_spd_led &pinctrl_ephy1_act_led
|
||||
&pinctrl_ephy2_act_led &pinctrl_ephy3_act_led>;
|
||||
|
||||
brcm,serial-leds;
|
||||
brcm,serial-shift-inv;
|
||||
brcm,serial-dat-low;
|
||||
|
||||
inet_red@0 {
|
||||
reg = <0>;
|
||||
active-low;
|
||||
label = "AD1018:red:internet";
|
||||
};
|
||||
|
||||
inet_green@1 {
|
||||
reg = <1>;
|
||||
active-low;
|
||||
label = "AD1018:green:internet";
|
||||
};
|
||||
|
||||
power_green@8 {
|
||||
reg = <8>;
|
||||
active-low;
|
||||
label = "AD1018:green:power";
|
||||
default-state = "on";
|
||||
};
|
||||
|
||||
adsl_green@10 {
|
||||
reg = <10>;
|
||||
active-low;
|
||||
label = "AD1018:green:adsl";
|
||||
};
|
||||
|
||||
adsl_red@11 {
|
||||
reg = <11>;
|
||||
active-low;
|
||||
label = "AD1018:red:adsl";
|
||||
};
|
||||
|
||||
phone_green@12 {
|
||||
reg = <12>;
|
||||
active-low;
|
||||
label = "AD1018:green:phone";
|
||||
};
|
||||
|
||||
wps_green@13 {
|
||||
reg = <13>;
|
||||
active-low;
|
||||
label = "AD1018:green:wps";
|
||||
};
|
||||
|
||||
wifi_green@14 {
|
||||
reg = <14>;
|
||||
active-low;
|
||||
label = "AD1018:green:wifi";
|
||||
};
|
||||
|
||||
usb_green@15 {
|
||||
reg = <15>;
|
||||
active-low;
|
||||
label = "AD1018:green:usb";
|
||||
};
|
||||
|
||||
ephy0_spd@17 {
|
||||
reg = <17>;
|
||||
brcm,hardware-controlled;
|
||||
};
|
||||
};
|
||||
|
||||
&hsspi {
|
||||
status = "ok";
|
||||
|
||||
flash@0 {
|
||||
compatible = "jedec,spi-nor";
|
||||
spi-max-frequency = <16666667>;
|
||||
spi-tx-bus-width = <2>;
|
||||
spi-rx-bus-width = <2>;
|
||||
reg = <0>;
|
||||
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
partitions {
|
||||
compatible = "brcm,bcm963xx-cfe-nor-partitions";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
127
target/linux/brcm63xx/dts/agpf-s0.dts
Normal file
127
target/linux/brcm63xx/dts/agpf-s0.dts
Normal file
@@ -0,0 +1,127 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6358.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Pirelli Alice Gate AGPF-S0";
|
||||
compatible = "pirelli,agpf-s0", "brcm,bcm6358";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
wps {
|
||||
label = "wps";
|
||||
gpios = <&pinctrl 34 1>;
|
||||
linux,code = <KEY_WPS_BUTTON>;
|
||||
};
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 37 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power_green {
|
||||
label = "AGPF-S0:green:power";
|
||||
gpios = <&pinctrl 4 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
power_red {
|
||||
label = "AGPF-S0:red:power";
|
||||
gpios = <&pinctrl 5 1>;
|
||||
};
|
||||
service_green {
|
||||
label = "AGPF-S0:green:service";
|
||||
gpios = <&pinctrl 6 1>;
|
||||
};
|
||||
service_red {
|
||||
label = "AGPF-S0:red:service";
|
||||
gpios = <&pinctrl 7 1>;
|
||||
};
|
||||
dsl_green {
|
||||
label = "AGPF-S0:green:adsl";
|
||||
gpios = <&pinctrl 9 1>;
|
||||
};
|
||||
dsl_red {
|
||||
label = "AGPF-S0:red:adsl";
|
||||
gpios = <&pinctrl 10 1>;
|
||||
};
|
||||
wifi_green {
|
||||
label = "AGPF-S0:green:wifi";
|
||||
gpios = <&pinctrl 22 1>;
|
||||
};
|
||||
wifi_red {
|
||||
label = "AGPF-S0:red:wifi";
|
||||
gpios = <&pinctrl 23 1>;
|
||||
};
|
||||
inet_red {
|
||||
label = "AGPF-S0:red:internet";
|
||||
gpios = <&pinctrl 24 1>;
|
||||
};
|
||||
inet_green {
|
||||
label = "AGPF-S0:green:internet";
|
||||
gpios = <&pinctrl 25 1>;
|
||||
};
|
||||
usr1_green {
|
||||
label = "AGPF-S0:green:usr1";
|
||||
gpios = <&pinctrl 26 1>;
|
||||
};
|
||||
usr1_red {
|
||||
label = "AGPF-S0:red:usr1";
|
||||
gpios = <&pinctrl 27 1>;
|
||||
};
|
||||
usr2_green {
|
||||
label = "AGPF-S0:green:usr2";
|
||||
gpios = <&pinctrl 29 1>;
|
||||
};
|
||||
usr2_red {
|
||||
label = "AGPF-S0:red:usr2";
|
||||
gpios = <&pinctrl 30 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x020000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@20000 {
|
||||
label = "linux";
|
||||
reg = <0x020000 0xfc0000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@fe0000 {
|
||||
label = "nvram";
|
||||
reg = <0xfe0000 0x020000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
116
target/linux/brcm63xx/dts/ar-5315u.dts
Normal file
116
target/linux/brcm63xx/dts/ar-5315u.dts
Normal file
@@ -0,0 +1,116 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6318.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Comtrend AR-5315u";
|
||||
compatible = "comtrend,ar-5315u", "brcm,bcm6318";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
wps {
|
||||
label = "wps";
|
||||
gpios = <&pinctrl 3 1>;
|
||||
linux,code = <KEY_WPS_BUTTON>;
|
||||
};
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 33 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
wps_green {
|
||||
label = "AR-5315u:green:wps";
|
||||
gpios = <&pinctrl 0 1>;
|
||||
};
|
||||
power_green {
|
||||
label = "AR-5315u:green:power";
|
||||
gpios = <&pinctrl 1 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
usb_green {
|
||||
label = "AR-5315u:green:usb";
|
||||
gpios = <&pinctrl 2 1>;
|
||||
};
|
||||
inet_green {
|
||||
label = "AR-5315u:green:inet";
|
||||
gpios = <&pinctrl 8 1>;
|
||||
};
|
||||
inet_red {
|
||||
label = "AR-5315u:red:inet";
|
||||
gpios = <&pinctrl 9 1>;
|
||||
};
|
||||
dsl_green {
|
||||
label = "AR-5315u:green:dsl";
|
||||
gpios = <&pinctrl 10 1>;
|
||||
};
|
||||
power_red {
|
||||
label = "AR-5315u:red:power";
|
||||
gpios = <&pinctrl 11 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&hsspi {
|
||||
status = "ok";
|
||||
|
||||
flash@0 {
|
||||
compatible = "jedec,spi-nor";
|
||||
spi-max-frequency = <62500000>;
|
||||
spi-tx-bus-width = <2>;
|
||||
spi-rx-bus-width = <2>;
|
||||
reg = <0>;
|
||||
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
reg = <0x000000 0x010000>;
|
||||
label = "cfe";
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@10000 {
|
||||
reg = <0x010000 0xfe0000>;
|
||||
label = "linux";
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@ff0000 {
|
||||
reg = <0xff0000 0x010000>;
|
||||
label = "nvram";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_ephy0_act_led &pinctrl_ephy1_act_led
|
||||
&pinctrl_ephy2_act_led &pinctrl_ephy3_act_led>;
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
89
target/linux/brcm63xx/dts/ar-5381u.dts
Normal file
89
target/linux/brcm63xx/dts/ar-5381u.dts
Normal file
@@ -0,0 +1,89 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6328.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Comtrend AR-5381u";
|
||||
compatible = "comtrend,ar-5381u", "brcm,bcm6328";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 23 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
alarm_red {
|
||||
label = "AR-5381u:red:alarm";
|
||||
gpios = <&pinctrl 2 1>;
|
||||
};
|
||||
inet_green {
|
||||
label = "AR-5381u:green:inet";
|
||||
gpios = <&pinctrl 3 1>;
|
||||
};
|
||||
power_green {
|
||||
label = "AR-5381u:green:power";
|
||||
gpios = <&pinctrl 4 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&hsspi {
|
||||
status = "ok";
|
||||
|
||||
flash@0 {
|
||||
compatible = "jedec,spi-nor";
|
||||
spi-max-frequency = <16666667>;
|
||||
spi-tx-bus-width = <2>;
|
||||
spi-rx-bus-width = <2>;
|
||||
reg = <0>;
|
||||
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
reg = <0x000000 0x010000>;
|
||||
label = "cfe";
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@10000 {
|
||||
reg = <0x010000 0xfe0000>;
|
||||
label = "linux";
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@ff0000 {
|
||||
reg = <0xff0000 0x010000>;
|
||||
label = "nvram";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
97
target/linux/brcm63xx/dts/ar-5387un.dts
Normal file
97
target/linux/brcm63xx/dts/ar-5387un.dts
Normal file
@@ -0,0 +1,97 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6328.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Comtrend AR-5387un";
|
||||
compatible = "comtrend,ar-5387un", "brcm,bcm6328";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 23 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
inet_red {
|
||||
label = "AR-5387un:red:inet";
|
||||
gpios = <&pinctrl 1 0>;
|
||||
};
|
||||
power_red {
|
||||
label = "AR-5387un:red:power";
|
||||
gpios = <&pinctrl 4 0>;
|
||||
};
|
||||
inet_green {
|
||||
label = "AR-5387un:green:inet";
|
||||
gpios = <&pinctrl 7 0>;
|
||||
};
|
||||
power_green {
|
||||
label = "AR-5387un:green:power";
|
||||
gpios = <&pinctrl 8 0>;
|
||||
default-state = "on";
|
||||
};
|
||||
dsl_green {
|
||||
label = "AR-5387un:green:dsl";
|
||||
gpios = <&pinctrl 11 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&hsspi {
|
||||
status = "ok";
|
||||
|
||||
flash@0 {
|
||||
compatible = "jedec,spi-nor";
|
||||
spi-max-frequency = <16666667>;
|
||||
spi-tx-bus-width = <2>;
|
||||
spi-rx-bus-width = <2>;
|
||||
reg = <0>;
|
||||
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
reg = <0x000000 0x010000>;
|
||||
label = "cfe";
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@10000 {
|
||||
reg = <0x010000 0xfe0000>;
|
||||
label = "linux";
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@ff0000 {
|
||||
reg = <0xff0000 0x010000>;
|
||||
label = "nvram";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
83
target/linux/brcm63xx/dts/ar1004g.dts
Normal file
83
target/linux/brcm63xx/dts/ar1004g.dts
Normal file
@@ -0,0 +1,83 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6348.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "ASMAX AR 1004g";
|
||||
compatible = "asmax,ar1004g", "brcm,bcm6348";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 33 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power_green {
|
||||
label = "AR1004G:green:power";
|
||||
gpios = <&pinctrl 0 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
inet_green {
|
||||
label = "AR1004G:green:inet";
|
||||
gpios = <&pinctrl 3 1>;
|
||||
};
|
||||
power_red {
|
||||
label = "AR1004G:red:power";
|
||||
gpios = <&pinctrl 6 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x010000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@10000 {
|
||||
label = "linux";
|
||||
reg = <0x010000 0x3e0000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@3f0000 {
|
||||
label = "nvram";
|
||||
reg = <0x3f0000 0x010000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_ext_mii &pinctrl_pci>;
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
100
target/linux/brcm63xx/dts/av4202n.dts
Normal file
100
target/linux/brcm63xx/dts/av4202n.dts
Normal file
@@ -0,0 +1,100 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6368.dtsi"
|
||||
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "ADB P.DG AV4202N";
|
||||
compatible = "adb,av4202n", "brcm,bcm6368";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 34 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
wlan {
|
||||
label = "wlan";
|
||||
gpios = <&pinctrl 37 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <KEY_WLAN>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power_white {
|
||||
label = "AV4202N:white:power";
|
||||
gpios = <&pinctrl 10 GPIO_ACTIVE_LOW>;
|
||||
default-state = "on";
|
||||
};
|
||||
power_red {
|
||||
label = "AV4202N:red:power";
|
||||
gpios = <&pinctrl 11 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
wan_white {
|
||||
label = "AV4202N:white:wan";
|
||||
gpios = <&pinctrl 26 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
wan_red {
|
||||
label = "AV4202N:red:wan";
|
||||
gpios = <&pinctrl 27 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
phone_white {
|
||||
label = "AV4202N:white:phone";
|
||||
gpios = <&pinctrl 24 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
phone_red {
|
||||
label = "AV4202N:red:phone";
|
||||
gpios = <&pinctrl 25 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
wifi {
|
||||
label = "AV4202N:blue:wifi";
|
||||
gpios = <&pinctrl 22 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x020000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@20000 {
|
||||
label = "linux";
|
||||
reg = <0x020000 0xfc0000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@fe0000 {
|
||||
label = "nvram";
|
||||
reg = <0xfe0000 0x020000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
133
target/linux/brcm63xx/dts/bcm3368.dtsi
Normal file
133
target/linux/brcm63xx/dts/bcm3368.dtsi
Normal file
@@ -0,0 +1,133 @@
|
||||
/ {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "brcm,bcm3368";
|
||||
|
||||
aliases {
|
||||
pflash = &pflash;
|
||||
gpio0 = &gpio0;
|
||||
gpio1 = &gpio1;
|
||||
serial0 = &uart0;
|
||||
serial1 = &uart1;
|
||||
spi0 = &lsspi;
|
||||
};
|
||||
|
||||
cpus {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
cpu@0 {
|
||||
compatible = "brcm,bmips4350", "mips,mips4Kc";
|
||||
device_type = "cpu";
|
||||
reg = <0>;
|
||||
};
|
||||
|
||||
cpu@1 {
|
||||
compatible = "brcm,bmips4350", "mips,mips4Kc";
|
||||
device_type = "cpu";
|
||||
reg = <1>;
|
||||
};
|
||||
};
|
||||
|
||||
cpu_intc: interrupt-controller {
|
||||
#address-cells = <0>;
|
||||
compatible = "mti,cpu-interrupt-controller";
|
||||
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <1>;
|
||||
};
|
||||
|
||||
memory { device_type = "memory"; reg = <0 0>; };
|
||||
|
||||
pflash: nor@1e000000 {
|
||||
compatible = "cfi-flash";
|
||||
reg = <0x1e000000 0x2000000>;
|
||||
bank-width = <2>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
ubus@fff00000 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ranges;
|
||||
compatible = "simple-bus";
|
||||
interrupt-parent = <&periph_intc>;
|
||||
|
||||
periph_intc: interrupt-controller@fff8c00c {
|
||||
compatible = "brcm,bcm6345-l1-intc";
|
||||
reg = <0xfff8c00c 0x8>;
|
||||
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <1>;
|
||||
|
||||
interrupt-parent = <&cpu_intc>;
|
||||
interrupts = <2>;
|
||||
};
|
||||
|
||||
ext_intc0: interrupt-controller@fff8c014 {
|
||||
compatible = "brcm,bcm6345-ext-intc";
|
||||
reg = <0xfff8c014 0x4>;
|
||||
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
|
||||
interrupts = <25>, <26>, <27>, <28>;
|
||||
};
|
||||
|
||||
gpio1: gpio-controller@fff8c080 {
|
||||
compatible = "brcm,bcm6345-gpio";
|
||||
reg = <0xfff8c080 4>, <0xfff8c088 4>;
|
||||
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
|
||||
ngpios = <8>;
|
||||
};
|
||||
|
||||
gpio0: gpio-controller@fff8c084 {
|
||||
compatible = "brcm,bcm6345-gpio";
|
||||
reg = <0xfff8c084 4>, <0xfff8c08c 4>;
|
||||
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
};
|
||||
|
||||
uart0: serial@fff8c100 {
|
||||
compatible = "brcm,bcm6345-uart";
|
||||
reg = <0xfff8c100 0x18>;
|
||||
|
||||
interrupt-parent = <&periph_intc>;
|
||||
interrupts = <2>;
|
||||
|
||||
/* clocks = <&periph_clk>; */
|
||||
/* clock-names = "refclk"; */
|
||||
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
uart1: serial@fff8c120 {
|
||||
compatible = "brcm,bcm6345-uart";
|
||||
reg = <0xfff8c120 0x18>;
|
||||
|
||||
interrupt-parent = <&periph_intc>;
|
||||
interrupts = <3>;
|
||||
|
||||
/* clocks = <&periph_clk>; */
|
||||
/* clock-names = "refclk"; */
|
||||
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
lsspi: spi@fff8c800 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "brcm,bcm6358-spi";
|
||||
reg = <0xfff8c800 0x70c>;
|
||||
interrupts = <1>;
|
||||
/* clocks = <&clkctl 9>; */
|
||||
};
|
||||
};
|
||||
};
|
||||
200
target/linux/brcm63xx/dts/bcm6318.dtsi
Normal file
200
target/linux/brcm63xx/dts/bcm6318.dtsi
Normal file
@@ -0,0 +1,200 @@
|
||||
/ {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "brcm,bcm6318";
|
||||
|
||||
aliases {
|
||||
pinctrl = &pinctrl;
|
||||
serial0 = &uart0;
|
||||
spi1 = &hsspi;
|
||||
};
|
||||
|
||||
cpus {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
cpu@0 {
|
||||
compatible = "brcm,bmips3300", "mips,mips4Kc";
|
||||
device_type = "cpu";
|
||||
reg = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
cpu_intc: interrupt-controller {
|
||||
#address-cells = <0>;
|
||||
compatible = "mti,cpu-interrupt-controller";
|
||||
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <1>;
|
||||
};
|
||||
|
||||
memory { device_type = "memory"; reg = <0 0>; };
|
||||
|
||||
ubus@10000000 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ranges;
|
||||
compatible = "simple-bus";
|
||||
interrupt-parent = <&periph_intc>;
|
||||
|
||||
ext_intc: interrupt-controller@10000018 {
|
||||
compatible = "brcm,bcm6318-ext-intc";
|
||||
reg = <0x10000018 0x4>;
|
||||
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
|
||||
interrupts = <24>, <25>, <26>, <27>;
|
||||
};
|
||||
|
||||
periph_intc: interrupt-controller@10000020 {
|
||||
compatible = "brcm,bcm6345-l1-intc";
|
||||
reg = <0x10000020 0x20>;
|
||||
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <1>;
|
||||
|
||||
interrupt-parent = <&cpu_intc>;
|
||||
interrupts = <2>;
|
||||
};
|
||||
|
||||
pinctrl: pin-controller@10000080 {
|
||||
compatible = "brcm,bcm6318-pinctrl";
|
||||
reg = <0x10000080 0x08>,
|
||||
<0x10000088 0x08>,
|
||||
<0x10000098 0x04>,
|
||||
<0x1000009c 0x0c>,
|
||||
<0x100000d4 0x18>;
|
||||
reg-names = "dirout", "dat", "mode", "mux", "pad";
|
||||
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
|
||||
interrupt-parent = <&ext_intc>;
|
||||
interrupts = <0 0>, <1 0>;
|
||||
interrupt-names = "gpio33", "gpio34";
|
||||
|
||||
pinctrl_ephy0_spd_led: ephy0_spd_led {
|
||||
function = "ephy0_spd_led";
|
||||
pins = "gpio0";
|
||||
};
|
||||
|
||||
pinctrl_ephy1_spd_led: ephy1_spd_led {
|
||||
function = "ephy1_spd_led";
|
||||
pins = "gpio1";
|
||||
};
|
||||
|
||||
pinctrl_ephy2_spd_led: ephy2_spd_led {
|
||||
function = "ephy2_spd_led";
|
||||
pins = "gpio2";
|
||||
};
|
||||
|
||||
pinctrl_ephy3_spd_led: ephy3_spd_led {
|
||||
function = "ephy3_spd_led";
|
||||
pins = "gpio3";
|
||||
};
|
||||
|
||||
pinctrl_ephy0_act_led: ephy0_act_led {
|
||||
function = "ephy0_act_led";
|
||||
pins = "gpio4";
|
||||
};
|
||||
|
||||
pinctrl_ephy1_act_led: ephy1_act_led {
|
||||
function = "ephy1_act_led";
|
||||
pins = "gpio5";
|
||||
};
|
||||
|
||||
pinctrl_ephy2_act_led: ephy2_act_led {
|
||||
function = "ephy2_act_led";
|
||||
pins = "gpio6";
|
||||
};
|
||||
|
||||
pinctrl_ephy3_act_led: ephy3_act_led {
|
||||
function = "ephy3_act_led";
|
||||
pins = "gpio7";
|
||||
};
|
||||
|
||||
pinctrl_serial_led: serial_led {
|
||||
pinctrl_serial_led_data: serial_led_data {
|
||||
function = "serial_led_data";
|
||||
pins = "gpio6";
|
||||
};
|
||||
|
||||
pinctrl_serial_led_clk: serial_led_clk {
|
||||
function = "serial_led_clk";
|
||||
pins = "gpio7";
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl_inet_act_led: inet_act_led {
|
||||
function = "inet_act_led";
|
||||
pins = "gpio8";
|
||||
};
|
||||
|
||||
pinctrl_inet_fail_led: inet_fail_led {
|
||||
function = "inet_fail_led";
|
||||
pins = "gpio9";
|
||||
};
|
||||
|
||||
pinctrl_dsl_led: dsl_led {
|
||||
function = "dsl_led";
|
||||
pins = "gpio10";
|
||||
};
|
||||
|
||||
pinctrl_post_fail_led: post_fail_led {
|
||||
function = "post_fail_led";
|
||||
pins = "gpio11";
|
||||
};
|
||||
|
||||
pinctrl_wlan_wps_led: wlan_wps_led {
|
||||
function = "wlan_wps_led";
|
||||
pins = "gpio12";
|
||||
};
|
||||
|
||||
pinctrl_usb_pwron: usb_pwron {
|
||||
function = "usb_pwron";
|
||||
pins = "gpio13";
|
||||
};
|
||||
|
||||
pinctrl_usb_device_led: usb_device_led {
|
||||
function = "usb_device_led";
|
||||
pins = "gpio13";
|
||||
};
|
||||
|
||||
pinctrl_usb_active: usb_active {
|
||||
function = "usb_active";
|
||||
pins = "gpio40";
|
||||
};
|
||||
};
|
||||
|
||||
uart0: serial@10000100 {
|
||||
compatible = "brcm,bcm6345-uart";
|
||||
reg = <0x10000100 0x18>;
|
||||
|
||||
interrupt-parent = <&periph_intc>;
|
||||
interrupts = <28>;
|
||||
|
||||
/* clocks = <&periph_clk>; */
|
||||
/* clock-names = "refclk"; */
|
||||
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
leds: led-controller@10000200 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "brcm,bcm6328-leds";
|
||||
reg = <0x10000200 0x24>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
hsspi: spi@10003000 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "brcm,bcm6328-hsspi";
|
||||
reg = <0x10003000 0x600>;
|
||||
interrupts = <29>;
|
||||
/* clocks = <&clkctl 25>; */
|
||||
};
|
||||
};
|
||||
};
|
||||
250
target/linux/brcm63xx/dts/bcm63268.dtsi
Normal file
250
target/linux/brcm63xx/dts/bcm63268.dtsi
Normal file
@@ -0,0 +1,250 @@
|
||||
/ {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "brcm,bcm63268";
|
||||
|
||||
aliases {
|
||||
pinctrl = &pinctrl;
|
||||
serial0 = &uart0;
|
||||
serial1 = &uart1;
|
||||
spi0 = &lsspi;
|
||||
spi1 = &hsspi;
|
||||
};
|
||||
|
||||
cpus {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
cpu@0 {
|
||||
compatible = "brcm,bmips4350", "mips,mips4Kc";
|
||||
device_type = "cpu";
|
||||
reg = <0>;
|
||||
};
|
||||
|
||||
cpu@1 {
|
||||
compatible = "brcm,bmips4350", "mips,mips4Kc";
|
||||
device_type = "cpu";
|
||||
reg = <1>;
|
||||
};
|
||||
};
|
||||
|
||||
cpu_intc: interrupt-controller {
|
||||
#address-cells = <0>;
|
||||
compatible = "mti,cpu-interrupt-controller";
|
||||
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <1>;
|
||||
};
|
||||
|
||||
memory { device_type = "memory"; reg = <0 0>; };
|
||||
|
||||
ubus@10000000 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ranges;
|
||||
compatible = "simple-bus";
|
||||
interrupt-parent = <&periph_intc>;
|
||||
|
||||
ext_intc: interrupt-controller@10000018 {
|
||||
compatible = "brcm,bcm6345-ext-intc";
|
||||
reg = <0x10000018 0x4>;
|
||||
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
|
||||
interrupts = <44>, <45>, <46>, <47>;
|
||||
};
|
||||
|
||||
periph_intc: interrupt-controller@10000020 {
|
||||
compatible = "brcm,bcm6345-l1-intc";
|
||||
reg = <0x10000020 0x20>,
|
||||
<0x10000040 0x20>;
|
||||
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <1>;
|
||||
|
||||
interrupt-parent = <&cpu_intc>;
|
||||
interrupts = <2>, <3>;
|
||||
};
|
||||
|
||||
pinctrl: pin-controller@100000c0 {
|
||||
compatible = "brcm,bcm63268-pinctrl";
|
||||
reg = <0x100000c0 0x8>,
|
||||
<0x100000c8 0x8>,
|
||||
<0x100000d0 0x4>,
|
||||
<0x100000d8 0x4>,
|
||||
<0x100000dc 0x4>,
|
||||
<0x100000f8 0x4>;
|
||||
reg-names = "dirout", "dat", "led", "mode",
|
||||
"ctrl", "basemode";
|
||||
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
|
||||
interrupt-parent = <&periph_intc>;
|
||||
interrupts = <0 0>, <1 0>, <2 0>, <3 0>;
|
||||
interrupt-names = "gpio32", "gpio33", "gpio34", "gpio35";
|
||||
|
||||
pinctrl_serial_led: serial_led {
|
||||
pinctrl_serial_led_clk: serial_led_clk {
|
||||
function = "serial_led_clk";
|
||||
pins = "gpio0";
|
||||
};
|
||||
|
||||
pinctrl_serial_led_data: serial_led_data {
|
||||
function = "serial_led_data";
|
||||
pins = "gpio1";
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl_hsspi_cs4: hsspi_cs4 {
|
||||
function = "hsspi_cs4";
|
||||
pins = "gpio16";
|
||||
};
|
||||
|
||||
pinctrl_hsspi_cs5: hsspi_cs5 {
|
||||
function = "hsspi_cs5";
|
||||
pins = "gpio17";
|
||||
};
|
||||
|
||||
pinctrl_hsspi_cs6: hsspi_cs6 {
|
||||
function = "hsspi_cs6";
|
||||
pins = "gpio8";
|
||||
};
|
||||
|
||||
pinctrl_hsspi_cs7: hsspi_cs7 {
|
||||
function = "hsspi_cs7";
|
||||
pins = "gpio9";
|
||||
};
|
||||
|
||||
pinctrl_adsl_spi: adsl_spi {
|
||||
pinctrl_adsl_spi_miso: adsl_spi_miso {
|
||||
function = "adsl_spi_miso";
|
||||
pins = "gpio18";
|
||||
};
|
||||
|
||||
pinctrl_adsl_spi_mosi: adsl_spi_mosi {
|
||||
function = "adsl_spi_mosi";
|
||||
pins = "gpio19";
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl_vreq_clk: vreq_clk {
|
||||
function = "vreq_clk";
|
||||
pins = "gpio22";
|
||||
};
|
||||
|
||||
pinctrl_pcie_clkreq_b: pcie_clkreq_b {
|
||||
function = "pcie_clkreq_b";
|
||||
pins = "gpio23";
|
||||
};
|
||||
|
||||
pinctrl_robosw_led_clk: robosw_led_clk {
|
||||
function = "robosw_led_clk";
|
||||
pins = "gpio30";
|
||||
};
|
||||
|
||||
pinctrl_robosw_led_data: robosw_led_data {
|
||||
function = "robosw_led_data";
|
||||
pins = "gpio31";
|
||||
};
|
||||
|
||||
pinctrl_nand: nand {
|
||||
function = "nand";
|
||||
group = "nand_grp";
|
||||
};
|
||||
|
||||
pinctrl_gpio35_alt: gpio35_alt {
|
||||
function = "gpio35_alt";
|
||||
pin = "gpio35";
|
||||
};
|
||||
|
||||
pinctrl_dectpd: dectpd {
|
||||
function = "dectpd";
|
||||
group = "dectpd_grp";
|
||||
};
|
||||
|
||||
pinctrl_vdsl_phy_override_0: vdsl_phy_override_0 {
|
||||
function = "vdsl_phy_override_0";
|
||||
group = "vdsl_phy_override_0_grp";
|
||||
};
|
||||
|
||||
pinctrl_vdsl_phy_override_1: vdsl_phy_override_1 {
|
||||
function = "vdsl_phy_override_1";
|
||||
group = "vdsl_phy_override_1_grp";
|
||||
};
|
||||
|
||||
pinctrl_vdsl_phy_override_2: vdsl_phy_override_2 {
|
||||
function = "vdsl_phy_override_2";
|
||||
group = "vdsl_phy_override_2_grp";
|
||||
};
|
||||
|
||||
pinctrl_vdsl_phy_override_3: vdsl_phy_override_3 {
|
||||
function = "vdsl_phy_override_3";
|
||||
group = "vdsl_phy_override_3_grp";
|
||||
};
|
||||
|
||||
pinctrl_dsl_gpio8: dsl_gpio8 {
|
||||
function = "dsl_gpio8";
|
||||
group = "dsl_gpio8";
|
||||
};
|
||||
|
||||
pinctrl_dsl_gpio9: dsl_gpio9 {
|
||||
function = "dsl_gpio9";
|
||||
group = "dsl_gpio9";
|
||||
};
|
||||
};
|
||||
|
||||
uart0: serial@10000180 {
|
||||
compatible = "brcm,bcm6345-uart";
|
||||
reg = <0x10000180 0x18>;
|
||||
|
||||
interrupt-parent = <&periph_intc>;
|
||||
interrupts = <5>;
|
||||
|
||||
/* clocks = <&periph_clk>; */
|
||||
/* clock-names = "refclk"; */
|
||||
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
uart1: serial@100001a0 {
|
||||
compatible = "brcm,bcm6345-uart";
|
||||
reg = <0x100001a0 0x18>;
|
||||
|
||||
interrupt-parent = <&periph_intc>;
|
||||
interrupts = <34>;
|
||||
|
||||
/* clocks = <&periph_clk>; */
|
||||
/* clock-names = "refclk"; */
|
||||
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
lsspi: spi@10000800 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "brcm,bcm6358-spi";
|
||||
reg = <0x10000800 0x70c>;
|
||||
interrupts = <80>;
|
||||
/* clocks = <&clkctl 15>; */
|
||||
};
|
||||
|
||||
hsspi: spi@10001000 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "brcm,bcm6328-hsspi";
|
||||
reg = <0x10001000 0x600>;
|
||||
interrupts = <6>;
|
||||
/* clocks = <&clkctl 16>; */
|
||||
};
|
||||
|
||||
leds: led-controller@10001900 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "brcm,bcm6328-leds";
|
||||
reg = <0x10001900 0x24>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
};
|
||||
199
target/linux/brcm63xx/dts/bcm6328.dtsi
Normal file
199
target/linux/brcm63xx/dts/bcm6328.dtsi
Normal file
@@ -0,0 +1,199 @@
|
||||
/ {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "brcm,bcm6328";
|
||||
|
||||
aliases {
|
||||
pinctrl = &pinctrl;
|
||||
serial0 = &uart0;
|
||||
serial1 = &uart1;
|
||||
spi1 = &hsspi;
|
||||
};
|
||||
|
||||
cpus {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
cpu@0 {
|
||||
compatible = "brcm,bmips4350", "mips,mips4Kc";
|
||||
device_type = "cpu";
|
||||
reg = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
cpu_intc: interrupt-controller {
|
||||
#address-cells = <0>;
|
||||
compatible = "mti,cpu-interrupt-controller";
|
||||
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <1>;
|
||||
};
|
||||
|
||||
memory { device_type = "memory"; reg = <0 0>; };
|
||||
|
||||
ubus@10000000 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ranges;
|
||||
compatible = "simple-bus";
|
||||
interrupt-parent = <&periph_intc>;
|
||||
|
||||
ext_intc: interrupt-controller@10000018 {
|
||||
compatible = "brcm,bcm6345-ext-intc";
|
||||
reg = <0x10000018 0x4>;
|
||||
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
|
||||
interrupts = <24>, <25>, <26>, <27>;
|
||||
};
|
||||
|
||||
periph_intc: interrupt-controller@10000020 {
|
||||
compatible = "brcm,bcm6345-l1-intc";
|
||||
reg = <0x10000020 0x10>;
|
||||
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <1>;
|
||||
|
||||
interrupt-parent = <&cpu_intc>;
|
||||
interrupts = <2>;
|
||||
};
|
||||
|
||||
pinctrl: pin-controller@10000080 {
|
||||
compatible = "brcm,bcm6328-pinctrl";
|
||||
reg = <0x10000080 0x8>,
|
||||
<0x10000088 0x8>,
|
||||
<0x10000098 0x4>,
|
||||
<0x1000009c 0xc>;
|
||||
reg-names = "dirout", "dat", "mode", "mux";
|
||||
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
|
||||
interrupt-parent = <&ext_intc>;
|
||||
interrupts = <3 0>, <2 0>, <0 0>, <1 0>;
|
||||
interrupt-names = "gpio12", "gpio15",
|
||||
"gpio23", "gpio24";
|
||||
|
||||
pinctrl_serial_led: serial_led {
|
||||
pinctrl_serial_led_data: serial_led_data {
|
||||
function = "serial_led_data";
|
||||
pins = "gpio6";
|
||||
};
|
||||
|
||||
pinctrl_serial_led_clk: serial_led_clk {
|
||||
function = "serial_led_clk";
|
||||
pins = "gpio7";
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl_inet_act_led: inet_act_led {
|
||||
function = "inet_act_led";
|
||||
pins = "gpio11";
|
||||
};
|
||||
|
||||
pinctrl_pcie_clkreq: pcie_clkreq {
|
||||
function = "pcie_clkreq";
|
||||
pins = "gpio16";
|
||||
};
|
||||
|
||||
pinctrl_ephy0_spd_led: ephy0_spd_led {
|
||||
function = "led";
|
||||
pins = "gpio17";
|
||||
};
|
||||
|
||||
pinctrl_ephy1_spd_led: ephy1_spd_led {
|
||||
function = "led";
|
||||
pins = "gpio18";
|
||||
};
|
||||
|
||||
pinctrl_ephy2_spd_led: ephy2_spd_led {
|
||||
function = "led";
|
||||
pins = "gpio19";
|
||||
};
|
||||
|
||||
pinctrl_ephy3_spd_led: ephy3_spd_led {
|
||||
function = "led";
|
||||
pins = "gpio20";
|
||||
};
|
||||
|
||||
pinctrl_ephy0_act_led: ephy0_act_led {
|
||||
function = "ephy0_act_led";
|
||||
pins = "gpio25";
|
||||
};
|
||||
|
||||
pinctrl_ephy1_act_led: ephy1_act_led {
|
||||
function = "ephy1_act_led";
|
||||
pins = "gpio26";
|
||||
};
|
||||
|
||||
pinctrl_ephy2_act_led: ephy2_act_led {
|
||||
function = "ephy2_act_led";
|
||||
pins = "gpio27";
|
||||
};
|
||||
|
||||
pinctrl_ephy3_act_led: ephy3_act_led {
|
||||
function = "ephy3_act_led";
|
||||
pins = "gpio28";
|
||||
};
|
||||
|
||||
pinctrl_hsspi_cs1: hsspi_cs1 {
|
||||
function = "hsspi_cs1";
|
||||
pins = "hsspi_cs1";
|
||||
};
|
||||
|
||||
pinctrl_usb_port1_device: usb_port1_device {
|
||||
function = "usb_device_port";
|
||||
pins = "usb_port1";
|
||||
};
|
||||
|
||||
pinctrl_usb_port1_host: usb_port1_host {
|
||||
function = "usb_host_port";
|
||||
pins = "usb_port1";
|
||||
};
|
||||
};
|
||||
|
||||
uart0: serial@10000100 {
|
||||
compatible = "brcm,bcm6345-uart";
|
||||
reg = <0x10000100 0x18>;
|
||||
|
||||
interrupt-parent = <&periph_intc>;
|
||||
interrupts = <28>;
|
||||
|
||||
/* clocks = <&periph_clk>; */
|
||||
/* clock-names = "refclk"; */
|
||||
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
uart1: serial@10000120 {
|
||||
compatible = "brcm,bcm6345-uart";
|
||||
reg = <0x10000120 0x18>;
|
||||
|
||||
interrupt-parent = <&periph_intc>;
|
||||
interrupts = <39>;
|
||||
|
||||
/* clocks = <&periph_clk>; */
|
||||
/* clock-names = "refclk"; */
|
||||
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
leds: led-controller@10000800 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "brcm,bcm6328-leds";
|
||||
reg = <0x10000800 0x24>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
hsspi: spi@10001000 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "brcm,bcm6328-hsspi";
|
||||
reg = <0x10001000 0x600>;
|
||||
interrupts = <29>;
|
||||
/* clocks = <&clkctl 9>; */
|
||||
};
|
||||
};
|
||||
};
|
||||
105
target/linux/brcm63xx/dts/bcm6338.dtsi
Normal file
105
target/linux/brcm63xx/dts/bcm6338.dtsi
Normal file
@@ -0,0 +1,105 @@
|
||||
/ {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "brcm,bcm6338";
|
||||
|
||||
aliases {
|
||||
pflash = &pflash;
|
||||
gpio0 = &gpio0;
|
||||
serial0 = &uart0;
|
||||
spi0 = &lsspi;
|
||||
};
|
||||
|
||||
cpus {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
cpu@0 {
|
||||
compatible = "brcm,bmips3300", "mips,mips4Kc";
|
||||
device_type = "cpu";
|
||||
reg = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
cpu_intc: interrupt-controller {
|
||||
#address-cells = <0>;
|
||||
compatible = "mti,cpu-interrupt-controller";
|
||||
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <1>;
|
||||
};
|
||||
|
||||
memory { device_type = "memory"; reg = <0 0>; };
|
||||
|
||||
pflash: nor@1fc00000 {
|
||||
compatible = "cfi-flash";
|
||||
reg = <0x1fc00000 0x400000>;
|
||||
bank-width = <2>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
ubus@fff00000 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ranges;
|
||||
compatible = "simple-bus";
|
||||
interrupt-parent = <&periph_intc>;
|
||||
|
||||
periph_intc: interrupt-controller@fffe000c {
|
||||
compatible = "brcm,bcm6345-l1-intc";
|
||||
reg = <0xfffe000c 0x8>;
|
||||
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <1>;
|
||||
|
||||
interrupt-parent = <&cpu_intc>;
|
||||
interrupts = <2>;
|
||||
};
|
||||
|
||||
ext_intc: interrupt-controller@fffe0014 {
|
||||
compatible = "brcm,bcm6345-ext-intc";
|
||||
reg = <0xfffe0014 0x4>;
|
||||
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
|
||||
interrupt-parent = <&cpu_intc>;
|
||||
interrupts = <3>, <4>, <5>, <6>;
|
||||
};
|
||||
|
||||
gpio0: gpio-controller@fffe0404 {
|
||||
compatible = "brcm,bcm6345-gpio";
|
||||
reg = <0xfffe0404 4>, <0xfffe040c 4>;
|
||||
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
|
||||
ngpios = <8>;
|
||||
};
|
||||
|
||||
uart0: serial@fffe0300 {
|
||||
compatible = "brcm,bcm6345-uart";
|
||||
reg = <0xfffe0300 0x18>;
|
||||
|
||||
interrupt-parent = <&periph_intc>;
|
||||
interrupts = <2>;
|
||||
|
||||
/* clocks = <&periph_clk>; */
|
||||
/* clock-names = "refclk"; */
|
||||
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
lsspi: spi@fffe0c00 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "brcm,bcm6348-spi";
|
||||
reg = <0xfffe0c00 0x40>;
|
||||
interrupts = <1>;
|
||||
/* clocks = <&clkctl 9>; */
|
||||
};
|
||||
};
|
||||
};
|
||||
94
target/linux/brcm63xx/dts/bcm6345.dtsi
Normal file
94
target/linux/brcm63xx/dts/bcm6345.dtsi
Normal file
@@ -0,0 +1,94 @@
|
||||
/ {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "brcm,bcm6345";
|
||||
|
||||
aliases {
|
||||
pflash = &pflash;
|
||||
serial0 = &uart0;
|
||||
gpio0 = &gpio0;
|
||||
};
|
||||
|
||||
cpus {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
cpu@0 {
|
||||
compatible = "brcm,bmips32", "mips,mips4Kc";
|
||||
device_type = "cpu";
|
||||
reg = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
cpu_intc: interrupt-controller {
|
||||
#address-cells = <0>;
|
||||
compatible = "mti,cpu-interrupt-controller";
|
||||
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <1>;
|
||||
};
|
||||
|
||||
memory { device_type = "memory"; reg = <0 0>; };
|
||||
|
||||
pflash: nor@1fc00000 {
|
||||
compatible = "cfi-flash";
|
||||
reg = <0x1fc00000 0x400000>;
|
||||
bank-width = <2>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
ubus@fff00000 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ranges;
|
||||
compatible = "simple-bus";
|
||||
|
||||
periph_intc: interrupt-controller@fffe000c {
|
||||
compatible = "brcm,bcm6345-l1-intc";
|
||||
reg = <0xfffe000c 0x9>;
|
||||
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <1>;
|
||||
|
||||
interrupt-parent = <&cpu_intc>;
|
||||
interrupts = <2>;
|
||||
};
|
||||
|
||||
ext_intc: interrupt-controller@fffe0014 {
|
||||
compatible = "brcm,bcm6345-ext-intc";
|
||||
reg = <0xfffe0014 0x4>;
|
||||
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
|
||||
interrupt-parent = <&cpu_intc>;
|
||||
interrupts = <3>, <4>, <5>, <6>;
|
||||
};
|
||||
|
||||
uart0: serial@fffe0300 {
|
||||
compatible = "brcm,bcm6345-uart";
|
||||
reg = <0xfffe0300 0x18>;
|
||||
|
||||
interrupt-parent = <&periph_intc>;
|
||||
interrupts = <2>;
|
||||
|
||||
/* clocks = <&periph_clk>; */
|
||||
/* clock-names = "refclk"; */
|
||||
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
gpio0: gpio-controller@fffe0404 {
|
||||
compatible = "brcm,bcm6345-gpio";
|
||||
reg = <0xfffe0404 4>, <0xfffe0408 4>;
|
||||
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
|
||||
ngpios = <16>;
|
||||
};
|
||||
};
|
||||
};
|
||||
153
target/linux/brcm63xx/dts/bcm6348.dtsi
Normal file
153
target/linux/brcm63xx/dts/bcm6348.dtsi
Normal file
@@ -0,0 +1,153 @@
|
||||
/ {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "brcm,bcm6348";
|
||||
|
||||
aliases {
|
||||
pflash = &pflash;
|
||||
pinctrl = &pinctrl;
|
||||
serial0 = &uart0;
|
||||
spi0 = &lsspi;
|
||||
};
|
||||
|
||||
cpus {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
cpu@0 {
|
||||
compatible = "brcm,bmips3300", "mips,mips4Kc";
|
||||
device_type = "cpu";
|
||||
reg = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
cpu_intc: interrupt-controller {
|
||||
#address-cells = <0>;
|
||||
compatible = "mti,cpu-interrupt-controller";
|
||||
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <1>;
|
||||
};
|
||||
|
||||
memory { device_type = "memory"; reg = <0 0>; };
|
||||
|
||||
pflash: nor@1fc00000 {
|
||||
compatible = "cfi-flash";
|
||||
reg = <0x1fc00000 0x400000>;
|
||||
bank-width = <2>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
ubus@fff00000 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ranges;
|
||||
compatible = "simple-bus";
|
||||
interrupt-parent = <&periph_intc>;
|
||||
|
||||
periph_intc: interrupt-controller@fffe000c {
|
||||
compatible = "brcm,bcm6345-l1-intc";
|
||||
reg = <0xfffe000c 0x8>;
|
||||
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <1>;
|
||||
|
||||
interrupt-parent = <&cpu_intc>;
|
||||
interrupts = <2>;
|
||||
};
|
||||
|
||||
ext_intc: interrupt-controller@fffe0014 {
|
||||
compatible = "brcm,bcm6345-ext-intc";
|
||||
reg = <0xfffe0014 0x4>;
|
||||
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
|
||||
interrupt-parent = <&cpu_intc>;
|
||||
interrupts = <3>, <4>, <5>, <6>;
|
||||
|
||||
brcm,field-width = <5>;
|
||||
};
|
||||
|
||||
pinctrl: pin-controller@fffe0400 {
|
||||
compatible = "brcm,bcm6348-pinctrl";
|
||||
reg = <0xfffe0400 0x8>,
|
||||
<0xfffe0408 0x8>,
|
||||
<0xfffe0418 0x4>;
|
||||
reg-names = "dirout", "dat", "mode";
|
||||
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
|
||||
interrupt-parent = <&ext_intc>;
|
||||
interrupts = <0 0>, <1 0>, <2 0>, <3 0>;
|
||||
interrupt-names = "gpio32", "gpio33", "gpio34", "gpio35";
|
||||
|
||||
pinctrl_ext_ephy: ext_ephy {
|
||||
function = "ext_ephy";
|
||||
groups = "group1", "group4";
|
||||
};
|
||||
|
||||
pinctrl_mii_snoop: mii_snoop {
|
||||
function = "ext_ephy";
|
||||
groups = "group1", "group4";
|
||||
};
|
||||
|
||||
pinctrl_legacy_led: legacy_led {
|
||||
function = "legacy_led";
|
||||
groups = "group4";
|
||||
};
|
||||
|
||||
pinctrl_mii_pccard: mii_pccard {
|
||||
function = "mii_pccard";
|
||||
groups = "group1";
|
||||
};
|
||||
|
||||
pinctrl_pci: pci {
|
||||
function = "pci";
|
||||
groups = "group2";
|
||||
};
|
||||
|
||||
pinctrl_spi_master_uart: spi_master_uart {
|
||||
function = "spi_master_uart";
|
||||
groups = "group1";
|
||||
};
|
||||
|
||||
pinctrl_ext_mii: ext_mii {
|
||||
function = "ext_mii";
|
||||
groups = "group0", "group3";
|
||||
};
|
||||
|
||||
pinctrl_utopia: utopia {
|
||||
function = "utopia";
|
||||
groups = "group0", "group1", "group3";
|
||||
};
|
||||
};
|
||||
|
||||
uart0: serial@fffe0300 {
|
||||
compatible = "brcm,bcm6345-uart";
|
||||
reg = <0xfffe0300 0x18>;
|
||||
|
||||
interrupt-parent = <&periph_intc>;
|
||||
interrupts = <2>;
|
||||
|
||||
/* clocks = <&periph_clk>; */
|
||||
/* clock-names = "refclk"; */
|
||||
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
lsspi: spi@fffe0c00 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "brcm,bcm6348-spi";
|
||||
reg = <0xfffe0c00 0x40>;
|
||||
interrupts = <1>;
|
||||
/* clocks = <&clkctl 9>; */
|
||||
|
||||
};
|
||||
};
|
||||
};
|
||||
203
target/linux/brcm63xx/dts/bcm6358.dtsi
Normal file
203
target/linux/brcm63xx/dts/bcm6358.dtsi
Normal file
@@ -0,0 +1,203 @@
|
||||
/ {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "brcm,bcm6358";
|
||||
|
||||
aliases {
|
||||
pflash = &pflash;
|
||||
pinctrl = &pinctrl;
|
||||
serial0 = &uart0;
|
||||
serial1 = &uart1;
|
||||
spi0 = &lsspi;
|
||||
};
|
||||
|
||||
cpus {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
cpu@0 {
|
||||
compatible = "brcm,bmips4350", "mips,mips4Kc";
|
||||
device_type = "cpu";
|
||||
reg = <0>;
|
||||
};
|
||||
|
||||
cpu@1 {
|
||||
compatible = "brcm,bmips4350", "mips,mips4Kc";
|
||||
device_type = "cpu";
|
||||
reg = <1>;
|
||||
};
|
||||
};
|
||||
|
||||
cpu_intc: interrupt-controller {
|
||||
#address-cells = <0>;
|
||||
compatible = "mti,cpu-interrupt-controller";
|
||||
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <1>;
|
||||
};
|
||||
|
||||
memory { device_type = "memory"; reg = <0 0>; };
|
||||
|
||||
pflash: nor@1e000000 {
|
||||
compatible = "cfi-flash";
|
||||
reg = <0x1e000000 0x2000000>;
|
||||
bank-width = <2>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
ubus@fff00000 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ranges;
|
||||
compatible = "simple-bus";
|
||||
interrupt-parent = <&periph_intc>;
|
||||
|
||||
periph_intc: interrupt-controller@fffe000c {
|
||||
compatible = "brcm,bcm6345-l1-intc";
|
||||
reg = <0xfffe000c 0x8>,
|
||||
<0xfffe0038 0x8>;
|
||||
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <1>;
|
||||
|
||||
interrupt-parent = <&cpu_intc>;
|
||||
interrupts = <2>, <3>;
|
||||
};
|
||||
|
||||
ext_intc0: interrupt-controller@fffe0014 {
|
||||
compatible = "brcm,bcm6345-ext-intc";
|
||||
reg = <0xfffe0014 0x4>;
|
||||
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
|
||||
interrupts = <25>, <26>, <27>, <28>;
|
||||
};
|
||||
|
||||
ext_intc1: interrupt-controller@fffe001c {
|
||||
compatible = "brcm,bcm6345-ext-intc";
|
||||
reg = <0xfffe001c 0x4>;
|
||||
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
|
||||
interrupts = <20>, <21>;
|
||||
};
|
||||
|
||||
pinctrl: pin-controller@fffe0080 {
|
||||
compatible = "brcm,bcm6358-pinctrl";
|
||||
reg = <0xfffe0080 0x8>,
|
||||
<0xfffe0088 0x8>;
|
||||
reg-names = "dirout", "dat", "mode";
|
||||
brcm,gpiomode = <&gpiomode>;
|
||||
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
|
||||
interrupts-extended = <&ext_intc1 0 0>,
|
||||
<&ext_intc1 1 0>,
|
||||
<&ext_intc0 0 0>,
|
||||
<&ext_intc0 1 0>,
|
||||
<&ext_intc0 2 0>,
|
||||
<&ext_intc0 3 0>;
|
||||
interrupt-names = "gpio32", "gpio33", "gpio34", "gpio35",
|
||||
"gpio36", "gpio37";
|
||||
|
||||
pinctrl_ebi_cs: ebi_cs {
|
||||
function = "ebi_cs";
|
||||
groups = "ebi_cs_grp";
|
||||
};
|
||||
|
||||
pinctrl_uart1: uart1 {
|
||||
function = "uart1";
|
||||
groups = "uart1_grp";
|
||||
};
|
||||
|
||||
pinctrl_serial_led: serial_led {
|
||||
function = "serial_led";
|
||||
groups = "serial_led_grp";
|
||||
};
|
||||
|
||||
pinctrl_legacy_led: legacy_led {
|
||||
function = "legacy_led";
|
||||
groups = "legacy_led_grp";
|
||||
};
|
||||
|
||||
pinctrl_led: led {
|
||||
function = "led";
|
||||
groups = "led_grp";
|
||||
};
|
||||
|
||||
pinctrl_spi_cs_23: spi_cs {
|
||||
function = "spi_cs";
|
||||
groups = "spi_cs_grp";
|
||||
};
|
||||
|
||||
pinctrl_utopia: utopia {
|
||||
function = "utopia";
|
||||
groups = "utopia_grp";
|
||||
};
|
||||
|
||||
pinctrl_pwm_syn_clk: pwm_syn_clk {
|
||||
function = "pwm_syn_clk";
|
||||
groups = "pwm_syn_clk_grp";
|
||||
};
|
||||
|
||||
pinctrl_sys_irq: sys_irq {
|
||||
function = "sys_irq";
|
||||
groups = "sys_irq_grp";
|
||||
};
|
||||
};
|
||||
|
||||
gpiomode: gpiomode@fffe0098 {
|
||||
compatible = "brcm,bcm6358-gpiomode", "syscon";
|
||||
reg = <0xfffe0098 0x4>;
|
||||
};
|
||||
|
||||
leds: led-controller@fffe00d0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "brcm,bcm6358-leds";
|
||||
reg = <0xfffe00d0 0x8>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
uart0: serial@fffe0100 {
|
||||
compatible = "brcm,bcm6345-uart";
|
||||
reg = <0xfffe0100 0x18>;
|
||||
|
||||
interrupt-parent = <&periph_intc>;
|
||||
interrupts = <2>;
|
||||
|
||||
/* clocks = <&periph_clk>; */
|
||||
/* clock-names = "refclk"; */
|
||||
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
uart1: serial@fffe0120 {
|
||||
compatible = "brcm,bcm6345-uart";
|
||||
reg = <0xfffe0120 0x18>;
|
||||
|
||||
interrupt-parent = <&periph_intc>;
|
||||
interrupts = <3>;
|
||||
|
||||
/* clocks = <&periph_clk>; */
|
||||
/* clock-names = "refclk"; */
|
||||
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
lsspi: spi@fffe0800 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "brcm,bcm6358-spi";
|
||||
reg = <0xfffe0800 0x70c>;
|
||||
interrupts = <1>;
|
||||
/* clocks = <&clkctl 9>; */
|
||||
};
|
||||
};
|
||||
};
|
||||
294
target/linux/brcm63xx/dts/bcm6362.dtsi
Normal file
294
target/linux/brcm63xx/dts/bcm6362.dtsi
Normal file
@@ -0,0 +1,294 @@
|
||||
/ {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "brcm,bcm6362";
|
||||
|
||||
aliases {
|
||||
pinctrl = &pinctrl;
|
||||
serial0 = &uart0;
|
||||
serial1 = &uart1;
|
||||
spi0 = &lsspi;
|
||||
spi1 = &hsspi;
|
||||
};
|
||||
|
||||
cpus {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
cpu@0 {
|
||||
compatible = "brcm,bmips4350", "mips,mips4Kc";
|
||||
device_type = "cpu";
|
||||
reg = <0>;
|
||||
};
|
||||
|
||||
cpu@1 {
|
||||
compatible = "brcm,bmips4350", "mips,mips4Kc";
|
||||
device_type = "cpu";
|
||||
reg = <1>;
|
||||
};
|
||||
};
|
||||
|
||||
cpu_intc: interrupt-controller {
|
||||
#address-cells = <0>;
|
||||
compatible = "mti,cpu-interrupt-controller";
|
||||
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <1>;
|
||||
};
|
||||
|
||||
memory { device_type = "memory"; reg = <0 0>; };
|
||||
|
||||
ubus@10000000 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ranges;
|
||||
compatible = "simple-bus";
|
||||
interrupt-parent = <&periph_intc>;
|
||||
|
||||
ext_intc: interrupt-controller@10000018 {
|
||||
compatible = "brcm,bcm6345-ext-intc";
|
||||
reg = <0x10000018 0x4>;
|
||||
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
|
||||
interrupts = <40>, <41>, <42>, <43>;
|
||||
};
|
||||
|
||||
periph_intc: interrupt-controller@10000020 {
|
||||
compatible = "brcm,bcm6345-l1-intc";
|
||||
reg = <0x10000020 0x10>,
|
||||
<0x10000030 0x10>;
|
||||
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <1>;
|
||||
|
||||
interrupt-parent = <&cpu_intc>;
|
||||
interrupts = <2>, <3>;
|
||||
};
|
||||
|
||||
pinctrl: pin-controller@10000080 {
|
||||
compatible = "brcm,bcm6362-pinctrl";
|
||||
reg = <0x10000080 0x8>,
|
||||
<0x10000088 0x8>,
|
||||
<0x10000090 0x4>,
|
||||
<0x10000098 0x4>,
|
||||
<0x1000009c 0x4>,
|
||||
<0x100000b8 0x4>;
|
||||
reg-names = "dirout", "dat", "led",
|
||||
"mode", "ctrl", "basemode";
|
||||
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
|
||||
interrupt-parent = <&ext_intc>;
|
||||
interrupts = <0 0>, <1 0>, <2 0>, <3 0>;
|
||||
interrupt-names = "gpio24", "gpio25",
|
||||
"gpio26", "gpio27";
|
||||
|
||||
pinctrl_usb_device_led: usb_device_led {
|
||||
function = "usb_device_led";
|
||||
pins = "gpio0";
|
||||
};
|
||||
|
||||
pinctrl_sys_irq: sys_irq {
|
||||
function = "sys_irq";
|
||||
pins = "gpio1";
|
||||
};
|
||||
|
||||
pinctrl_serial_led: serial_led {
|
||||
pinctrl_serial_led_clk: serial_led_clk {
|
||||
function = "serial_led_clk";
|
||||
pins = "gpio2";
|
||||
};
|
||||
|
||||
pinctrl_serial_led_data: serial_led_data {
|
||||
function = "serial_led_data";
|
||||
pins = "gpio3";
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl_robosw_led_data: robosw_led_data {
|
||||
function = "robosw_led_data";
|
||||
pins = "gpio4";
|
||||
};
|
||||
|
||||
pinctrl_robosw_led_clk: robosw_led_clk {
|
||||
function = "robosw_led_clk";
|
||||
pins = "gpio5";
|
||||
};
|
||||
|
||||
pinctrl_robosw_led0: robosw_led0 {
|
||||
function = "robosw_led0";
|
||||
pins = "gpio6";
|
||||
};
|
||||
|
||||
pinctrl_robosw_led1: robosw_led1 {
|
||||
function = "robosw_led1";
|
||||
pins = "gpio7";
|
||||
};
|
||||
|
||||
pinctrl_inet_led: inet_led {
|
||||
function = "inet_led";
|
||||
pins = "gpio8";
|
||||
};
|
||||
|
||||
pinctrl_spi_cs2: spi_cs2 {
|
||||
function = "spi_cs2";
|
||||
pins = "gpio9";
|
||||
};
|
||||
|
||||
pinctrl_spi_cs3: spi_cs3 {
|
||||
function = "spi_cs3";
|
||||
pins = "gpio10";
|
||||
};
|
||||
|
||||
pinctrl_ntr_pulse: ntr_pulse {
|
||||
function = "ntr_pulse";
|
||||
pins = "gpio11";
|
||||
};
|
||||
|
||||
pinctrl_uart1_scts: uart1_scts {
|
||||
function = "uart1_scts";
|
||||
pins = "gpio12";
|
||||
};
|
||||
|
||||
pinctrl_uart1_srts: uart1_srts {
|
||||
function = "uart1_srts";
|
||||
pins = "gpio13";
|
||||
};
|
||||
|
||||
|
||||
pinctrl_uart1: uart1 {
|
||||
pinctrl_uart1_sdin: uart1_sdin {
|
||||
function = "uart1_sdin";
|
||||
pins = "gpio14";
|
||||
};
|
||||
|
||||
pinctrl_uart1_sdout: uart1_sdout {
|
||||
function = "uart1_sdout";
|
||||
pins = "gpio15";
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl_adsl_spi: adsl_spi {
|
||||
pinctrl_adsl_spi_miso: adsl_spi_miso {
|
||||
function = "adsl_spi_miso";
|
||||
pins = "gpio16";
|
||||
};
|
||||
|
||||
pinctrl_adsl_spi_mosi: adsl_spi_mosi {
|
||||
function = "adsl_spi_mosi";
|
||||
pins = "gpio17";
|
||||
};
|
||||
|
||||
pinctrl_adsl_spi_clk: adsl_spi_clk {
|
||||
function = "adsl_spi_clk";
|
||||
pins = "gpio18";
|
||||
};
|
||||
|
||||
pinctrl_adsl_spi_cs: adsl_spi_cs {
|
||||
function = "adsl_spi_cs";
|
||||
pins = "gpio19";
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl_ephy0_led: ephy0_led {
|
||||
function = "ephy0_led";
|
||||
pins = "gpio20";
|
||||
};
|
||||
|
||||
pinctrl_ephy1_led: ephy1_led {
|
||||
function = "ephy1_led";
|
||||
pins = "gpio21";
|
||||
};
|
||||
|
||||
pinctrl_ephy2_led: ephy2_led {
|
||||
function = "ephy2_led";
|
||||
pins = "gpio22";
|
||||
};
|
||||
|
||||
pinctrl_ephy3_led: ephy3_led {
|
||||
function = "ephy3_led";
|
||||
pins = "gpio23";
|
||||
};
|
||||
|
||||
pinctrl_ext_irq0: ext_irq0 {
|
||||
function = "ext_irq0";
|
||||
pins = "gpio24";
|
||||
};
|
||||
|
||||
pinctrl_ext_irq1: ext_irq1 {
|
||||
function = "ext_irq1";
|
||||
pins = "gpio25";
|
||||
};
|
||||
|
||||
pinctrl_ext_irq2: ext_irq2 {
|
||||
function = "ext_irq2";
|
||||
pins = "gpio26";
|
||||
};
|
||||
|
||||
pinctrl_ext_irq3: ext_irq3 {
|
||||
function = "ext_irq3";
|
||||
pins = "gpio27";
|
||||
};
|
||||
|
||||
pinctrl_nand: nand {
|
||||
function = "nand";
|
||||
group = "nand_grp";
|
||||
};
|
||||
};
|
||||
|
||||
uart0: serial@10000100 {
|
||||
compatible = "brcm,bcm6345-uart";
|
||||
reg = <0x10000100 0x18>;
|
||||
|
||||
interrupt-parent = <&periph_intc>;
|
||||
interrupts = <3>;
|
||||
|
||||
/* clocks = <&periph_clk>; */
|
||||
/* clock-names = "refclk"; */
|
||||
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
uart1: serial@10000120 {
|
||||
compatible = "brcm,bcm6345-uart";
|
||||
reg = <0x10000120 0x18>;
|
||||
|
||||
interrupt-parent = <&periph_intc>;
|
||||
interrupts = <4>;
|
||||
|
||||
/* clocks = <&periph_clk>; */
|
||||
/* clock-names = "refclk"; */
|
||||
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
lsspi: spi@10000800 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "brcm,bcm6358-spi";
|
||||
reg = <0x10000800 0x70c>;
|
||||
interrupts = <2>;
|
||||
/* clocks = <&clkctl 15>; */
|
||||
};
|
||||
|
||||
hsspi: spi@10001000 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "brcm,bcm6328-hsspi";
|
||||
reg = <0x10001000 0x600>;
|
||||
interrupts = <5>;
|
||||
/* clocks = <&clkctl 16>; */
|
||||
};
|
||||
|
||||
leds: led-controller@10001900 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "brcm,bcm6328-leds";
|
||||
reg = <0x10001900 0x24>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
};
|
||||
319
target/linux/brcm63xx/dts/bcm6368.dtsi
Normal file
319
target/linux/brcm63xx/dts/bcm6368.dtsi
Normal file
@@ -0,0 +1,319 @@
|
||||
/ {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "brcm,bcm6368";
|
||||
|
||||
aliases {
|
||||
pflash = &pflash;
|
||||
pinctrl = &pinctrl;
|
||||
serial0 = &uart0;
|
||||
serial1 = &uart1;
|
||||
spi0 = &lsspi;
|
||||
};
|
||||
|
||||
cpus {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
cpu@0 {
|
||||
compatible = "brcm,bmips4350", "mips,mips4Kc";
|
||||
device_type = "cpu";
|
||||
reg = <0>;
|
||||
};
|
||||
|
||||
cpu@1 {
|
||||
compatible = "brcm,bmips4350", "mips,mips4Kc";
|
||||
device_type = "cpu";
|
||||
reg = <1>;
|
||||
};
|
||||
};
|
||||
|
||||
cpu_intc: interrupt-controller {
|
||||
#address-cells = <0>;
|
||||
compatible = "mti,cpu-interrupt-controller";
|
||||
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <1>;
|
||||
};
|
||||
|
||||
memory { device_type = "memory"; reg = <0 0>; };
|
||||
|
||||
ubus@10000000 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ranges;
|
||||
compatible = "simple-bus";
|
||||
interrupt-parent = <&periph_intc>;
|
||||
|
||||
ext_intc0: interrupt-controller@10000018 {
|
||||
compatible = "brcm,bcm6345-ext-intc";
|
||||
reg = <0x10000018 0x4>;
|
||||
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
|
||||
interrupts = <20>, <21>, <22>, <23>;
|
||||
};
|
||||
|
||||
ext_intc1: interrupt-controller@1000001c {
|
||||
compatible = "brcm,bcm6345-ext-intc";
|
||||
reg = <0x1000001c 0x4>;
|
||||
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
|
||||
interrupts = <24>, <25>;
|
||||
};
|
||||
|
||||
periph_intc: interrupt-controller@10000020 {
|
||||
compatible = "brcm,bcm6345-l1-intc";
|
||||
reg = <0x10000020 0x10>,
|
||||
<0x10000030 0x10>;
|
||||
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <1>;
|
||||
|
||||
interrupt-parent = <&cpu_intc>;
|
||||
interrupts = <2>, <3>;
|
||||
};
|
||||
|
||||
pinctrl: pin-controller@10000080 {
|
||||
compatible = "brcm,bcm6368-pinctrl";
|
||||
reg = <0x10000080 0x8>,
|
||||
<0x10000088 0x8>,
|
||||
<0x10000098 0x4>;
|
||||
reg-names = "dirout", "dat", "mode";
|
||||
brcm,gpiobasemode = <&gpiobasemode>;
|
||||
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
|
||||
interrupts-extended = <&ext_intc1 0 0>,
|
||||
<&ext_intc1 1 0>,
|
||||
<&ext_intc0 0 0>,
|
||||
<&ext_intc0 1 0>,
|
||||
<&ext_intc0 2 0>,
|
||||
<&ext_intc0 3 0>;
|
||||
interrupt-names = "gpio32", "gpio33", "gpio34", "gpio35",
|
||||
"gpio36", "gpio37";
|
||||
|
||||
pinctrl_analog_afe_0: analog_afe_0 {
|
||||
function = "analog_afe_0";
|
||||
pins = "gpio0";
|
||||
};
|
||||
|
||||
pinctrl_analog_afe_1: analog_afe_1 {
|
||||
function = "analog_afe_1";
|
||||
pins = "gpio1";
|
||||
};
|
||||
|
||||
pinctrl_sys_irq: sys_irq {
|
||||
function = "sys_irq";
|
||||
pins = "gpio2";
|
||||
};
|
||||
|
||||
pinctrl_serial_led: serial_led {
|
||||
pinctrl_serial_led_data: serial_led_data {
|
||||
function = "serial_led_data";
|
||||
pins = "gpio3";
|
||||
};
|
||||
|
||||
pinctrl_serial_led_clk: serial_led_clk {
|
||||
function = "serial_led_clk";
|
||||
pins = "gpio4";
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl_inet_led: inet_led {
|
||||
function = "inet_led";
|
||||
pins = "gpio5";
|
||||
};
|
||||
|
||||
pinctrl_ephy0_led: ephy0_led {
|
||||
function = "ephy0_led";
|
||||
pins = "gpio6";
|
||||
};
|
||||
|
||||
pinctrl_ephy1_led: ephy1_led {
|
||||
function = "ephy1_led";
|
||||
pins = "gpio7";
|
||||
};
|
||||
|
||||
pinctrl_ephy2_led: ephy2_led {
|
||||
function = "ephy2_led";
|
||||
pins = "gpio8";
|
||||
};
|
||||
|
||||
pinctrl_ephy3_led: ephy3_led {
|
||||
function = "ephy3_led";
|
||||
pins = "gpio9";
|
||||
};
|
||||
|
||||
pinctrl_robosw_led_data: robosw_led_data {
|
||||
function = "robosw_led_data";
|
||||
pins = "gpio10";
|
||||
};
|
||||
|
||||
pinctrl_robosw_led_clk: robosw_led_clk {
|
||||
function = "robosw_led_clk";
|
||||
pins = "gpio11";
|
||||
};
|
||||
|
||||
pinctrl_robosw_led0: robosw_led0 {
|
||||
function = "robosw_led0";
|
||||
pins = "gpio12";
|
||||
};
|
||||
|
||||
pinctrl_robosw_led1: robosw_led1 {
|
||||
function = "robosw_led1";
|
||||
pins = "gpio13";
|
||||
};
|
||||
|
||||
pinctrl_usb_device_led: usb_device_led {
|
||||
function = "usb_device_led";
|
||||
pins = "gpio14";
|
||||
};
|
||||
|
||||
pinctrl_pci: pci {
|
||||
pinctrl_pci_req1: pci_req1 {
|
||||
function = "pci_req1";
|
||||
pins = "gpio16";
|
||||
};
|
||||
|
||||
pinctrl_pci_gnt1: pci_gnt1 {
|
||||
function = "pci_gnt1";
|
||||
pins = "gpio17";
|
||||
};
|
||||
|
||||
pinctrl_pci_intb: pci_intb {
|
||||
function = "pci_intb";
|
||||
pins = "gpio18";
|
||||
};
|
||||
|
||||
pinctrl_pci_req0: pci_req0 {
|
||||
function = "pci_req0";
|
||||
pins = "gpio19";
|
||||
};
|
||||
|
||||
pinctrl_pci_gnt0: pci_gnt0 {
|
||||
function = "pci_gnt0";
|
||||
pins = "gpio20";
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl_pcmcia: pcmcia {
|
||||
pinctrl_pcmcia_cd1: pcmcia_cd1 {
|
||||
function = "pcmcia_cd1";
|
||||
pins = "gpio22";
|
||||
};
|
||||
|
||||
pinctrl_pcmcia_cd2: pcmcia_cd2 {
|
||||
function = "pcmcia_cd2";
|
||||
pins = "gpio23";
|
||||
};
|
||||
|
||||
pinctrl_pcmcia_vs1: pcmcia_vs1 {
|
||||
function = "pcmcia_vs1";
|
||||
pins = "gpio24";
|
||||
};
|
||||
|
||||
pinctrl_pcmcia_vs2: pcmcia_vs2 {
|
||||
function = "pcmcia_vs2";
|
||||
pins = "gpio25";
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl_ebi_cs2: ebi_cs2 {
|
||||
function = "ebi_cs2";
|
||||
pins = "gpio26";
|
||||
};
|
||||
|
||||
pinctrl_ebi_cs3: ebi_cs3 {
|
||||
function = "ebi_cs2";
|
||||
pins = "gpio27";
|
||||
};
|
||||
|
||||
pinctrl_spi_cs2: spi_cs2 {
|
||||
function = "spi_cs2";
|
||||
pins = "gpio28";
|
||||
};
|
||||
|
||||
pinctrl_spi_cs3: spi_cs3 {
|
||||
function = "spi_cs3";
|
||||
pins = "gpio29";
|
||||
};
|
||||
|
||||
pinctrl_spi_cs4: spi_cs4 {
|
||||
function = "spi_cs4";
|
||||
pins = "gpio30";
|
||||
};
|
||||
|
||||
pinctrl_spi_cs5: spi_cs5 {
|
||||
function = "spi_cs5";
|
||||
pins = "gpio31";
|
||||
};
|
||||
|
||||
pinctrl_uart1: uart1 {
|
||||
function = "uart1";
|
||||
group = "uart1_grp";
|
||||
};
|
||||
};
|
||||
|
||||
gpiobasemode: gpiobasemode@100000b8 {
|
||||
compatible = "brcm,bcm6368-gpiobasemode", "syscon";
|
||||
reg = <0x100000b8 0x4>;
|
||||
};
|
||||
|
||||
leds: led-controller@100000d0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "brcm,bcm6358-leds";
|
||||
reg = <0x100000d0 0x8>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
uart0: serial@10000100 {
|
||||
compatible = "brcm,bcm6345-uart";
|
||||
reg = <0x10000100 0x18>;
|
||||
|
||||
interrupt-parent = <&periph_intc>;
|
||||
interrupts = <2>;
|
||||
|
||||
/* clocks = <&periph_clk>; */
|
||||
/* clock-names = "refclk"; */
|
||||
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
uart1: serial@10000120 {
|
||||
compatible = "brcm,bcm6345-uart";
|
||||
reg = <0x10000120 0x18>;
|
||||
|
||||
interrupt-parent = <&periph_intc>;
|
||||
interrupts = <3>;
|
||||
|
||||
/* clocks = <&periph_clk>; */
|
||||
/* clock-names = "refclk"; */
|
||||
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
lsspi: spi@10000800 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "brcm,bcm6358-spi";
|
||||
reg = <0x10000800 0x70c>;
|
||||
interrupts = <1>;
|
||||
/* clocks = <&clkctl 9>; */
|
||||
};
|
||||
};
|
||||
|
||||
pflash: nor@18000000 {
|
||||
compatible = "cfi-flash";
|
||||
reg = <0x18000000 0x2000000>;
|
||||
bank-width = <2>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
82
target/linux/brcm63xx/dts/bcm96318ref.dts
Normal file
82
target/linux/brcm63xx/dts/bcm96318ref.dts
Normal file
@@ -0,0 +1,82 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6318.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Broadcom BCM96318REF reference board";
|
||||
compatible = "brcm,bcm96318ref", "brcm,bcm6318";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
wps {
|
||||
label = "wps";
|
||||
gpios = <&pinctrl 33 1>;
|
||||
linux,code = <KEY_WPS_BUTTON>;
|
||||
};
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 34 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
inet {
|
||||
label = "96318REF:green:inet";
|
||||
gpios = <&pinctrl 8 1>;
|
||||
};
|
||||
|
||||
inet_fail {
|
||||
label = "96318REF:red:inet-fail";
|
||||
gpios = <&pinctrl 9 1>;
|
||||
};
|
||||
|
||||
post_failed {
|
||||
label = "96318REF:red:post-failed";
|
||||
gpios = <&pinctrl 11 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&hsspi {
|
||||
status = "ok";
|
||||
|
||||
flash@0 {
|
||||
compatible = "jedec,spi-nor";
|
||||
spi-max-frequency = <62500000>;
|
||||
spi-tx-bus-width = <2>;
|
||||
spi-rx-bus-width = <2>;
|
||||
reg = <0>;
|
||||
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
partitions {
|
||||
compatible = "brcm,bcm963xx-cfe-nor-partitions";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_usb_pwron>;
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
88
target/linux/brcm63xx/dts/bcm96318ref_p300.dts
Normal file
88
target/linux/brcm63xx/dts/bcm96318ref_p300.dts
Normal file
@@ -0,0 +1,88 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6318.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Broadcom BCM96318REF_P300 reference board";
|
||||
compatible = "brcm,bcm96318ref_p300", "brcm,bcm6318";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
wps {
|
||||
label = "wps";
|
||||
gpios = <&pinctrl 33 1>;
|
||||
linux,code = <KEY_WPS_BUTTON>;
|
||||
};
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 34 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
inet {
|
||||
label = "96318REF_P300:green:inet";
|
||||
gpios = <&pinctrl 8 1>;
|
||||
};
|
||||
|
||||
inet_fail {
|
||||
label = "96318REF_P300:red:inet-fail";
|
||||
gpios = <&pinctrl 9 1>;
|
||||
};
|
||||
|
||||
post_failed {
|
||||
label = "96318REF_P300:red:post-failed";
|
||||
gpios = <&pinctrl 11 1>;
|
||||
};
|
||||
|
||||
usb_pwron {
|
||||
label = "96318REF_P300::usb-pwron";
|
||||
gpios = <&pinctrl 13 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&hsspi {
|
||||
status = "ok";
|
||||
|
||||
flash@0 {
|
||||
compatible = "jedec,spi-nor";
|
||||
spi-max-frequency = <62500000>;
|
||||
spi-tx-bus-width = <2>;
|
||||
spi-rx-bus-width = <2>;
|
||||
reg = <0>;
|
||||
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
partitions {
|
||||
compatible = "brcm,bcm963xx-cfe-nor-partitions";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_usb_pwron>;
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
58
target/linux/brcm63xx/dts/bcm963268bu_p300.dts
Normal file
58
target/linux/brcm63xx/dts/bcm963268bu_p300.dts
Normal file
@@ -0,0 +1,58 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm63268.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Broadcom BCM963268BU_P300 reference board";
|
||||
compatible = "brcm,bcm963268bu_p300", "brcm,bcm63268";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 32 0>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
|
||||
wps {
|
||||
label = "wps";
|
||||
gpios = <&pinctrl 33 0>;
|
||||
linux,code = <KEY_WPS_BUTTON>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&hsspi {
|
||||
status = "ok";
|
||||
|
||||
flash@0 {
|
||||
compatible = "jedec,spi-nor";
|
||||
spi-max-frequency = <20000000>;
|
||||
spi-tx-bus-width = <2>;
|
||||
spi-rx-bus-width = <2>;
|
||||
reg = <0>;
|
||||
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
partitions {
|
||||
compatible = "brcm,bcm963xx-cfe-nor-partitions";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
66
target/linux/brcm63xx/dts/bcm963269bhr.dts
Normal file
66
target/linux/brcm63xx/dts/bcm963269bhr.dts
Normal file
@@ -0,0 +1,66 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm63268.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Broadcom BCM963269BHR reference board";
|
||||
compatible = "brcm,bcm963269bhr", "brcm,bcm63268";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 32 0>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
usb1 {
|
||||
label = "963269BHR:green:usb1";
|
||||
gpios = <&pinctrl 9 1>;
|
||||
};
|
||||
|
||||
usb2 {
|
||||
label = "963269BHR:green:usb2";
|
||||
gpios = <&pinctrl 10 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&hsspi {
|
||||
status = "ok";
|
||||
|
||||
flash@0 {
|
||||
compatible = "jedec,spi-nor";
|
||||
spi-max-frequency = <20000000>;
|
||||
spi-tx-bus-width = <2>;
|
||||
spi-rx-bus-width = <2>;
|
||||
reg = <0>;
|
||||
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
partitions {
|
||||
compatible = "brcm,bcm963xx-cfe-nor-partitions";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
68
target/linux/brcm63xx/dts/bcm963281TAN.dts
Normal file
68
target/linux/brcm63xx/dts/bcm963281TAN.dts
Normal file
@@ -0,0 +1,68 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6328.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Broadcom bcm963281TAN reference board";
|
||||
compatible = "brcm,bcm963281TAN", "brcm,bcm6328";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
inet {
|
||||
label = "963281TAN::internet";
|
||||
gpios = <&pinctrl 1 1>;
|
||||
};
|
||||
power {
|
||||
label = "963281TAN::power";
|
||||
gpios = <&pinctrl 4 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
inet_fail {
|
||||
label = "963281TAN::internet-fail";
|
||||
gpios = <&pinctrl 7 1>;
|
||||
};
|
||||
power_fail {
|
||||
label = "963281TAN::power-fail";
|
||||
gpios = <&pinctrl 8 1>;
|
||||
};
|
||||
wps {
|
||||
label = "963281TAN::wps";
|
||||
gpios = <&pinctrl 9 1>;
|
||||
};
|
||||
dsl {
|
||||
label = "963281TAN::dsl";
|
||||
gpios = <&pinctrl 11 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&hsspi {
|
||||
status = "ok";
|
||||
|
||||
flash@0 {
|
||||
compatible = "jedec,spi-nor";
|
||||
spi-max-frequency = <16666667>;
|
||||
spi-tx-bus-width = <2>;
|
||||
spi-rx-bus-width = <2>;
|
||||
reg = <0>;
|
||||
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
partitions {
|
||||
compatible = "brcm,bcm963xx-cfe-nor-partitions";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
73
target/linux/brcm63xx/dts/bcm96328avng.dts
Normal file
73
target/linux/brcm63xx/dts/bcm96328avng.dts
Normal file
@@ -0,0 +1,73 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6328.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Broadcom BCM96328avng reference board";
|
||||
compatible = "brcm,bcm96328avng", "brcm,bcm6328";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
inet_fail {
|
||||
label = "96328avng::internet-fail";
|
||||
gpios = <&pinctrl 2 1>;
|
||||
};
|
||||
dsl {
|
||||
label = "96328avng::dsl";
|
||||
gpios = <&pinctrl 3 1>;
|
||||
};
|
||||
power {
|
||||
label = "96328avng::power";
|
||||
gpios = <&pinctrl 4 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
power_fail {
|
||||
label = "96328avng::power-fail";
|
||||
gpios = <&pinctrl 8 1>;
|
||||
};
|
||||
wps {
|
||||
label = "96328avng::wps";
|
||||
gpios = <&pinctrl 9 1>;
|
||||
};
|
||||
inet {
|
||||
label = "96328avng::internet";
|
||||
gpios = <&pinctrl 11 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&hsspi {
|
||||
status = "ok";
|
||||
|
||||
flash@0 {
|
||||
compatible = "jedec,spi-nor";
|
||||
spi-max-frequency = <16666667>;
|
||||
spi-tx-bus-width = <2>;
|
||||
spi-rx-bus-width = <2>;
|
||||
reg = <0>;
|
||||
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
partitions {
|
||||
compatible = "brcm,bcm963xx-cfe-nor-partitions";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_usb_port1_device>;
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
53
target/linux/brcm63xx/dts/bcm96338GW.dts
Normal file
53
target/linux/brcm63xx/dts/bcm96338GW.dts
Normal file
@@ -0,0 +1,53 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6338.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Broadcom BCM96338GW reference board";
|
||||
compatible = "brcm,bcm96338gw", "brcm,bcm6338";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power_green {
|
||||
label = "96338GW:green:power";
|
||||
gpios = <&gpio0 0 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
stop_green {
|
||||
label = "96338GW:green:stop";
|
||||
gpios = <&gpio0 1 1>;
|
||||
};
|
||||
dsl_green {
|
||||
label = "96338GW:green:adsl";
|
||||
gpios = <&gpio0 3 1>;
|
||||
};
|
||||
ppp_fail_green {
|
||||
label = "96338GW:green:ppp-fail";
|
||||
gpios = <&gpio0 4 1>;
|
||||
};
|
||||
ses_green {
|
||||
label = "96338GW:green:ses";
|
||||
gpios = <&gpio0 5 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "brcm,bcm963xx-cfe-nor-partitions";
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
53
target/linux/brcm63xx/dts/bcm96338W.dts
Normal file
53
target/linux/brcm63xx/dts/bcm96338W.dts
Normal file
@@ -0,0 +1,53 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6338.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Broadcom BCM96338W reference board";
|
||||
compatible = "brcm,bcm96338w", "brcm,bcm6338";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power_green {
|
||||
label = "96338W:green:power";
|
||||
gpios = <&gpio0 0 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
stop_green {
|
||||
label = "96338W:green:stop";
|
||||
gpios = <&gpio0 1 1>;
|
||||
};
|
||||
dsl_green {
|
||||
label = "96338W:green:adsl";
|
||||
gpios = <&gpio0 3 1>;
|
||||
};
|
||||
ppp_fail_green {
|
||||
label = "96338W:green:ppp-fail";
|
||||
gpios = <&gpio0 4 1>;
|
||||
};
|
||||
ses_green {
|
||||
label = "96338W:green:ses";
|
||||
gpios = <&gpio0 5 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "brcm,bcm963xx-cfe-nor-partitions";
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
27
target/linux/brcm63xx/dts/bcm96345GW2.dts
Normal file
27
target/linux/brcm63xx/dts/bcm96345GW2.dts
Normal file
@@ -0,0 +1,27 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6345.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Broadcom BCM96345GW2 reference board";
|
||||
compatible = "brcm,bcm96345gw2", "brcm,bcm6345";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "brcm,bcm963xx-cfe-nor-partitions";
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
72
target/linux/brcm63xx/dts/bcm96348GW-10.dts
Normal file
72
target/linux/brcm63xx/dts/bcm96348GW-10.dts
Normal file
@@ -0,0 +1,72 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6348.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Broadcom BCM96348GW-10 reference board";
|
||||
compatible = "brcm,bcm96348gw-10", "brcm,bcm6348";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 6 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power_green {
|
||||
label = "96348GW-10:green:power";
|
||||
gpios = <&pinctrl 0 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
stop_green {
|
||||
label = "96348GW-10:green:stop";
|
||||
gpios = <&pinctrl 1 1>;
|
||||
};
|
||||
adsl_fail_green {
|
||||
label = "96348GW-10:green:adsl-fail";
|
||||
gpios = <&pinctrl 2 1>;
|
||||
};
|
||||
ppp_green {
|
||||
label = "96348GW-10:green:ppp";
|
||||
gpios = <&pinctrl 3 1>;
|
||||
};
|
||||
ppp_fail_green {
|
||||
label = "96348GW-10:green:ppp-fail";
|
||||
gpios = <&pinctrl 4 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "brcm,bcm963xx-cfe-nor-partitions";
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii &pinctrl_mii_pccard>;
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
72
target/linux/brcm63xx/dts/bcm96348GW-11.dts
Normal file
72
target/linux/brcm63xx/dts/bcm96348GW-11.dts
Normal file
@@ -0,0 +1,72 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6348.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Broadcom BCM96348GW-11 reference board";
|
||||
compatible = "brcm,bcm96348gw-11", "brcm,bcm6348";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 33 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power_green {
|
||||
label = "96348GW-11:green:power";
|
||||
gpios = <&pinctrl 0 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
stop_green {
|
||||
label = "96348GW-11:green:stop";
|
||||
gpios = <&pinctrl 1 1>;
|
||||
};
|
||||
adsl_fail_green {
|
||||
label = "96348GW-11:green:adsl-fail";
|
||||
gpios = <&pinctrl 2 1>;
|
||||
};
|
||||
ppp_green {
|
||||
label = "96348GW-11:green:ppp";
|
||||
gpios = <&pinctrl 3 1>;
|
||||
};
|
||||
ppp_fail_green {
|
||||
label = "96348GW-11:green:ppp-fail";
|
||||
gpios = <&pinctrl 4 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "brcm,bcm963xx-cfe-nor-partitions";
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii &pinctrl_mii_pccard>;
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
72
target/linux/brcm63xx/dts/bcm96348GW.dts
Normal file
72
target/linux/brcm63xx/dts/bcm96348GW.dts
Normal file
@@ -0,0 +1,72 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6348.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Broadcom BCM96348GW reference board";
|
||||
compatible = "brcm,bcm96348gw", "brcm,bcm6348";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 36 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power_green {
|
||||
label = "96348GW:green:power";
|
||||
gpios = <&pinctrl 0 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
stop_green {
|
||||
label = "96348GW:green:stop";
|
||||
gpios = <&pinctrl 1 1>;
|
||||
};
|
||||
adsl_fail_green {
|
||||
label = "96348GW:green:adsl-fail";
|
||||
gpios = <&pinctrl 2 1>;
|
||||
};
|
||||
ppp_green {
|
||||
label = "96348GW:green:ppp";
|
||||
gpios = <&pinctrl 3 1>;
|
||||
};
|
||||
ppp_fail_green {
|
||||
label = "96348GW:green:ppp-fail";
|
||||
gpios = <&pinctrl 4 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "brcm,bcm963xx-cfe-nor-partitions";
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii>;
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
58
target/linux/brcm63xx/dts/bcm96348R.dts
Normal file
58
target/linux/brcm63xx/dts/bcm96348R.dts
Normal file
@@ -0,0 +1,58 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6348.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Broadcom 96348R reference board";
|
||||
compatible = "brcm,bcm96348r", "brcm,bcm6348";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power_green {
|
||||
label = "96348R:green:power";
|
||||
gpios = <&pinctrl 0 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
stop_green {
|
||||
label = "96348R:green:stop";
|
||||
gpios = <&pinctrl 1 1>;
|
||||
};
|
||||
adsl_fail_green {
|
||||
label = "96348R:green:adsl-fail";
|
||||
gpios = <&pinctrl 2 1>;
|
||||
};
|
||||
ppp_green {
|
||||
label = "96348R:green:ppp";
|
||||
gpios = <&pinctrl 3 1>;
|
||||
};
|
||||
ppp_fail_green {
|
||||
label = "96348R:green:ppp-fail";
|
||||
gpios = <&pinctrl 4 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "brcm,bcm963xx-cfe-nor-partitions";
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_pci>;
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
53
target/linux/brcm63xx/dts/bcm96358VW.dts
Normal file
53
target/linux/brcm63xx/dts/bcm96358VW.dts
Normal file
@@ -0,0 +1,53 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6358.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Broadcom BCM96358VW reference board";
|
||||
compatible = "brcm,bcm96358vw", "brcm,bcm6358";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power_green {
|
||||
label = "96358VW:green:power";
|
||||
gpios = <&pinctrl 4 0>;
|
||||
default-state = "on";
|
||||
};
|
||||
stop_green {
|
||||
label = "96358VW:green:stop";
|
||||
gpios = <&pinctrl 5 0>;
|
||||
};
|
||||
adsl_fail_green {
|
||||
label = "96358VW:green:adsl-fail";
|
||||
gpios = <&pinctrl 15 1>;
|
||||
};
|
||||
ppp_green {
|
||||
label = "96358VW:green:ppp";
|
||||
gpios = <&pinctrl 22 1>;
|
||||
};
|
||||
ppp_fail_green {
|
||||
label = "96358VW:green:ppp-fail";
|
||||
gpios = <&pinctrl 23 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "brcm,bcm963xx-cfe-nor-partitions";
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
49
target/linux/brcm63xx/dts/bcm96358VW2.dts
Normal file
49
target/linux/brcm63xx/dts/bcm96358VW2.dts
Normal file
@@ -0,0 +1,49 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6358.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Broadcom BCM96358VW2 reference board";
|
||||
compatible = "brcm,bcm96358vw2", "brcm,bcm6358";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
stop_green {
|
||||
label = "96358VW2:green:stop";
|
||||
gpios = <&pinctrl 4 1>;
|
||||
};
|
||||
power_green {
|
||||
label = "96358VW2:green:power";
|
||||
gpios = <&pinctrl 5 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
adsl_green {
|
||||
label = "96358VW2:green:adsl";
|
||||
gpios = <&pinctrl 22 1>;
|
||||
};
|
||||
ppp_fail_green {
|
||||
label = "96358VW2:green:ppp-fail";
|
||||
gpios = <&pinctrl 23 0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "brcm,bcm963xx-cfe-nor-partitions";
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
58
target/linux/brcm63xx/dts/bcm96368MVNgr.dts
Normal file
58
target/linux/brcm63xx/dts/bcm96368MVNgr.dts
Normal file
@@ -0,0 +1,58 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6368.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Broadcom BCM96368MVNgr reference board";
|
||||
compatible = "brcm,bcm96368mvngr", "brcm,bcm6368";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
dsl_green {
|
||||
label = "96368MVNgr:green:adsl";
|
||||
gpios = <&pinctrl 2 1>;
|
||||
};
|
||||
inet_fail_green {
|
||||
label = "96368MVNgr:green:inet-fail";
|
||||
gpios = <&pinctrl 3 0>;
|
||||
};
|
||||
inet_green {
|
||||
label = "96368MVNgr:green:inet";
|
||||
gpios = <&pinctrl 5 0>;
|
||||
};
|
||||
power_green {
|
||||
label = "96368MVNgr:green:power";
|
||||
gpios = <&pinctrl 22 0>;
|
||||
default-state = "on";
|
||||
};
|
||||
wps_green {
|
||||
label = "96368MVNgr:green:wps";
|
||||
gpios = <&pinctrl 23 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "brcm,bcm963xx-cfe-nor-partitions";
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_pci>;
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
58
target/linux/brcm63xx/dts/bcm96368MVWG.dts
Normal file
58
target/linux/brcm63xx/dts/bcm96368MVWG.dts
Normal file
@@ -0,0 +1,58 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6368.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Broadcom BCM96368MVWG reference board";
|
||||
compatible = "brcm,bcm96368mvwg", "brcm,bcm6368";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
dsl_green {
|
||||
label = "96368MVWG:green:adsl";
|
||||
gpios = <&pinctrl 2 1>;
|
||||
};
|
||||
ppp_green {
|
||||
label = "96368MVWG:green:ppp";
|
||||
gpios = <&pinctrl 5 0>;
|
||||
};
|
||||
power_green {
|
||||
label = "96368MVWG:green:power";
|
||||
gpios = <&pinctrl 22 0>;
|
||||
default-state = "on";
|
||||
};
|
||||
wps_green {
|
||||
label = "96368MVWG:green:wps";
|
||||
gpios = <&pinctrl 23 1>;
|
||||
};
|
||||
ppp_fail_red {
|
||||
label = "96368MVWG:red:ppp-fail";
|
||||
gpios = <&pinctrl 31 0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "brcm,bcm963xx-cfe-nor-partitions";
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_pci>;
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
79
target/linux/brcm63xx/dts/cpva502plus.dts
Normal file
79
target/linux/brcm63xx/dts/cpva502plus.dts
Normal file
@@ -0,0 +1,79 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6348.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Telsey CPVA502+";
|
||||
compatible = "telsey,cpva502+", "brcm,bcm6348";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 36 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
phone_green {
|
||||
label = "CPVA502+:green:phone";
|
||||
gpios = <&pinctrl 0 1>;
|
||||
};
|
||||
|
||||
link_amber {
|
||||
label = "CPVA502+:amber:link";
|
||||
gpios = <&pinctrl 5 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x010000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@10000 {
|
||||
label = "linux";
|
||||
reg = <0x010000 0x3e0000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@3f0000 {
|
||||
label = "nvram";
|
||||
reg = <0x3f0000 0x010000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii>;
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
111
target/linux/brcm63xx/dts/cpva642.dts
Normal file
111
target/linux/brcm63xx/dts/cpva642.dts
Normal file
@@ -0,0 +1,111 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6358.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Telsey CPVA642-type (CPA-ZNTE60T)";
|
||||
compatible = "telsey,cpva642", "brcm,bcm6358";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 36 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
wps {
|
||||
label = "wps";
|
||||
gpios = <&pinctrl 37 0>;
|
||||
linux,code = <KEY_WPS_BUTTON>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
eth_green {
|
||||
label = "CPVA642:green:ether";
|
||||
gpios = <&pinctrl 1 1>;
|
||||
};
|
||||
phone2_green {
|
||||
label = "CPVA642:green:phone2";
|
||||
gpios = <&pinctrl 2 1>;
|
||||
};
|
||||
usb_green {
|
||||
label = "CPVA642:green:usb";
|
||||
gpios = <&pinctrl 3 1>;
|
||||
};
|
||||
phone1_green {
|
||||
label = "CPVA642:green:phone1";
|
||||
gpios = <&pinctrl 4 1>;
|
||||
};
|
||||
wifi_red {
|
||||
label = "CPVA642:red:wifi";
|
||||
gpios = <&pinctrl 6 1>;
|
||||
};
|
||||
link_red {
|
||||
label = "CPVA642:red:link";
|
||||
gpios = <&pinctrl 9 1>;
|
||||
};
|
||||
link_green {
|
||||
label = "CPVA642:green:link";
|
||||
gpios = <&pinctrl 10 1>;
|
||||
};
|
||||
power_green {
|
||||
label = "CPVA642:green:power";
|
||||
gpios = <&pinctrl 11 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
power_red {
|
||||
label = "CPVA642:red:power";
|
||||
gpios = <&pinctrl 14 1>;
|
||||
};
|
||||
wifi_green {
|
||||
label = "CPVA642:green:wifi";
|
||||
gpios = <&pinctrl 28 0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x010000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@10000 {
|
||||
label = "linux";
|
||||
reg = <0x010000 0x7e0000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@7f0000 {
|
||||
label = "nvram";
|
||||
reg = <0x7f0000 0x010000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
93
target/linux/brcm63xx/dts/ct-5365.dts
Normal file
93
target/linux/brcm63xx/dts/ct-5365.dts
Normal file
@@ -0,0 +1,93 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6348.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Comtrend CT-5365";
|
||||
compatible = "comtrend,ct-5365", "brcm,bcm6348";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 33 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
wlan {
|
||||
label = "wlan";
|
||||
gpios = <&pinctrl 34 1>;
|
||||
linux,code = <KEY_WLAN>;
|
||||
};
|
||||
wps {
|
||||
label = "wps";
|
||||
gpios = <&pinctrl 35 1>;
|
||||
linux,code = <KEY_WPS_BUTTON>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power_green {
|
||||
label = "96348A-122:green:power";
|
||||
gpios = <&pinctrl 0 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
alarm_red {
|
||||
label = "96348A-122:red:alarm";
|
||||
gpios = <&pinctrl 2 1>;
|
||||
};
|
||||
wps_green {
|
||||
label = "96348A-122:green:wps";
|
||||
gpios = <&pinctrl 6 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x010000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@10000 {
|
||||
label = "linux";
|
||||
reg = <0x010000 0x3e0000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@3f0000 {
|
||||
label = "nvram";
|
||||
reg = <0x3f0000 0x010000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii>;
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
109
target/linux/brcm63xx/dts/ct-6373.dts
Normal file
109
target/linux/brcm63xx/dts/ct-6373.dts
Normal file
@@ -0,0 +1,109 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6358.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Comtrend CT-6373";
|
||||
compatible = "comtrend,ct-6373", "brcm,bcm6358";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 35 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power_green {
|
||||
label = "CT6373-1:green:power";
|
||||
gpios = <&pinctrl 0 0>;
|
||||
default-state = "on";
|
||||
};
|
||||
usb_green {
|
||||
label = "CT6373-1:green:usb";
|
||||
gpios = <&pinctrl 3 1>;
|
||||
};
|
||||
wlan_green {
|
||||
label = "CT6373-1:green:wlan";
|
||||
gpios = <&pinctrl 9 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&leds {
|
||||
status = "ok";
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_serial_led>;
|
||||
|
||||
led@0 {
|
||||
reg = <0>;
|
||||
active-low;
|
||||
label = "CT6373-1:green:adsl";
|
||||
};
|
||||
|
||||
led@1 {
|
||||
reg = <1>;
|
||||
active-low;
|
||||
label = "CT6373-1:green:line";
|
||||
};
|
||||
|
||||
led@2 {
|
||||
reg = <2>;
|
||||
active-low;
|
||||
label = "CT6373-1:green:fxs1";
|
||||
};
|
||||
|
||||
led@3 {
|
||||
reg = <3>;
|
||||
active-low;
|
||||
label = "CT6373-1:green:fxs2";
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x010000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@10000 {
|
||||
label = "linux";
|
||||
reg = <0x010000 0x7e0000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@7f0000 {
|
||||
label = "nvram";
|
||||
reg = <0x7f0000 0x010000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
79
target/linux/brcm63xx/dts/ct536plus.dts
Normal file
79
target/linux/brcm63xx/dts/ct536plus.dts
Normal file
@@ -0,0 +1,79 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6348.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Comtrend CT-536+/CT-5621T";
|
||||
compatible = "comtrend,ct-536+", "brcm,bcm6348";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 33 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power_green {
|
||||
label = "CT536_CT5621:green:power";
|
||||
gpios = <&pinctrl 0 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
adsl_fail_green {
|
||||
label = "CT536_CT5621:green:adsl-fail";
|
||||
gpios = <&pinctrl 2 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x010000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@10000 {
|
||||
label = "linux";
|
||||
reg = <0x010000 0x3e0000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@3f0000 {
|
||||
label = "nvram";
|
||||
reg = <0x3f0000 0x010000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii &pinctrl_mii_pccard>;
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
60
target/linux/brcm63xx/dts/cvg834g.dts
Normal file
60
target/linux/brcm63xx/dts/cvg834g.dts
Normal file
@@ -0,0 +1,60 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm3368.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Netgear CVG834G";
|
||||
compatible = "netgear,cvg834g", "brcm,bcm3368";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power_green {
|
||||
label = "CVG834G:green:power";
|
||||
gpios = <&gpio1 5 0>;
|
||||
default-state = "on";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x010000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@10000 {
|
||||
label = "linux";
|
||||
reg = <0x010000 0x3e0000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@3f0000 {
|
||||
label = "nvram";
|
||||
reg = <0x3f0000 0x010000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
|
||||
&uart1 {
|
||||
status = "ok";
|
||||
};
|
||||
87
target/linux/brcm63xx/dts/dg834g_v4.dts
Normal file
87
target/linux/brcm63xx/dts/dg834g_v4.dts
Normal file
@@ -0,0 +1,87 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6348.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Netgear DG834G v4";
|
||||
compatible = "netgear,dg834g-v4", "brcm,bcm6348";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 6 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power_green {
|
||||
label = "96348W3:green:power";
|
||||
gpios = <&pinctrl 0 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
status {
|
||||
label = "96348W3:red:power";
|
||||
gpios = <&pinctrl 1 1>;
|
||||
};
|
||||
inet_green {
|
||||
label = "96348W3::adsl";
|
||||
gpios = <&pinctrl 2 1>;
|
||||
};
|
||||
inet_red {
|
||||
label = "96348W3::internet";
|
||||
gpios = <&pinctrl 3 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x010000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@10000 {
|
||||
label = "linux";
|
||||
reg = <0x010000 0x3e0000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@3f0000 {
|
||||
label = "nvram";
|
||||
reg = <0x3f0000 0x010000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii>;
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
91
target/linux/brcm63xx/dts/dg834gtpn.dts
Normal file
91
target/linux/brcm63xx/dts/dg834gtpn.dts
Normal file
@@ -0,0 +1,91 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6348.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Netgear DG834GT/PN";
|
||||
compatible = "netgear,dg834gtpn", "brcm,bcm6348";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 6 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power_green {
|
||||
label = "96348GW-10:green:power";
|
||||
gpios = <&pinctrl 0 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
stop_green {
|
||||
label = "96348GW-10:green:stop";
|
||||
gpios = <&pinctrl 1 1>;
|
||||
};
|
||||
adsl_fail_green {
|
||||
label = "96348GW-10:green:adsl-fail";
|
||||
gpios = <&pinctrl 2 1>;
|
||||
};
|
||||
ppp_green {
|
||||
label = "96348GW-10:green:ppp";
|
||||
gpios = <&pinctrl 3 1>;
|
||||
};
|
||||
ppp_fail_green {
|
||||
label = "96348GW-10:green:ppp-fail";
|
||||
gpios = <&pinctrl 4 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x010000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@10000 {
|
||||
label = "linux";
|
||||
reg = <0x010000 0x3e0000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@3f0000 {
|
||||
label = "nvram";
|
||||
reg = <0x3f0000 0x010000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii &pinctrl_mii_pccard>;
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
181
target/linux/brcm63xx/dts/dgnd3700v1.dts
Normal file
181
target/linux/brcm63xx/dts/dgnd3700v1.dts
Normal file
@@ -0,0 +1,181 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6368.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Netgear DGND3700v1/DGND3800B";
|
||||
compatible = "netgear,dgnd3700v1", "brcm,bcm6368";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
wlan {
|
||||
label = "wlan";
|
||||
gpios = <&pinctrl 10 1>;
|
||||
linux,code = <KEY_WLAN>;
|
||||
};
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 12 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
wps {
|
||||
label = "wps";
|
||||
gpios = <&pinctrl 35 1>;
|
||||
linux,code = <KEY_WPS_BUTTON>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
dsl_green {
|
||||
label = "DGND3700v1_3800B:green:dsl";
|
||||
gpios = <&pinctrl 2 1>;
|
||||
};
|
||||
inet_red {
|
||||
label = "DGND3700v1_3800B:red:inet";
|
||||
gpios = <&pinctrl 4 1>;
|
||||
};
|
||||
inet_green {
|
||||
label = "DGND3700v1_3800B:green:inet";
|
||||
gpios = <&pinctrl 5 1>;
|
||||
};
|
||||
wps_green {
|
||||
label = "DGND3700v1_3800B:green:wps";
|
||||
gpios = <&pinctrl 11 1>;
|
||||
};
|
||||
usbfront_green {
|
||||
label = "DGND3700v1_3800B:green:usb-front";
|
||||
gpios = <&pinctrl 13 1>;
|
||||
};
|
||||
usbback_green {
|
||||
label = "DGND3700v1_3800B:green:usb-back";
|
||||
gpios = <&pinctrl 14 1>;
|
||||
};
|
||||
power_red {
|
||||
label = "DGND3700v1_3800B:red:power";
|
||||
gpios = <&pinctrl 22 1>;
|
||||
};
|
||||
lan_green {
|
||||
label = "DGND3700v1_3800B:green:lan";
|
||||
gpios = <&pinctrl 23 1>;
|
||||
};
|
||||
power_green {
|
||||
label = "DGND3700v1_3800B:green:power";
|
||||
gpios = <&pinctrl 24 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
wifi2g_green {
|
||||
label = "DGND3700v1_3800B:green:wifi2g";
|
||||
gpios = <&pinctrl 26 1>;
|
||||
};
|
||||
wifi5g_blue {
|
||||
label = "DGND3700v1_3800B:blue:wifi5g";
|
||||
gpios = <&pinctrl 27 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x020000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@20000 {
|
||||
label = "linux";
|
||||
reg = <0x020000 0x1e20000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
board_data@1e40000 {
|
||||
label = "board_data";
|
||||
reg = <0x1e40000 0x1a0000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
nvram@1fe0000 {
|
||||
label = "nvram";
|
||||
reg = <0x1fe0000 0x20000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_pci>;
|
||||
};
|
||||
|
||||
&lsspi {
|
||||
switch@1 {
|
||||
compatible = "brcm,bcm53115";
|
||||
reg = <1>;
|
||||
spi-max-frequency = <781000>;
|
||||
|
||||
lede,alias = "eth0";
|
||||
|
||||
ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
wan@0 {
|
||||
reg = <0>;
|
||||
label = "wan";
|
||||
};
|
||||
|
||||
lan@1 {
|
||||
reg = <1>;
|
||||
label = "lan1";
|
||||
};
|
||||
|
||||
lan@2 {
|
||||
reg = <2>;
|
||||
label = "lan2";
|
||||
};
|
||||
|
||||
lan@3 {
|
||||
reg = <3>;
|
||||
label = "lan3";
|
||||
};
|
||||
|
||||
lan@4 {
|
||||
reg = <4>;
|
||||
label = "lan4";
|
||||
};
|
||||
|
||||
cpu@8 {
|
||||
reg = <8>;
|
||||
label = "cpu";
|
||||
|
||||
fixed-link {
|
||||
speed = <1000>;
|
||||
full-duplex;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
87
target/linux/brcm63xx/dts/dsl-2640b-b.dts
Normal file
87
target/linux/brcm63xx/dts/dsl-2640b-b.dts
Normal file
@@ -0,0 +1,87 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6348.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "D-Link DSL-2640B rev B2";
|
||||
compatible = "d-link,dsl-2640b-b", "brcm,bcm6348";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 7 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power_green {
|
||||
label = "D-4P-W:green:power";
|
||||
gpios = <&pinctrl 0 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
status {
|
||||
label = "D-4P-W::status";
|
||||
gpios = <&pinctrl 3 1>;
|
||||
};
|
||||
inet_green {
|
||||
label = "D-4P-W:green:internet";
|
||||
gpios = <&pinctrl 4 1>;
|
||||
};
|
||||
inet_red {
|
||||
label = "D-4P-W:red:internet";
|
||||
gpios = <&pinctrl 5 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x010000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@10000 {
|
||||
label = "linux";
|
||||
reg = <0x010000 0x3e0000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@3f0000 {
|
||||
label = "nvram";
|
||||
reg = <0x3f0000 0x010000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii>;
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
66
target/linux/brcm63xx/dts/dsl-2640u.dts
Normal file
66
target/linux/brcm63xx/dts/dsl-2640u.dts
Normal file
@@ -0,0 +1,66 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6338.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "D-Link DSL-2640U/BRU/C";
|
||||
compatible = "d-link,dsl-2640u", "brcm,bcm6338";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
green_power {
|
||||
label = "96338W2_E7T:green:power";
|
||||
gpios = <&gpio0 0 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
|
||||
green_stop {
|
||||
label = "96338W2_E7T:green:ppp";
|
||||
gpios = <&gpio0 4 1>;
|
||||
};
|
||||
|
||||
green_adsl {
|
||||
label = "96338W2_E7T:green:ppp-fail";
|
||||
gpios = <&gpio0 5 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x010000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@10000 {
|
||||
label = "linux";
|
||||
reg = <0x010000 0x3e0000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@3f0000 {
|
||||
label = "nvram";
|
||||
reg = <0x3f0000 0x010000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
68
target/linux/brcm63xx/dts/dsl-2650u.dts
Normal file
68
target/linux/brcm63xx/dts/dsl-2650u.dts
Normal file
@@ -0,0 +1,68 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6358.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "D-Link DSL-2650U";
|
||||
compatible = "d-link,dsl-2650u", "brcm,bcm6358";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
stop_green {
|
||||
label = "96358VW2:green:stop";
|
||||
gpios = <&pinctrl 4 1>;
|
||||
};
|
||||
power_green {
|
||||
label = "96358VW2:green:power";
|
||||
gpios = <&pinctrl 5 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
adsl_green {
|
||||
label = "96358VW2:green:adsl";
|
||||
gpios = <&pinctrl 22 1>;
|
||||
};
|
||||
ppp_fail_green {
|
||||
label = "96358VW2:green:ppp-fail";
|
||||
gpios = <&pinctrl 23 0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x010000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@10000 {
|
||||
label = "linux";
|
||||
reg = <0x010000 0x7e0000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@7f0000 {
|
||||
label = "nvram";
|
||||
reg = <0x7f0000 0x010000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
86
target/linux/brcm63xx/dts/dsl-274xb-c.dts
Normal file
86
target/linux/brcm63xx/dts/dsl-274xb-c.dts
Normal file
@@ -0,0 +1,86 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6358.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "D-Link DSL-2740B/DSL-2741B rev C2/3";
|
||||
compatible = "d-link,dsl-274xb-c2", "brcm,bcm6358";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 34 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
inet_green {
|
||||
label = "dsl-274xb:green:internet";
|
||||
gpios = <&pinctrl 2 0>;
|
||||
};
|
||||
power_red {
|
||||
label = "dsl-274xb:red:power";
|
||||
gpios = <&pinctrl 4 1>;
|
||||
};
|
||||
power_green {
|
||||
label = "dsl-274xb:green:power";
|
||||
gpios = <&pinctrl 5 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
dsl_green {
|
||||
label = "dsl-274xb:green:adsl";
|
||||
gpios = <&pinctrl 9 1>;
|
||||
};
|
||||
inet_red {
|
||||
label = "dsl-274xb:red:internet";
|
||||
gpios = <&pinctrl 10 0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x010000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@10000 {
|
||||
label = "linux";
|
||||
reg = <0x010000 0x3e0000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@3f0000 {
|
||||
label = "nvram";
|
||||
reg = <0x3f0000 0x010000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
117
target/linux/brcm63xx/dts/dsl-274xb-f.dts
Normal file
117
target/linux/brcm63xx/dts/dsl-274xb-f.dts
Normal file
@@ -0,0 +1,117 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6328.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "D-Link DSL-2740B/DSL-2741B rev F1";
|
||||
compatible = "d-link,dsl-274xb-f", "brcm,bcm6328";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
wifi {
|
||||
label = "wifi";
|
||||
gpios = <&pinctrl 10 1>;
|
||||
linux,code = <KEY_WLAN>;
|
||||
};
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 23 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
wps {
|
||||
label = "wps";
|
||||
gpios = <&pinctrl 24 1>;
|
||||
linux,code = <KEY_WPS_BUTTON>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
inet_red {
|
||||
label = "dsl-274xb:red:internet";
|
||||
gpios = <&pinctrl 2 1>;
|
||||
};
|
||||
dsl_green {
|
||||
label = "dsl-274xb:green:dsl";
|
||||
gpios = <&pinctrl 3 1>;
|
||||
};
|
||||
power_green {
|
||||
label = "dsl-274xb:green:power";
|
||||
gpios = <&pinctrl 4 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
power_red {
|
||||
label = "dsl-274xb:red:power";
|
||||
gpios = <&pinctrl 8 1>;
|
||||
};
|
||||
wps_blue {
|
||||
label = "dsl-274xb:blue:wps";
|
||||
gpios = <&pinctrl 9 1>;
|
||||
};
|
||||
inet_green {
|
||||
label = "dsl-274xb:green:internet";
|
||||
gpios = <&pinctrl 11 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&hsspi {
|
||||
status = "ok";
|
||||
|
||||
flash@0 {
|
||||
compatible = "jedec,spi-nor";
|
||||
spi-max-frequency = <16666667>;
|
||||
spi-tx-bus-width = <2>;
|
||||
spi-rx-bus-width = <2>;
|
||||
reg = <0>;
|
||||
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
reg = <0x000000 0x010000>;
|
||||
label = "cfe";
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@10000 {
|
||||
reg = <0x010000 0x7c0000>;
|
||||
label = "linux";
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
cal_data@7d0000 {
|
||||
reg = <0x7d0000 0x010000>;
|
||||
label = "cal_data";
|
||||
read-only;
|
||||
};
|
||||
|
||||
nvram@7e0000 {
|
||||
reg = <0x7e0000 0x020000>;
|
||||
label = "nvram";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
131
target/linux/brcm63xx/dts/dsl-275xb-d.dts
Normal file
131
target/linux/brcm63xx/dts/dsl-275xb-d.dts
Normal file
@@ -0,0 +1,131 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6318.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "D-Link DSL-2750B/DSL-2751 rev D1";
|
||||
compatible = "d-link,dsl-275xb-d", "brcm,bcm6318";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
wifi {
|
||||
label = "wifi";
|
||||
gpios = <&pinctrl 2 1>;
|
||||
linux,code = <KEY_WLAN>;
|
||||
};
|
||||
|
||||
wps {
|
||||
label = "wps";
|
||||
gpios = <&pinctrl 33 1>;
|
||||
linux,code = <KEY_WPS_BUTTON>;
|
||||
};
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 34 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power_green {
|
||||
label = "dsl-275xb:green:power";
|
||||
gpios = <&pinctrl 3 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
|
||||
inet_green {
|
||||
label = "dsl-275xb:green:inet";
|
||||
gpios = <&pinctrl 8 1>;
|
||||
};
|
||||
|
||||
inet_red {
|
||||
label = "dsl-275xb:red:inet-fail";
|
||||
gpios = <&pinctrl 9 1>;
|
||||
};
|
||||
|
||||
power_red {
|
||||
label = "dsl-275xb:red:post-failed";
|
||||
gpios = <&pinctrl 11 1>;
|
||||
};
|
||||
|
||||
wps_blue {
|
||||
label = "dsl-275xb:blue:wps";
|
||||
gpios = <&pinctrl 16 1>;
|
||||
};
|
||||
|
||||
dsl_green {
|
||||
label = "dsl-275xb:green:dsl";
|
||||
gpios = <&pinctrl 17 1>;
|
||||
};
|
||||
|
||||
usb_green {
|
||||
/* not user controllable? */
|
||||
label = "dsl-275xb:green:usb";
|
||||
gpios = <&pinctrl 49 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&hsspi {
|
||||
status = "ok";
|
||||
|
||||
flash@0 {
|
||||
compatible = "jedec,spi-nor";
|
||||
spi-max-frequency = <62500000>;
|
||||
spi-tx-bus-width = <2>;
|
||||
spi-rx-bus-width = <2>;
|
||||
reg = <0>;
|
||||
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
reg = <0x000000 0x010000>;
|
||||
label = "cfe";
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@10000 {
|
||||
reg = <0x010000 0x7e0000>;
|
||||
label = "linux";
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@7f0000 {
|
||||
reg = <0x7f0000 0x010000>;
|
||||
label = "nvram";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
pinctrl-names = "default";
|
||||
|
||||
pinctrl-0 = <&pinctrl_ephy0_act_led &pinctrl_ephy1_act_led
|
||||
&pinctrl_ephy2_act_led &pinctrl_ephy3_act_led>;
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
51
target/linux/brcm63xx/dts/dv-201amr.dts
Normal file
51
target/linux/brcm63xx/dts/dv-201amr.dts
Normal file
@@ -0,0 +1,51 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6348.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Davolink DV-201AMR";
|
||||
compatible = "davolink,dv-201amr", "brcm,bcm6348";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
backup@0 {
|
||||
label = "backup";
|
||||
reg = <0x000000 0x400000>;
|
||||
};
|
||||
|
||||
cfe@400000 {
|
||||
label = "cfe";
|
||||
reg = <0x400000 0x010000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@410000 {
|
||||
label = "linux";
|
||||
reg = <0x410000 0x3f0000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii>;
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
86
target/linux/brcm63xx/dts/dva-g3810bn_tl.dts
Normal file
86
target/linux/brcm63xx/dts/dva-g3810bn_tl.dts
Normal file
@@ -0,0 +1,86 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6358.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "D-Link DVA-G3810BN/TL";
|
||||
compatible = "d-link,dva-g3810bn/tl", "brcm,bcm6358";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 34 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
voip {
|
||||
label = "DVAG3810BN::voip";
|
||||
gpios = <&pinctrl 1 0>;
|
||||
};
|
||||
power {
|
||||
label = "DVAG3810BN::power";
|
||||
gpios = <&pinctrl 4 0>;
|
||||
default-state = "on";
|
||||
};
|
||||
stop {
|
||||
label = "DVAG3810BN::stop";
|
||||
gpios = <&pinctrl 5 0>;
|
||||
};
|
||||
dsl {
|
||||
label = "DVAG3810BN::dsl";
|
||||
gpios = <&pinctrl 22 1>;
|
||||
};
|
||||
inet {
|
||||
label = "DVAG3810BN::internet";
|
||||
gpios = <&pinctrl 23 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x010000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@10000 {
|
||||
label = "linux";
|
||||
reg = <0x010000 0x7e0000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@7f0000 {
|
||||
label = "nvram";
|
||||
reg = <0x7f0000 0x010000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
122
target/linux/brcm63xx/dts/evg2000.dts
Normal file
122
target/linux/brcm63xx/dts/evg2000.dts
Normal file
@@ -0,0 +1,122 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6368.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Netgear EVG2000";
|
||||
compatible = "netgear,evg2000", "brcm,bcm6368";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 25 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
wps {
|
||||
label = "wps";
|
||||
gpios = <&pinctrl 26 1>;
|
||||
linux,code = <KEY_WPS_BUTTON>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
voip1_green {
|
||||
label = "EVG2000:green:voip1";
|
||||
gpios = <&pinctrl 14 1>;
|
||||
};
|
||||
voip2_green {
|
||||
label = "EVG2000:green:voip2";
|
||||
gpios = <&pinctrl 2 1>;
|
||||
};
|
||||
inet_red {
|
||||
label = "EVG2000:red:inet";
|
||||
gpios = <&pinctrl 4 1>;
|
||||
};
|
||||
inet_green {
|
||||
label = "EVG2000:green:inet";
|
||||
gpios = <&pinctrl 5 1>;
|
||||
};
|
||||
usb_green {
|
||||
label = "EVG2000:green:usb";
|
||||
gpios = <&pinctrl 15 1>;
|
||||
};
|
||||
power_green {
|
||||
label = "EVG2000:green:power";
|
||||
gpios = <&pinctrl 22 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
power_red {
|
||||
label = "EVG2000:red:power";
|
||||
gpios = <&pinctrl 23 1>;
|
||||
};
|
||||
lan_green {
|
||||
label = "EVG2000:green:lan";
|
||||
gpios = <&pinctrl 24 1>;
|
||||
};
|
||||
wireless_green {
|
||||
label = "EVG2000:green:wireless";
|
||||
gpios = <&pinctrl 26 1>;
|
||||
};
|
||||
wan_green {
|
||||
label = "EVG2000:green:wan";
|
||||
gpios = <&pinctrl 27 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x00000000 0x00020000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@20000 {
|
||||
label = "linux";
|
||||
reg = <0x00020000 0x00f40000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
board_data@f60000 {
|
||||
label = "board_data";
|
||||
reg = <0x00f60000 0x00080000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
nvram@fe0000 {
|
||||
label = "nvram";
|
||||
reg = <0x00fe0000 0x00020000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_pci>;
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
91
target/linux/brcm63xx/dts/f5d7633.dts
Normal file
91
target/linux/brcm63xx/dts/f5d7633.dts
Normal file
@@ -0,0 +1,91 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6348.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Belkin F5D7633";
|
||||
compatible = "belkin,f5d7633", "brcm,bcm6348";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 6 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power_green {
|
||||
label = "96348GW-10:green:power";
|
||||
gpios = <&pinctrl 0 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
stop_green {
|
||||
label = "96348GW-10:green:stop";
|
||||
gpios = <&pinctrl 1 1>;
|
||||
};
|
||||
adsl_fail_green {
|
||||
label = "96348GW-10:green:adsl-fail";
|
||||
gpios = <&pinctrl 2 1>;
|
||||
};
|
||||
ppp_green {
|
||||
label = "96348GW-10:green:ppp";
|
||||
gpios = <&pinctrl 3 1>;
|
||||
};
|
||||
ppp_fail_green {
|
||||
label = "96348GW-10:green:ppp-fail";
|
||||
gpios = <&pinctrl 4 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x020000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@20000 {
|
||||
label = "linux";
|
||||
reg = <0x020000 0x3c0000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@3e0000 {
|
||||
label = "nvram";
|
||||
reg = <0x3e0000 0x020000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii &pinctrl_mii_pccard>;
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
51
target/linux/brcm63xx/dts/fast2404.dts
Normal file
51
target/linux/brcm63xx/dts/fast2404.dts
Normal file
@@ -0,0 +1,51 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6348.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Sagem F@ST2404";
|
||||
compatible = "sagem,f@st2404", "brcm,bcm6348";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x010000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@10000 {
|
||||
label = "linux";
|
||||
reg = <0x010000 0x3e0000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@3f0000 {
|
||||
label = "nvram";
|
||||
reg = <0x3f0000 0x010000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii &pinctrl_mii_pccard>;
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
106
target/linux/brcm63xx/dts/fast2504n.dts
Normal file
106
target/linux/brcm63xx/dts/fast2504n.dts
Normal file
@@ -0,0 +1,106 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6362.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Sagem F@ST2504n";
|
||||
compatible = "sagem,f@st2504n", "brcm,bcm6362";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 24 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
wps {
|
||||
label = "wps";
|
||||
gpios = <&pinctrl 25 1>;
|
||||
linux,code = <KEY_WPS_BUTTON>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power_orange {
|
||||
label = "fast2504n:orange:power";
|
||||
gpios = <&pinctrl 2 1>;
|
||||
};
|
||||
power_green {
|
||||
label = "fast2504n:green:power";
|
||||
gpios = <&pinctrl 10 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
inet_red {
|
||||
label = "fast2504n:red:internet";
|
||||
gpios = <&pinctrl 26 1>;
|
||||
};
|
||||
ok_green {
|
||||
label = "fast2504n:green:ok";
|
||||
gpios = <&pinctrl 28 1>;
|
||||
};
|
||||
ok_orange {
|
||||
label = "fast2504n:orange:ok";
|
||||
gpios = <&pinctrl 29 1>;
|
||||
};
|
||||
wlan_orangee {
|
||||
label = "fast2504n:orange:wlan";
|
||||
gpios = <&pinctrl 30 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&hsspi {
|
||||
status = "ok";
|
||||
|
||||
flash@0 {
|
||||
compatible = "jedec,spi-nor";
|
||||
spi-max-frequency = <20000000>;
|
||||
spi-tx-bus-width = <2>;
|
||||
spi-rx-bus-width = <2>;
|
||||
reg = <0>;
|
||||
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
reg = <0x000000 0x010000>;
|
||||
label = "cfe";
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@10000 {
|
||||
reg = <0x010000 0x7e0000>;
|
||||
label = "linux";
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@7f0000 {
|
||||
reg = <0x7f0000 0x010000>;
|
||||
label = "nvram";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
87
target/linux/brcm63xx/dts/fast2604.dts
Normal file
87
target/linux/brcm63xx/dts/fast2604.dts
Normal file
@@ -0,0 +1,87 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6348.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Sagem F@ST2604";
|
||||
compatible = "sagem,f@st2604", "brcm,bcm6348";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 33 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power_green {
|
||||
label = "F@ST2604:green:power";
|
||||
gpios = <&pinctrl 0 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
power_red {
|
||||
label = "F@ST2604:red:power";
|
||||
gpios = <&pinctrl 1 1>;
|
||||
};
|
||||
inet_red {
|
||||
label = "F@ST2604:red:inet";
|
||||
gpios = <&pinctrl 4 1>;
|
||||
};
|
||||
wps_green {
|
||||
label = "F@ST2604:green:wps";
|
||||
gpios = <&pinctrl 5 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x010000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@10000 {
|
||||
label = "linux";
|
||||
reg = <0x010000 0x3e0000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@3f0000 {
|
||||
label = "nvram";
|
||||
reg = <0x3f0000 0x010000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii>;
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
131
target/linux/brcm63xx/dts/fast2704n.dts
Normal file
131
target/linux/brcm63xx/dts/fast2704n.dts
Normal file
@@ -0,0 +1,131 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6318.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Sagem F@ST2704N";
|
||||
compatible = "sagem,f@st2704n", "brcm,bcm6318";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
wlan {
|
||||
label = "wlan";
|
||||
gpios = <&pinctrl 1 0>;
|
||||
linux,code = <KEY_WLAN>;
|
||||
};
|
||||
wps {
|
||||
label = "wps";
|
||||
gpios = <&pinctrl 33 1>;
|
||||
linux,code = <KEY_WPS_BUTTON>;
|
||||
};
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 34 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
wps_green {
|
||||
label = "F@ST2704N:green:wps";
|
||||
gpios = <&pinctrl 2 1>;
|
||||
};
|
||||
lan1_green {
|
||||
label = "F@ST2704N:green:lan1";
|
||||
gpios = <&pinctrl 4 1>;
|
||||
};
|
||||
lan2_green {
|
||||
label = "F@ST2704N:green:lan2";
|
||||
gpios = <&pinctrl 5 1>;
|
||||
};
|
||||
lan3_green {
|
||||
label = "F@ST2704N:green:lan3";
|
||||
gpios = <&pinctrl 6 1>;
|
||||
};
|
||||
lan4_green {
|
||||
label = "F@ST2704N:green:lan4";
|
||||
gpios = <&pinctrl 7 1>;
|
||||
};
|
||||
inet_green {
|
||||
label = "F@ST2704N:green:inet";
|
||||
gpios = <&pinctrl 8 1>;
|
||||
};
|
||||
inet_red {
|
||||
label = "F@ST2704N:red:inet";
|
||||
gpios = <&pinctrl 9 1>;
|
||||
};
|
||||
dsl_green {
|
||||
label = "F@ST2704N:green:dsl";
|
||||
gpios = <&pinctrl 10 1>;
|
||||
};
|
||||
power_red {
|
||||
label = "F@ST2704N:red:power";
|
||||
gpios = <&pinctrl 11 1>;
|
||||
};
|
||||
power_green {
|
||||
label = "F@ST2704N:green:power";
|
||||
gpios = <&pinctrl 47 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
usb_green {
|
||||
label = "F@ST2704N:green:usb";
|
||||
gpios = <&pinctrl 49 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&hsspi {
|
||||
status = "ok";
|
||||
|
||||
flash@0 {
|
||||
compatible = "jedec,spi-nor";
|
||||
spi-max-frequency = <62500000>;
|
||||
spi-tx-bus-width = <2>;
|
||||
spi-rx-bus-width = <2>;
|
||||
reg = <0>;
|
||||
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
reg = <0x000000 0x010000>;
|
||||
label = "cfe";
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@10000 {
|
||||
reg = <0x010000 0x7e0000>;
|
||||
label = "linux";
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@7f0000 {
|
||||
reg = <0x7f0000 0x010000>;
|
||||
label = "nvram";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
115
target/linux/brcm63xx/dts/fast2704v2.dts
Normal file
115
target/linux/brcm63xx/dts/fast2704v2.dts
Normal file
@@ -0,0 +1,115 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6328.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Sagem F@ST2704V2";
|
||||
compatible = "sagem,f@st2704v2", "brcm,bcm6328";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
rfkill {
|
||||
label = "rfkill";
|
||||
gpios = <&pinctrl 15 1>;
|
||||
linux,code = <KEY_WLAN>;
|
||||
};
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 23 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
wps {
|
||||
label = "wps";
|
||||
gpios = <&pinctrl 24 1>;
|
||||
linux,code = <KEY_WPS_BUTTON>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
usb_green {
|
||||
label = "F@ST2704V2:green:usb";
|
||||
gpios = <&pinctrl 1 1>;
|
||||
};
|
||||
inet_red {
|
||||
label = "F@ST2704V2:red:inet";
|
||||
gpios = <&pinctrl 2 1>;
|
||||
};
|
||||
dsl_green {
|
||||
label = "F@ST2704V2:green:dsl";
|
||||
gpios = <&pinctrl 3 1>;
|
||||
};
|
||||
power_green {
|
||||
label = "F@ST2704V2:green:power";
|
||||
gpios = <&pinctrl 4 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
power_red {
|
||||
label = "F@ST2704V2:red:power";
|
||||
gpios = <&pinctrl 5 1>;
|
||||
};
|
||||
wps_green {
|
||||
label = "F@ST2704V2:green:wps";
|
||||
gpios = <&pinctrl 10 1>;
|
||||
};
|
||||
inet_green {
|
||||
label = "F@ST2704V2:green:inet";
|
||||
gpios = <&pinctrl 11 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&hsspi {
|
||||
status = "ok";
|
||||
|
||||
flash@0 {
|
||||
compatible = "jedec,spi-nor";
|
||||
spi-max-frequency = <16666667>;
|
||||
spi-tx-bus-width = <2>;
|
||||
spi-rx-bus-width = <2>;
|
||||
reg = <0>;
|
||||
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
reg = <0x000000 0x010000>;
|
||||
label = "cfe";
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@10000 {
|
||||
reg = <0x010000 0x7e0000>;
|
||||
label = "linux";
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@7f0000 {
|
||||
reg = <0x7f0000 0x010000>;
|
||||
label = "nvram";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
65
target/linux/brcm63xx/dts/gw6000.dts
Normal file
65
target/linux/brcm63xx/dts/gw6000.dts
Normal file
@@ -0,0 +1,65 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6348.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "TECOM GW6000";
|
||||
compatible = "tecom,gw6000", "brcm,bcm6348";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 36 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x010000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@10000 {
|
||||
label = "linux";
|
||||
reg = <0x010000 0x3e0000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@3f0000 {
|
||||
label = "nvram";
|
||||
reg = <0x3f0000 0x010000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii>;
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
86
target/linux/brcm63xx/dts/gw6200.dts
Normal file
86
target/linux/brcm63xx/dts/gw6200.dts
Normal file
@@ -0,0 +1,86 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6348.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "TECOM GW6200";
|
||||
compatible = "tecom,gw6200", "brcm,bcm6348";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 36 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
line1_green {
|
||||
label = "GW6200:green:line1";
|
||||
gpios = <&pinctrl 4 1>;
|
||||
};
|
||||
line2_green {
|
||||
label = "GW6200:green:line2";
|
||||
gpios = <&pinctrl 5 1>;
|
||||
};
|
||||
line3_green {
|
||||
label = "GW6200:green:line3";
|
||||
gpios = <&pinctrl 6 1>;
|
||||
};
|
||||
tel_green {
|
||||
label = "GW6200:green:tel";
|
||||
gpios = <&pinctrl 7 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x010000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@10000 {
|
||||
label = "linux";
|
||||
reg = <0x010000 0x7e0000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@7f0000 {
|
||||
label = "nvram";
|
||||
reg = <0x7f0000 0x010000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii &pinctrl_mii_pccard>;
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
69
target/linux/brcm63xx/dts/hg520v.dts
Normal file
69
target/linux/brcm63xx/dts/hg520v.dts
Normal file
@@ -0,0 +1,69 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6358.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Huawei EchoLife HG520v";
|
||||
compatible = "huawei,hg520v", "brcm,bcm6358";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 37 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
inet_green {
|
||||
label = "HW520:green:net";
|
||||
gpios = <&pinctrl 32 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x010000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@10000 {
|
||||
label = "linux";
|
||||
reg = <0x010000 0x3e0000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@3f0000 {
|
||||
label = "nvram";
|
||||
reg = <0x3f0000 0x010000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
108
target/linux/brcm63xx/dts/hg553.dts
Normal file
108
target/linux/brcm63xx/dts/hg553.dts
Normal file
@@ -0,0 +1,108 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6358.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Huawei EchoLife HG553";
|
||||
compatible = "huawei,hg553", "brcm,bcm6358";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
rfkill {
|
||||
label = "rfkill";
|
||||
gpios = <&pinctrl 9 1>;
|
||||
linux,code = <KEY_RFKILL>;
|
||||
};
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 37 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power_green {
|
||||
label = "HW553:blue:power";
|
||||
gpios = <&pinctrl 4 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
power_red {
|
||||
label = "HW553:red:power";
|
||||
gpios = <&pinctrl 5 1>;
|
||||
};
|
||||
hspa_red {
|
||||
label = "HW553:red:hspa";
|
||||
gpios = <&pinctrl 12 1>;
|
||||
};
|
||||
hspa_blue {
|
||||
label = "HW553:blue:hspa";
|
||||
gpios = <&pinctrl 13 1>;
|
||||
};
|
||||
lan_red {
|
||||
label = "HW553:red:lan";
|
||||
gpios = <&pinctrl 22 1>;
|
||||
};
|
||||
lan_blue {
|
||||
label = "HW553:blue:lan";
|
||||
gpios = <&pinctrl 23 1>;
|
||||
};
|
||||
wifi_red {
|
||||
label = "HW553:red:wifi";
|
||||
gpios = <&pinctrl 25 1>;
|
||||
};
|
||||
dsl_red {
|
||||
label = "HW553:red:adsl";
|
||||
gpios = <&pinctrl 34 1>;
|
||||
};
|
||||
dsl_blue {
|
||||
label = "HW553:blue:adsl";
|
||||
gpios = <&pinctrl 35 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x020000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@20000 {
|
||||
label = "linux";
|
||||
reg = <0x020000 0xfc0000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@fe0000 {
|
||||
label = "nvram";
|
||||
reg = <0xfe0000 0x020000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
140
target/linux/brcm63xx/dts/hg556a-a.dts
Normal file
140
target/linux/brcm63xx/dts/hg556a-a.dts
Normal file
@@ -0,0 +1,140 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6358.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Huawei EchoLife HG556a (version A)";
|
||||
compatible = "huawei,hg556a-a", "brcm,bcm6358";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
help {
|
||||
label = "help";
|
||||
gpios = <&pinctrl 8 1>;
|
||||
linux,code = <KEY_HELP>;
|
||||
};
|
||||
wlan {
|
||||
label = "wlan";
|
||||
gpios = <&pinctrl 9 1>;
|
||||
linux,code = <KEY_WLAN>;
|
||||
};
|
||||
restart {
|
||||
label = "restart";
|
||||
gpios = <&pinctrl 10 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 11 1>;
|
||||
linux,code = <KEY_CONFIG>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
message_red {
|
||||
label = "HW556:red:message";
|
||||
gpios = <&pinctrl 0 1>;
|
||||
};
|
||||
hspa_red {
|
||||
label = "HW556:red:hspa";
|
||||
gpios = <&pinctrl 1 1>;
|
||||
};
|
||||
dsl_red {
|
||||
label = "HW556:red:dsl";
|
||||
gpios = <&pinctrl 2 1>;
|
||||
};
|
||||
power_red {
|
||||
label = "HW556:red:power";
|
||||
gpios = <&pinctrl 3 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
all_red {
|
||||
label = "HW556:red:all";
|
||||
gpios = <&pinctrl 6 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
lan1_green {
|
||||
label = "HW556:green:lan1";
|
||||
gpios = <&pinctrl 12 1>;
|
||||
};
|
||||
lan1_red {
|
||||
label = "HW556:red:lan1";
|
||||
gpios = <&pinctrl 13 1>;
|
||||
};
|
||||
lan2_green {
|
||||
label = "HW556:green:lan2";
|
||||
gpios = <&pinctrl 15 1>;
|
||||
};
|
||||
lan2_red {
|
||||
label = "HW556:red:lan2";
|
||||
gpios = <&pinctrl 22 1>;
|
||||
};
|
||||
lan3_green {
|
||||
label = "HW556:green:lan3";
|
||||
gpios = <&pinctrl 23 1>;
|
||||
};
|
||||
lan3_red {
|
||||
label = "HW556:red:lan3";
|
||||
gpios = <&pinctrl 26 1>;
|
||||
};
|
||||
lan4_green {
|
||||
label = "HW556:green:lan4";
|
||||
gpios = <&pinctrl 27 1>;
|
||||
};
|
||||
lan4_red {
|
||||
label = "HW556:red:lan4";
|
||||
gpios = <&pinctrl 28 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x020000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@20000 {
|
||||
label = "linux";
|
||||
reg = <0x020000 0xec0000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
cal_data@ee0000 {
|
||||
label = "cal_data";
|
||||
reg = <0xee0000 0x100000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
nvram@fe0000 {
|
||||
label = "nvram";
|
||||
reg = <0xfe0000 0x020000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
140
target/linux/brcm63xx/dts/hg556a-b.dts
Normal file
140
target/linux/brcm63xx/dts/hg556a-b.dts
Normal file
@@ -0,0 +1,140 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6358.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Huawei EchoLife HG556a (version B)";
|
||||
compatible = "huawei,hg556a-b", "brcm,bcm6358";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
help {
|
||||
label = "help";
|
||||
gpios = <&pinctrl 8 1>;
|
||||
linux,code = <KEY_HELP>;
|
||||
};
|
||||
wlan {
|
||||
label = "wlan";
|
||||
gpios = <&pinctrl 9 1>;
|
||||
linux,code = <KEY_WLAN>;
|
||||
};
|
||||
restart {
|
||||
label = "restart";
|
||||
gpios = <&pinctrl 10 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 11 1>;
|
||||
linux,code = <KEY_CONFIG>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
message_red {
|
||||
label = "HW556:red:message";
|
||||
gpios = <&pinctrl 0 1>;
|
||||
};
|
||||
hspa_red {
|
||||
label = "HW556:red:hspa";
|
||||
gpios = <&pinctrl 1 1>;
|
||||
};
|
||||
dsl_red {
|
||||
label = "HW556:red:dsl";
|
||||
gpios = <&pinctrl 2 1>;
|
||||
};
|
||||
power_red {
|
||||
label = "HW556:red:power";
|
||||
gpios = <&pinctrl 3 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
all_red {
|
||||
label = "HW556:red:all";
|
||||
gpios = <&pinctrl 6 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
lan1_green {
|
||||
label = "HW556:green:lan1";
|
||||
gpios = <&pinctrl 12 1>;
|
||||
};
|
||||
lan1_red {
|
||||
label = "HW556:red:lan1";
|
||||
gpios = <&pinctrl 13 1>;
|
||||
};
|
||||
lan2_green {
|
||||
label = "HW556:green:lan2";
|
||||
gpios = <&pinctrl 15 1>;
|
||||
};
|
||||
lan2_red {
|
||||
label = "HW556:red:lan2";
|
||||
gpios = <&pinctrl 22 1>;
|
||||
};
|
||||
lan3_green {
|
||||
label = "HW556:green:lan3";
|
||||
gpios = <&pinctrl 23 1>;
|
||||
};
|
||||
lan3_red {
|
||||
label = "HW556:red:lan3";
|
||||
gpios = <&pinctrl 26 1>;
|
||||
};
|
||||
lan4_green {
|
||||
label = "HW556:green:lan4";
|
||||
gpios = <&pinctrl 27 1>;
|
||||
};
|
||||
lan4_red {
|
||||
label = "HW556:red:lan4";
|
||||
gpios = <&pinctrl 28 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x020000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@20000 {
|
||||
label = "linux";
|
||||
reg = <0x020000 0xec0000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
cal_data@ee0000 {
|
||||
label = "cal_data";
|
||||
reg = <0xee0000 0x100000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
nvram@fe0000 {
|
||||
label = "nvram";
|
||||
reg = <0xfe0000 0x020000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
135
target/linux/brcm63xx/dts/hg556a-c.dts
Normal file
135
target/linux/brcm63xx/dts/hg556a-c.dts
Normal file
@@ -0,0 +1,135 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6358.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Huawei EchoLife HG556a (version C)";
|
||||
compatible = "huawei,hg556a-c", "brcm,bcm6358";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
help {
|
||||
label = "help";
|
||||
gpios = <&pinctrl 36 1>;
|
||||
linux,code = <KEY_HELP>;
|
||||
};
|
||||
wlan {
|
||||
label = "wlan";
|
||||
gpios = <&pinctrl 9 1>;
|
||||
linux,code = <KEY_WLAN>;
|
||||
};
|
||||
restart {
|
||||
label = "restart";
|
||||
gpios = <&pinctrl 10 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 11 1>;
|
||||
linux,code = <KEY_CONFIG>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
lan1_green {
|
||||
label = "HW556:green:lan1";
|
||||
gpios = <&pinctrl 0 1>;
|
||||
};
|
||||
lan2_green {
|
||||
label = "HW556:green:lan2";
|
||||
gpios = <&pinctrl 1 1>;
|
||||
};
|
||||
dsl_red {
|
||||
label = "HW556:red:dsl";
|
||||
gpios = <&pinctrl 2 1>;
|
||||
};
|
||||
power_red {
|
||||
label = "HW556:red:power";
|
||||
gpios = <&pinctrl 3 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
message_red {
|
||||
label = "HW556:red:message";
|
||||
gpios = <&pinctrl 12 1>;
|
||||
};
|
||||
lan1_red {
|
||||
label = "HW556:red:lan1";
|
||||
gpios = <&pinctrl 13 1>;
|
||||
};
|
||||
hspa_red {
|
||||
label = "HW556:red:hspa";
|
||||
gpios = <&pinctrl 15 1>;
|
||||
};
|
||||
lan2_red {
|
||||
label = "HW556:red:lan2";
|
||||
gpios = <&pinctrl 22 1>;
|
||||
};
|
||||
lan3_green {
|
||||
label = "HW556:green:lan3";
|
||||
gpios = <&pinctrl 23 1>;
|
||||
};
|
||||
lan3_red {
|
||||
label = "HW556:red:lan3";
|
||||
gpios = <&pinctrl 26 1>;
|
||||
};
|
||||
lan4_green {
|
||||
label = "HW556:green:lan4";
|
||||
gpios = <&pinctrl 27 1>;
|
||||
};
|
||||
lan4_red {
|
||||
label = "HW556:red:lan4";
|
||||
gpios = <&pinctrl 28 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x020000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@20000 {
|
||||
label = "linux";
|
||||
reg = <0x020000 0xec0000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
cal_data@ee0000 {
|
||||
label = "cal_data";
|
||||
reg = <0xee0000 0x100000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
nvram@fe0000 {
|
||||
label = "nvram";
|
||||
reg = <0xfe0000 0x020000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
96
target/linux/brcm63xx/dts/hg622.dts
Normal file
96
target/linux/brcm63xx/dts/hg622.dts
Normal file
@@ -0,0 +1,96 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6368.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Huawei HG622";
|
||||
compatible = "huawei,hg622", "brcm,bcm6368";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 34 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
dsl_green {
|
||||
label = "HG622:green:dsl";
|
||||
gpios = <&pinctrl 2 1>;
|
||||
};
|
||||
inet_green {
|
||||
label = "HG622:green:inet";
|
||||
gpios = <&pinctrl 5 1>;
|
||||
};
|
||||
usb_green {
|
||||
label = "HG622:green:usb";
|
||||
gpios = <&pinctrl 11 1>;
|
||||
};
|
||||
power_green {
|
||||
label = "HG622:green:power";
|
||||
gpios = <&pinctrl 22 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x020000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@20000 {
|
||||
label = "linux";
|
||||
reg = <0x020000 0xf80000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
cal_data@fa0000 {
|
||||
label = "cal_data";
|
||||
reg = <0xfa0000 0x020000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
nvram@fe0000 {
|
||||
label = "nvram";
|
||||
reg = <0xfe0000 0x020000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_pci_gnt0 &pinctrl_pci_req0
|
||||
&pinctrl_pci_intb &pinctrl_pci_gnt1
|
||||
&pinctrl_pci_req1>;
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
117
target/linux/brcm63xx/dts/hg655b.dts
Normal file
117
target/linux/brcm63xx/dts/hg655b.dts
Normal file
@@ -0,0 +1,117 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6368.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Huawei HG655b";
|
||||
compatible = "huawei,hg655b", "brcm,bcm6368";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
wps {
|
||||
label = "wps";
|
||||
gpios = <&pinctrl 12 1>;
|
||||
linux,code = <KEY_WPS_BUTTON>;
|
||||
};
|
||||
wlan {
|
||||
label = "wlan";
|
||||
gpios = <&pinctrl 23 1>;
|
||||
linux,code = <KEY_WLAN>;
|
||||
};
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 34 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
dsl_green {
|
||||
label = "HW65x:green:dsl";
|
||||
gpios = <&pinctrl 2 1>;
|
||||
};
|
||||
internet_green {
|
||||
label = "HW65x:green:internet";
|
||||
gpios = <&pinctrl 5 1>;
|
||||
};
|
||||
|
||||
usb_green {
|
||||
label = "HW65x:green:usb";
|
||||
gpios = <&pinctrl 14 1>;
|
||||
};
|
||||
power_green {
|
||||
label = "HW65x:green:power";
|
||||
gpios = <&pinctrl 22 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
voip_green {
|
||||
label = "HW65x:green:voip";
|
||||
gpios = <&pinctrl 25 1>;
|
||||
};
|
||||
wps_green {
|
||||
label = "HW65x:green:wps";
|
||||
gpios = <&pinctrl 27 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x020000>;
|
||||
};
|
||||
|
||||
linux@20000 {
|
||||
label = "linux";
|
||||
reg = <0x020000 0x770000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
board_data@790000 {
|
||||
label = "board_data";
|
||||
reg = <0x790000 0x030000>;
|
||||
};
|
||||
|
||||
cal_data@7c0000 {
|
||||
label = "cal_data";
|
||||
reg = <0x7c0000 0x020000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
nvram@7d0000 {
|
||||
label = "nvram";
|
||||
reg = <0x7e0000 0x020000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_pci &pinctrl_ephy0_led &pinctrl_ephy1_led
|
||||
&pinctrl_ephy2_led &pinctrl_ephy3_led>;
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
167
target/linux/brcm63xx/dts/homehub2a.dts
Normal file
167
target/linux/brcm63xx/dts/homehub2a.dts
Normal file
@@ -0,0 +1,167 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6358.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "BT Home Hub 2.0 Type A";
|
||||
compatible = "thomson,homehub2a", "brcm,bcm6358";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
phone {
|
||||
label = "phone";
|
||||
gpios = <&pinctrl 1 1>;
|
||||
linux,code = <KEY_PHONE>;
|
||||
};
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 9 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
wps {
|
||||
label = "wps";
|
||||
gpios = <&pinctrl 11 1>;
|
||||
linux,code = <KEY_WPS_BUTTON>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&leds {
|
||||
status = "ok";
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_serial_led>;
|
||||
|
||||
led@0 {
|
||||
reg = <0>;
|
||||
active-low;
|
||||
label = "HOMEHUB2A:red:power";
|
||||
};
|
||||
|
||||
led@1 {
|
||||
reg = <0>;
|
||||
active-low;
|
||||
label = "HOMEHUB2A:green:power";
|
||||
default-state = "on";
|
||||
};
|
||||
|
||||
led@2 {
|
||||
reg = <2>;
|
||||
active-low;
|
||||
label = "HOMEHUB2A:blue:power";
|
||||
};
|
||||
|
||||
led@3 {
|
||||
reg = <3>;
|
||||
active-low;
|
||||
label = "HOMEHUB2A:red:broadband";
|
||||
};
|
||||
|
||||
led@4 {
|
||||
reg = <4>;
|
||||
active-low;
|
||||
label = "HOMEHUB2A:green:broadband";
|
||||
};
|
||||
|
||||
led@5 {
|
||||
reg = <5>;
|
||||
active-low;
|
||||
label = "HOMEHUB2A:blue:broadband";
|
||||
};
|
||||
|
||||
led@6 {
|
||||
reg = <6>;
|
||||
active-low;
|
||||
label = "HOMEHUB2A:red:wireless";
|
||||
};
|
||||
|
||||
led@7 {
|
||||
reg = <7>;
|
||||
active-low;
|
||||
label = "HOMEHUB2A:green:wireless";
|
||||
};
|
||||
|
||||
led@8 {
|
||||
reg = <8>;
|
||||
active-low;
|
||||
label = "HOMEHUB2A:blue:wireless";
|
||||
};
|
||||
|
||||
led@9 {
|
||||
reg = <9>;
|
||||
active-low;
|
||||
label = "HOMEHUB2A:red:phone";
|
||||
};
|
||||
|
||||
led@10 {
|
||||
reg = <10>;
|
||||
active-low;
|
||||
label = "HOMEHUB2A:green:phone";
|
||||
};
|
||||
|
||||
led@11 {
|
||||
reg = <11>;
|
||||
active-low;
|
||||
label = "HOMEHUB2A:blue:phone";
|
||||
};
|
||||
|
||||
led@12 {
|
||||
reg = <12>;
|
||||
active-low;
|
||||
label = "HOMEHUB2A:red:upgrading";
|
||||
};
|
||||
|
||||
led@13 {
|
||||
reg = <13>;
|
||||
active-low;
|
||||
label = "HOMEHUB2A:green:upgrading";
|
||||
};
|
||||
|
||||
led@14 {
|
||||
reg = <14>;
|
||||
active-low;
|
||||
label = "HOMEHUB2A:blue:upgrading";
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x020000>;
|
||||
};
|
||||
|
||||
linux@20000 {
|
||||
label = "linux";
|
||||
reg = <0x020000 0xfc0000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@fe0000 {
|
||||
label = "nvram";
|
||||
reg = <0xfe0000 0x020000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
82
target/linux/brcm63xx/dts/livebox-blue-5g.dts
Normal file
82
target/linux/brcm63xx/dts/livebox-blue-5g.dts
Normal file
@@ -0,0 +1,82 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6348.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Inventel Livebox 1";
|
||||
compatible = "inventel,livebox-blue-5g", "brcm,bcm6348";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
button1 {
|
||||
label = "1";
|
||||
gpios = <&pinctrl 36 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
|
||||
button2 {
|
||||
label = "2";
|
||||
gpios = <&pinctrl 7 1>;
|
||||
linux,code = <BTN_2>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
red_adsl_fail {
|
||||
label = "Livebox1:red:adsl-fail-power";
|
||||
gpios = <&pinctrl 0 0>;
|
||||
default-state = "on";
|
||||
};
|
||||
|
||||
red_adsl {
|
||||
label = "Livebox1:red:adsl";
|
||||
gpios = <&pinctrl 1 0>;
|
||||
};
|
||||
|
||||
red_traffic {
|
||||
label = "Livebox1:red:traffic";
|
||||
gpios = <&pinctrl 2 0>;
|
||||
};
|
||||
|
||||
red_phone {
|
||||
label = "Livebox1:red:phone";
|
||||
gpios = <&pinctrl 3 0>;
|
||||
};
|
||||
|
||||
red_wifi {
|
||||
label = "Livebox1:red:wifi";
|
||||
gpios = <&pinctrl 4 0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
reg = <0x1e400000 0x800000>;
|
||||
status = "ok";
|
||||
|
||||
linux,part-probe = "RedBoot";
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii &pinctrl_mii_pccard>;
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
91
target/linux/brcm63xx/dts/magic.dts
Normal file
91
target/linux/brcm63xx/dts/magic.dts
Normal file
@@ -0,0 +1,91 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6348.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Alice W-Gate";
|
||||
compatible = "telsey,magic", "brcm,bcm6348";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power {
|
||||
label = "MAGIC:green:power";
|
||||
gpios = <&pinctrl 0 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
|
||||
stop {
|
||||
label = "MAGIC:green:stop";
|
||||
gpios = <&pinctrl 1 1>;
|
||||
};
|
||||
|
||||
hpna {
|
||||
label = "MAGIC:green:hpna";
|
||||
gpios = <&pinctrl 4 1>;
|
||||
};
|
||||
|
||||
status {
|
||||
label = "MAGIC:green:adsl";
|
||||
gpios = <&pinctrl 5 1>;
|
||||
};
|
||||
|
||||
voip {
|
||||
label = "MAGIC:green:voip";
|
||||
gpios = <&pinctrl 22 1>;
|
||||
};
|
||||
|
||||
wifi {
|
||||
label = "MAGIC:green:wifi";
|
||||
gpios = <&pinctrl 28 0>;
|
||||
};
|
||||
|
||||
usb {
|
||||
label = "MAGIC:green:usb";
|
||||
gpios = <&pinctrl 35 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x010000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@10000 {
|
||||
label = "linux";
|
||||
reg = <0x010000 0x3e0000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@3f0000 {
|
||||
label = "nvram";
|
||||
reg = <0x3f0000 0x010000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii &pinctrl_mii_pccard>;
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
112
target/linux/brcm63xx/dts/nb4-fxc-r1.dts
Normal file
112
target/linux/brcm63xx/dts/nb4-fxc-r1.dts
Normal file
@@ -0,0 +1,112 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6358.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "SFR Neuf Box 4 (Foxconn)";
|
||||
compatible = "sfr,nb4-fxc-r1", "brcm,bcm6358";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
service {
|
||||
label = "service";
|
||||
gpios = <&pinctrl 27 1>;
|
||||
linux,code = <BTN_0>;
|
||||
};
|
||||
clip {
|
||||
label = "clip";
|
||||
gpios = <&pinctrl 31 1>;
|
||||
linux,code = <BTN_1>;
|
||||
};
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 34 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
wps {
|
||||
label = "wps";
|
||||
gpios = <&pinctrl 37 1>;
|
||||
linux,code = <KEY_WPS_BUTTON>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
traffic_white {
|
||||
label = "NB4-FXC-r1:white:traffic";
|
||||
gpios = <&pinctrl 2 0>;
|
||||
};
|
||||
service_blue {
|
||||
label = "NB4-FXC-r1:blue:service";
|
||||
gpios = <&pinctrl 4 0>;
|
||||
};
|
||||
wifi_white {
|
||||
label = "NB4-FXC-r1:white:wifi";
|
||||
gpios = <&pinctrl 15 0>;
|
||||
};
|
||||
service_red {
|
||||
label = "NB4-FXC-r1:red:service";
|
||||
gpios = <&pinctrl 29 0>;
|
||||
};
|
||||
service_green {
|
||||
label = "NB4-FXC-r1:green:service";
|
||||
gpios = <&pinctrl 30 0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&leds {
|
||||
status = "ok";
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_serial_led>;
|
||||
|
||||
led@0 {
|
||||
reg = <0>;
|
||||
active-low;
|
||||
label = "NB4-FXC-r1:white:alarm";
|
||||
};
|
||||
|
||||
led@2 {
|
||||
reg = <2>;
|
||||
active-low;
|
||||
label = "NB4-FXC-r1:white:tv";
|
||||
};
|
||||
|
||||
led@3 {
|
||||
reg = <3>;
|
||||
active-low;
|
||||
label = "NB4-FXC-r1:white:tel";
|
||||
};
|
||||
|
||||
led@4 {
|
||||
reg = <4>;
|
||||
active-low;
|
||||
label = "NB4-FXC-r1:white:adsl";
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "brcm,bcm963xx-cfe-nor-partitions";
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
112
target/linux/brcm63xx/dts/nb4-ser-r0.dts
Normal file
112
target/linux/brcm63xx/dts/nb4-ser-r0.dts
Normal file
@@ -0,0 +1,112 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6358.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "SFR Neuf Box 4 (Sercomm)";
|
||||
compatible = "sfr,nb4-ser-r0", "brcm,bcm6358";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
service {
|
||||
label = "service";
|
||||
gpios = <&pinctrl 27 1>;
|
||||
linux,code = <BTN_0>;
|
||||
};
|
||||
clip {
|
||||
label = "clip";
|
||||
gpios = <&pinctrl 31 1>;
|
||||
linux,code = <BTN_1>;
|
||||
};
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 34 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
wps {
|
||||
label = "wps";
|
||||
gpios = <&pinctrl 37 1>;
|
||||
linux,code = <KEY_WPS_BUTTON>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
traffic_white {
|
||||
label = "NB4-SER-r0:white:traffic";
|
||||
gpios = <&pinctrl 2 1>;
|
||||
};
|
||||
service_blue {
|
||||
label = "NB4-SER-r0:blue:service";
|
||||
gpios = <&pinctrl 4 1>;
|
||||
};
|
||||
wifi_white {
|
||||
label = "NB4-SER-r0:white:wifi";
|
||||
gpios = <&pinctrl 15 1>;
|
||||
};
|
||||
service_red {
|
||||
label = "NB4-SER-r0:red:service";
|
||||
gpios = <&pinctrl 29 1>;
|
||||
};
|
||||
service_green {
|
||||
label = "NB4-SER-r0:green:service";
|
||||
gpios = <&pinctrl 30 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&leds {
|
||||
status = "ok";
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_serial_led>;
|
||||
|
||||
led@0 {
|
||||
reg = <0>;
|
||||
active-low;
|
||||
label = "NB4-SER-r0:white:alarm";
|
||||
};
|
||||
|
||||
led@2 {
|
||||
reg = <2>;
|
||||
active-low;
|
||||
label = "NB4-SER-r0:white:tv";
|
||||
};
|
||||
|
||||
led@3 {
|
||||
reg = <3>;
|
||||
active-low;
|
||||
label = "NB4-SER-r0:white:tel";
|
||||
};
|
||||
|
||||
led@4 {
|
||||
reg = <4>;
|
||||
active-low;
|
||||
label = "NB4-SER-r0:white:adsl";
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "brcm,bcm963xx-cfe-nor-partitions";
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
94
target/linux/brcm63xx/dts/nb6-ser-r0.dts
Normal file
94
target/linux/brcm63xx/dts/nb6-ser-r0.dts
Normal file
@@ -0,0 +1,94 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6362.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "SFR neufbox 6 (Sercomm)";
|
||||
compatible = "sfr,nb6-ser-r0", "brcm,bcm6362";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
service {
|
||||
label = "service";
|
||||
gpios = <&pinctrl 10 1>;
|
||||
linux,code = <BTN_0>;
|
||||
};
|
||||
wlan {
|
||||
label = "wlan";
|
||||
gpios = <&pinctrl 12 1>;
|
||||
linux,code = <KEY_WLAN>;
|
||||
};
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 24 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
wps {
|
||||
label = "wps";
|
||||
gpios = <&pinctrl 25 1>;
|
||||
linux,code = <KEY_WPS_BUTTON>;
|
||||
};
|
||||
};
|
||||
|
||||
switch {
|
||||
compatible = "realtek,rtl8367";
|
||||
gpio-sda = <&pinctrl 18 0>;
|
||||
gpio-sck = <&pinctrl 20 0>;
|
||||
|
||||
realtek,extif0 = <1 5 1 1 1 1 1 1 2>;
|
||||
};
|
||||
};
|
||||
|
||||
&hsspi {
|
||||
status = "ok";
|
||||
|
||||
flash@0 {
|
||||
compatible = "jedec,spi-nor";
|
||||
spi-max-frequency = <20000000>;
|
||||
spi-tx-bus-width = <2>;
|
||||
spi-rx-bus-width = <2>;
|
||||
reg = <0>;
|
||||
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
reg = <0x000000 0x010000>;
|
||||
label = "cfe";
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@10000 {
|
||||
reg = <0x010000 0xfe0000>;
|
||||
label = "linux";
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@ff0000 {
|
||||
reg = <0xff0000 0x010000>;
|
||||
label = "nvram";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
96
target/linux/brcm63xx/dts/p870hw-51a-v2.dts
Normal file
96
target/linux/brcm63xx/dts/p870hw-51a-v2.dts
Normal file
@@ -0,0 +1,96 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6368.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Zyxel P870HW-51a v2";
|
||||
compatible = "zyxel,p870hw-51a-v2", "brcm,bcm6368";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 35 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
wps {
|
||||
label = "wps";
|
||||
gpios = <&pinctrl 36 1>;
|
||||
linux,code = <KEY_WPS_BUTTON>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power_green {
|
||||
label = "P870HW-51a:green:power";
|
||||
gpios = <&pinctrl 0 0>;
|
||||
default-state = "on";
|
||||
};
|
||||
dsl_green {
|
||||
label = "P870HW-51a:green:dsl";
|
||||
gpios = <&pinctrl 2 1>;
|
||||
};
|
||||
inet_green {
|
||||
label = "P870HW-51a:green:inet";
|
||||
gpios = <&pinctrl 22 1>;
|
||||
};
|
||||
wps_orange {
|
||||
label = "P870HW-51a:orange:wps";
|
||||
gpios = <&pinctrl 24 1>;
|
||||
};
|
||||
inet_red {
|
||||
label = "P870HW-51a:red:inet";
|
||||
gpios = <&pinctrl 33 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x010000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@10000 {
|
||||
label = "linux";
|
||||
reg = <0x010000 0x3e0000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@3f0000 {
|
||||
label = "nvram";
|
||||
reg = <0x3f0000 0x010000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_pci>;
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
107
target/linux/brcm63xx/dts/r1000h.dts
Normal file
107
target/linux/brcm63xx/dts/r1000h.dts
Normal file
@@ -0,0 +1,107 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6368.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Actiontec R1000H";
|
||||
compatible = "actiontec,r1000h", "brcm,bcm6368";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 34 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
|
||||
wps {
|
||||
label = "wps";
|
||||
gpios = <&pinctrl 35 1>;
|
||||
linux,code = <KEY_WPS_BUTTON>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
inet_green {
|
||||
label = "R1000H:green:inet";
|
||||
gpios = <&pinctrl 5 0>;
|
||||
};
|
||||
|
||||
usb_green {
|
||||
label = "R1000H:green:usb";
|
||||
gpios = <&pinctrl 21 1>;
|
||||
};
|
||||
|
||||
power_green {
|
||||
label = "R1000H:green:power";
|
||||
gpios = <&pinctrl 22 0>;
|
||||
default-state = "on";
|
||||
};
|
||||
|
||||
wps_green {
|
||||
label = "R1000H:green:wps";
|
||||
gpios = <&pinctrl 23 1>;
|
||||
};
|
||||
|
||||
power_red {
|
||||
label = "R1000H:red:power";
|
||||
gpios = <&pinctrl 24 0>;
|
||||
};
|
||||
|
||||
wps_red {
|
||||
label = "R1000H:red:wps";
|
||||
gpios = <&pinctrl 30 1>;
|
||||
};
|
||||
|
||||
inet_red {
|
||||
label = "R1000H:red:inet";
|
||||
gpios = <&pinctrl 31 0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
CFE@0 {
|
||||
reg = <0x000000 0x020000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@20000 {
|
||||
reg = <0x020000 0x1fc0000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@1fe0000 {
|
||||
reg = <0x1fe0000 0x20000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
|
||||
&uart1 {
|
||||
status = "ok";
|
||||
};
|
||||
111
target/linux/brcm63xx/dts/r5010unv2.dts
Normal file
111
target/linux/brcm63xx/dts/r5010unv2.dts
Normal file
@@ -0,0 +1,111 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6328.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "NuCom R5010UN v2";
|
||||
compatible = "nucom,r5010unv2", "brcm,bcm6328";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 23 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
wps {
|
||||
label = "wps";
|
||||
gpios = <&pinctrl 24 1>;
|
||||
linux,code = <KEY_WPS_BUTTON>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
inet_green {
|
||||
label = "R5010UNv2:green:inet";
|
||||
gpios = <&pinctrl 1 1>;
|
||||
};
|
||||
inet_fail_red {
|
||||
label = "R5010UNv2:red:inet-fail";
|
||||
gpios = <&pinctrl 2 1>;
|
||||
};
|
||||
dsl_red {
|
||||
label = "R5010UNv2:green:dsl";
|
||||
gpios = <&pinctrl 3 1>;
|
||||
};
|
||||
power_green {
|
||||
label = "R5010UNv2:green:power";
|
||||
gpios = <&pinctrl 4 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
power_fail_red {
|
||||
label = "R5010UNv2:red:power-fail";
|
||||
gpios = <&pinctrl 5 1>;
|
||||
};
|
||||
wps_green {
|
||||
label = "R5010UNv2:green:wps";
|
||||
gpios = <&pinctrl 10 1>;
|
||||
};
|
||||
usb_green {
|
||||
label = "R5010UNv2:green:usb";
|
||||
gpios = <&pinctrl 11 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&hsspi {
|
||||
status = "ok";
|
||||
|
||||
flash@0 {
|
||||
compatible = "jedec,spi-nor";
|
||||
spi-max-frequency = <16666667>;
|
||||
spi-tx-bus-width = <2>;
|
||||
spi-rx-bus-width = <2>;
|
||||
reg = <0>;
|
||||
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
reg = <0x000000 0x010000>;
|
||||
label = "cfe";
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@10000 {
|
||||
reg = <0x010000 0x7e0000>;
|
||||
label = "linux";
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@7f0000 {
|
||||
reg = <0x7f0000 0x010000>;
|
||||
label = "nvram";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
68
target/linux/brcm63xx/dts/rg100a.dts
Normal file
68
target/linux/brcm63xx/dts/rg100a.dts
Normal file
@@ -0,0 +1,68 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6358.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Alcatel RG100A";
|
||||
compatible = "alcatel,rg100a", "brcm,bcm6358";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
stop_green {
|
||||
label = "96358VW2:green:stop";
|
||||
gpios = <&pinctrl 4 1>;
|
||||
};
|
||||
power_green {
|
||||
label = "96358VW2:green:power";
|
||||
gpios = <&pinctrl 5 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
adsl_green {
|
||||
label = "96358VW2:green:adsl";
|
||||
gpios = <&pinctrl 22 1>;
|
||||
};
|
||||
ppp_fail_green {
|
||||
label = "96358VW2:green:ppp-fail";
|
||||
gpios = <&pinctrl 23 0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x020000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@20000 {
|
||||
label = "linux";
|
||||
reg = <0x020000 0xfc0000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@fe0000 {
|
||||
label = "nvram";
|
||||
reg = <0xfe0000 0x020000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
51
target/linux/brcm63xx/dts/rta1025w.dts
Normal file
51
target/linux/brcm63xx/dts/rta1025w.dts
Normal file
@@ -0,0 +1,51 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6348.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Dynalink RTA1025W";
|
||||
compatible = "dynalink,rta1025w", "brcm,bcm6348";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x010000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@10000 {
|
||||
label = "linux";
|
||||
reg = <0x010000 0x3e0000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@3f0000 {
|
||||
label = "nvram";
|
||||
reg = <0x3f0000 0x010000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii>;
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
68
target/linux/brcm63xx/dts/rta1320.dts
Normal file
68
target/linux/brcm63xx/dts/rta1320.dts
Normal file
@@ -0,0 +1,68 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6338.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Dynalink RTA1320";
|
||||
compatible = "dynalink,rta1320", "brcm,bcm6338";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
green_power {
|
||||
label = "RTA1320_16M:green:power";
|
||||
gpios = <&gpio0 0 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
green_stop {
|
||||
label = "RTA1320_16M:green:stop";
|
||||
gpios = <&gpio0 1 1>;
|
||||
};
|
||||
green_adsl {
|
||||
label = "RTA1320_16M:green:adsl";
|
||||
gpios = <&gpio0 3 1>;
|
||||
};
|
||||
green_ppp {
|
||||
label = "RTA1320_16M:green:ppp";
|
||||
gpios = <&gpio0 4 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x010000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@10000 {
|
||||
label = "linux";
|
||||
reg = <0x010000 0x3e0000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@3f0000 {
|
||||
label = "nvram";
|
||||
reg = <0x3f0000 0x010000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
84
target/linux/brcm63xx/dts/rta770bw.dts
Normal file
84
target/linux/brcm63xx/dts/rta770bw.dts
Normal file
@@ -0,0 +1,84 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6345.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Siemens Gigaset SE515";
|
||||
compatible = "dynalink,rta770bw", "brcm,bcm6345";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&gpio0 13 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
usb {
|
||||
label = "RTA770BW:green:usb";
|
||||
gpios = <&gpio0 7 1>;
|
||||
};
|
||||
|
||||
adsl {
|
||||
label = "RTA770BW:green:adsl";
|
||||
gpios = <&gpio0 8 0>;
|
||||
};
|
||||
|
||||
diag {
|
||||
label = "RTA770BW:green:diag";
|
||||
gpios = <&gpio0 10 1>;
|
||||
};
|
||||
|
||||
wlan {
|
||||
label = "RTA770BW:green:wlan";
|
||||
gpios = <&gpio0 11 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x010000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@10000 {
|
||||
label = "linux";
|
||||
reg = <0x010000 0x3e0000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@3f0000 {
|
||||
label = "nvram";
|
||||
reg = <0x3f0000 0x010000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
84
target/linux/brcm63xx/dts/rta770w.dts
Normal file
84
target/linux/brcm63xx/dts/rta770w.dts
Normal file
@@ -0,0 +1,84 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6345.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "Dynalink RTA770W";
|
||||
compatible = "dynalink,rta770w", "brcm,bcm6345";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&gpio0 13 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
usb {
|
||||
label = "RTA770W:green:usb";
|
||||
gpios = <&gpio0 7 1>;
|
||||
};
|
||||
|
||||
adsl {
|
||||
label = "RTA770W:green:adsl";
|
||||
gpios = <&gpio0 8 0>;
|
||||
};
|
||||
|
||||
diag {
|
||||
label = "RTA770W:green:diag";
|
||||
gpios = <&gpio0 10 1>;
|
||||
};
|
||||
|
||||
wlan {
|
||||
label = "RTA770W:green:wlan";
|
||||
gpios = <&gpio0 11 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x010000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@10000 {
|
||||
label = "linux";
|
||||
reg = <0x010000 0x3e0000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@3f0000 {
|
||||
label = "nvram";
|
||||
reg = <0x3f0000 0x010000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
95
target/linux/brcm63xx/dts/spw303v.dts
Normal file
95
target/linux/brcm63xx/dts/spw303v.dts
Normal file
@@ -0,0 +1,95 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6358.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "T-Com Speedport W303 V";
|
||||
compatible = "t-com,spw303v", "brcm,bcm6358";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 11 0>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
ses {
|
||||
label = "ses";
|
||||
gpios = <&pinctrl 37 1>;
|
||||
linux,code = <KEY_WPS_BUTTON>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
ses_green {
|
||||
label = "spw303v:green:ses";
|
||||
gpios = <&pinctrl 0 1>;
|
||||
};
|
||||
power_adsl_red {
|
||||
label = "spw303v:red:power+adsl";
|
||||
gpios = <&pinctrl 2 1>;
|
||||
};
|
||||
ppp_green {
|
||||
label = "spw303v:green:ppp";
|
||||
gpios = <&pinctrl 5 1>;
|
||||
};
|
||||
power_adsl_green {
|
||||
label = "spw303v:green:power+adsl";
|
||||
gpios = <&pinctrl 22 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
voip_green {
|
||||
label = "spw303v:green:voip";
|
||||
gpios = <&pinctrl 27 1>;
|
||||
};
|
||||
pots_green {
|
||||
label = "spw303v:green:pots";
|
||||
gpios = <&pinctrl 31 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x010000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@10000 {
|
||||
label = "linux";
|
||||
reg = <0x010000 0x7e0000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@7f0000 {
|
||||
label = "nvram";
|
||||
reg = <0x7f0000 0x010000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
91
target/linux/brcm63xx/dts/spw500v.dts
Normal file
91
target/linux/brcm63xx/dts/spw500v.dts
Normal file
@@ -0,0 +1,91 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6348.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "T-Com Speedport W500 V";
|
||||
compatible = "t-com,spw500v", "brcm,bcm6348";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 33 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power_green {
|
||||
label = "SPW500V:green:power";
|
||||
gpios = <&pinctrl 0 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
power_red {
|
||||
label = "SPW500V:red:power";
|
||||
gpios = <&pinctrl 1 1>;
|
||||
};
|
||||
ppp_green {
|
||||
label = "SPW500V:green:ppp";
|
||||
gpios = <&pinctrl 3 1>;
|
||||
};
|
||||
pstn_green {
|
||||
label = "SPW500V:green:pstn";
|
||||
gpios = <&pinctrl 28 1>;
|
||||
};
|
||||
voip_green {
|
||||
label = "SPW500V:green:voip";
|
||||
gpios = <&pinctrl 32 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x010000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@10000 {
|
||||
label = "linux";
|
||||
reg = <0x010000 0x3e0000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@3f0000 {
|
||||
label = "nvram";
|
||||
reg = <0x3f0000 0x010000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_pci>;
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
91
target/linux/brcm63xx/dts/td-w8900gb.dts
Normal file
91
target/linux/brcm63xx/dts/td-w8900gb.dts
Normal file
@@ -0,0 +1,91 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include "bcm6348.dtsi"
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "TP-Link TD-W8900GB";
|
||||
compatible = "tp-link,td-w8900gb", "brcm,bcm6348";
|
||||
|
||||
chosen {
|
||||
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <20>;
|
||||
debounce-interval = <60>;
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&pinctrl 33 1>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power_green {
|
||||
label = "96348GW-11:green:power";
|
||||
gpios = <&pinctrl 0 1>;
|
||||
default-state = "on";
|
||||
};
|
||||
stop_green {
|
||||
label = "96348GW-11:green:stop";
|
||||
gpios = <&pinctrl 1 1>;
|
||||
};
|
||||
adsl_fail_green {
|
||||
label = "96348GW-11:green:adsl-fail";
|
||||
gpios = <&pinctrl 2 1>;
|
||||
};
|
||||
ppp_green {
|
||||
label = "96348GW-11:green:ppp";
|
||||
gpios = <&pinctrl 3 1>;
|
||||
};
|
||||
ppp_fail_green {
|
||||
label = "96348GW-11:green:ppp-fail";
|
||||
gpios = <&pinctrl 4 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x020000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@20000 {
|
||||
label = "linux";
|
||||
reg = <0x020000 0x3d0000>;
|
||||
compatible = "brcm,bcm963xx-imagetag";
|
||||
};
|
||||
|
||||
nvram@3e0000 {
|
||||
label = "nvram";
|
||||
reg = <0x3f0000 0x010000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii &pinctrl_mii_pccard>;
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "ok";
|
||||
};
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user