openwrt/target/linux/bmips/dts/bcm63168-pace-v5471.dts
Matheus Sampaio Queiroga 7c59bdcf7c put
Signed-off-by: Matheus Sampaio Queiroga <srherobrine20@gmail.com>
2025-01-12 16:14:08 -03:00

279 lines
6.5 KiB
Plaintext

// SPDX-License-Identifier: GPL-2.0-or-later
#include "bcm6368.dtsi"
/ {
model = "Pace v5471";
compatible = "pace,v5471", "brcm,bcm6368";
aliases {
led-boot = &led_power_green;
led-failsafe = &led_power_red;
led-running = &led_power_green;
led-upgrade = &led_power_green;
};
// {bp_usExtIntrResetToDefault, .u.us = BP_EXT_INTR_0},
// {bp_usExtIntrSesBtnWireless, .u.us = BP_EXT_INTR_1},
keys {
compatible = "gpio-keys-polled";
poll-interval = <100>;
reset {
label = "reset";
linux,code = <KEY_RESTART>;
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
wps {
label = "wps";
linux,code = <KEY_WPS_BUTTON>;
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
};
};
&leds {
status = "okay";
brcm,serial-leds;
brcm,serial-dat-low;
brcm,serial-shift-inv;
brcm,serial-mux;
// {bp_usGpioLedWanData, .u.us = BP_GPIO_8_AL},
// {bp_usGpioIntAFELDMode, .u.us = BP_GPIO_10_AH},
// {bp_usGpioIntAFELDPwr, .u.us = BP_GPIO_11_AH},
// {bp_usGpioLedBlPowerOn, .u.us = BP_GPIO_20_AL},
// {bp_usGpioLedBlStop, .u.us = BP_GPIO_21_AL},
led_power_green: led@20 {
reg = <20>;
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_POWER;
active-low;
};
led_power_red: led@21 {
reg = <21>;
color = <LED_COLOR_ID_RED>;
function = LED_FUNCTION_POWER;
active-low;
};
// {bp_usGpioLedAdsl, .u.us = BP_SERIAL_GPIO_3_AL},
led@3 {
reg = <3>;
color = <LED_COLOR_ID_GREEN>;
label = "green:adsl";
};
// {bp_usGpioLedSesWireless, .u.us = BP_SERIAL_GPIO_7_AL},
led@7 {
reg = <7>;
color = <LED_COLOR_ID_GREEN>;
label = "green:wireless";
};
// {bp_usGpioLedWanError, .u.us = BP_SERIAL_GPIO_2_AL},
led@2 {
reg = <2>;
color = <LED_COLOR_ID_GREEN>;
label = "green:wan:error";
};
// {bp_usGpioVoip1Led, .u.us = BP_SERIAL_GPIO_4_AL},
led@4 {
reg = <4>;
color = <LED_COLOR_ID_GREEN>;
label = "green:voip:1";
};
// {bp_usGpioVoip2Led, .u.us = BP_SERIAL_GPIO_5_AL},
led@5 {
reg = <5>;
color = <LED_COLOR_ID_GREEN>;
label = "green:voip:2";
};
// {bp_usGpioPotsLed, .u.us = BP_SERIAL_GPIO_6_AL},
led@6 {
reg = <6>;
color = <LED_COLOR_ID_GREEN>;
label = "green:pots";
};
};
&nflash {
status = "okay";
nandcs@0 {
compatible = "brcm,nandcs";
reg = <0>;
nand-ecc-step-size = <512>;
nand-ecc-strength = <15>;
nand-on-flash-bbt;
brcm,nand-oob-sector-size = <64>;
// 6 cmdlinepart partitions found on MTD device brcmnand.0
// Creating 6 MTD partitions on "brcmnand.0":
// 0x000000000000-0x000000200000 : "Loader"
// 0x000000200000-0x000000400000 : "Nvram"
// 0x000000400000-0x000002400000 : "Firmware"
// 0x000002400000-0x000004400000 : "OldFirmware"
// 0x000004400000-0x000004c00000 : "Nvlog"
// 0x000004c00000-0x000007f80000 : "Extra_5"
// Creating 1 MTD partitions on "RAM":
// 0x000000000000-0x000000b13000 : "Root FS"
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
// 0x000000000000-0x000000200000 : "Loader"
partition@0 {
label = "CFE";
reg = <0x00000000 0x00020000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
macaddr_cferom_lan_wan: macaddr@14 {
reg = <0x14 0x6>;
};
};
};
// 0x000000200000-0x000000400000 : "Nvram"
partition@200000 {
label = "nvram";
reg = <0x00020000 0x00040000>;
read-only;
};
// 0x000000400000-0x000002400000 : "Firmware"
partition@400000 {
label = "firmware";
reg = <0x00040000 0x00240000>;
read-only;
};
// 0x000002400000-0x000004400000 : "OldFirmware"
partition@2400000 {
label = "oldfirmware";
reg = <0x00240000 0x00440000>;
read-only;
};
// 0x000004400000-0x000004c00000 : "Nvlog"
partition@4400000 {
label = "nvlog";
reg = <0x004400000 0x004c00000>;
read-only;
};
// 0x000004c00000-0x000007f80000 : "Extra_5"
partition@4c00000 {
label = "extra5";
reg = <0x004c00000 0x007f80000>;
read-only;
};
};
};
};
&pinctrl {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ephy0_led &pinctrl_ephy1_led &pinctrl_ephy2_led &pinctrl_ephy3_led>;
};
// lan1 8000.06e058133e20 no eth0
// eth1
// eth2
// eth3
// eth5
// wl0
// lan2 8000.000000000000 no
// ~ # brctl showmacs lan1
// port no mac addr is local? ageing timer
// 1 06:e0:58:13:3e:20 yes 0.00
// 2 0a:e0:58:13:3e:20 yes 0.00
// 3 0e:e0:58:13:3e:20 yes 0.00
// 4 12:e0:58:13:3e:20 yes 0.00
// 5 1a:e0:58:13:3e:20 yes 0.00
// 5 1e:e0:58:13:3e:20 no 59.43
// 6 84:e0:58:13:3e:20 yes 0.00
// 6 86:e0:58:13:3e:20 no 8.47
// bcmsw Link encap:Ethernet HWaddr 00:0C:C3:60:FF:FE
// dsl0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
// eth0 Link encap:Ethernet HWaddr 06:E0:58:13:3E:20
// eth1 Link encap:Ethernet HWaddr 0A:E0:58:13:3E:20
// eth2 Link encap:Ethernet HWaddr 0E:E0:58:13:3E:20
// eth3 Link encap:Ethernet HWaddr 12:E0:58:13:3E:20
// eth4 Link encap:Ethernet HWaddr 00:0C:C3:60:FF:FE
// eth5 Link encap:Ethernet HWaddr 1A:E0:58:13:3E:20
// gre0 Link encap:UNSPEC HWaddr 00-00-00-00-34-37-7F-B1-00-00-00-00-00-00-00-00
// ifb0 Link encap:Ethernet HWaddr 6A:85:EF:CD:D4:35
// ifb1 Link encap:Ethernet HWaddr 2E:D9:82:C3:4F:8A
// ip6tnl0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
// lan1 Link encap:Ethernet HWaddr 06:E0:58:13:3E:20
// lan2 Link encap:Ethernet HWaddr F6:34:27:7C:2C:D7
// sit0 Link encap:IPv6-in-IPv4
// wl0 Link encap:Ethernet HWaddr 84:E0:58:13:3E:20
// wl0.1 Link encap:Ethernet HWaddr 72:E0:58:13:3E:21
// wl0.2 Link encap:Ethernet HWaddr 72:E0:58:13:3E:22
// wl0.3 Link encap:Ethernet HWaddr 72:E0:58:13:3E:23
&switch0 {
ports {
// port@3 {
// reg = <3>;
// label = "wan";
// phy-handle = <&phy4>;
// };
// switch0port4: port@4 {
// reg = <4>;
// label = "extsw";
// phy-mode = "rgmii";
// fixed-link {
// speed = <1000>;
// full-duplex;
// };
// };
};
};
&ehci {
status = "okay";
};
&ethernet {
status = "okay";
nvmem-cells = <&macaddr_cferom_lan_wan>;
nvmem-cell-names = "mac-address";
};
&ohci {
status = "okay";
};
&pci {
status = "okay";
};
&uart0 {
status = "okay";
};
&usbh {
status = "okay";
};