123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243 |
- // SPDX-License-Identifier: GPL-2.0-or-later
- #include "bcm6368.dtsi"
- / {
- model = "Netgear EVG2000";
- compatible = "netgear,evg2000", "brcm,bcm6369", "brcm,bcm6368";
- aliases {
- led-boot = &led_power_green;
- led-failsafe = &led_power_red;
- led-running = &led_power_green;
- led-upgrade = &led_power_green;
- };
- keys {
- compatible = "gpio-keys-polled";
- poll-interval = <100>;
- reset {
- label = "reset";
- gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
- linux,code = <KEY_RESTART>;
- debounce-interval = <60>;
- };
- wps {
- label = "wps";
- gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
- linux,code = <KEY_WPS_BUTTON>;
- debounce-interval = <60>;
- };
- };
- leds {
- compatible = "gpio-leds";
- led@2 {
- label = "green:voip2";
- gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
- };
- led@4 {
- label = "red:internet";
- gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
- };
- led@5 {
- label = "green:internet";
- gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
- };
- led@14 {
- label = "green:voip1";
- gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
- };
- led@15 {
- function = LED_FUNCTION_USB;
- color = <LED_COLOR_ID_GREEN>;
- gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
- };
- led_power_green: led@22 {
- function = LED_FUNCTION_POWER;
- color = <LED_COLOR_ID_GREEN>;
- gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
- };
- led_power_red: led@23 {
- function = LED_FUNCTION_POWER;
- color = <LED_COLOR_ID_RED>;
- gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
- panic-indicator;
- };
- led@24 {
- function = LED_FUNCTION_LAN;
- color = <LED_COLOR_ID_GREEN>;
- gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
- };
- led@27 {
- function = LED_FUNCTION_WAN;
- color = <LED_COLOR_ID_GREEN>;
- gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
- };
- };
- bcm4322-sprom {
- compatible = "brcm,ssb-sprom";
- pci-bus = <0>;
- pci-dev = <1>;
- nvmem-cells = <&macaddr_cfe_6a0 1>;
- nvmem-cell-names = "mac-address";
- brcm,sprom = "brcm/bcm4322-sprom.bin";
- brcm,sprom-fixups = <219 0xec08>;
- };
- };
- &ehci {
- status = "okay";
- };
- ðernet {
- status = "okay";
- nvmem-cells = <&macaddr_cfe_6a0 0>;
- nvmem-cell-names = "mac-address";
- };
- &mdio_ext {
- switch@1e {
- compatible = "brcm,bcm53115";
- reg = <30>;
- dsa,member = <1 0>;
- ports {
- #address-cells = <1>;
- #size-cells = <0>;
- port@0 {
- reg = <0>;
- label = "wan";
- };
- port@1 {
- reg = <1>;
- label = "lan1";
- };
- port@2 {
- reg = <2>;
- label = "lan2";
- };
- port@3 {
- reg = <3>;
- label = "lan3";
- };
- port@4 {
- reg = <4>;
- label = "lan4";
- };
- port@8 {
- reg = <8>;
- phy-mode = "rgmii";
- ethernet = <&switch0port5>;
- fixed-link {
- speed = <1000>;
- full-duplex;
- };
- };
- };
- };
- };
- &switch0 {
- dsa,member = <0 0>;
- ports {
- switch0port5: port@5 {
- reg = <5>;
- label = "extsw";
- phy-mode = "rgmii";
- fixed-link {
- speed = <1000>;
- full-duplex;
- };
- };
- };
- };
- &pflash {
- status = "okay";
- partitions {
- compatible = "fixed-partitions";
- #address-cells = <1>;
- #size-cells = <1>;
- partition@0 {
- label = "CFE";
- reg = <0x000000 0x020000>;
- read-only;
- nvmem-layout {
- compatible = "fixed-layout";
- #address-cells = <1>;
- #size-cells = <1>;
- macaddr_cfe_6a0: macaddr@6a0 {
- compatible = "mac-base";
- reg = <0x6a0 0x6>;
- #nvmem-cell-cells = <1>;
- };
- };
- };
- partition@20000 {
- label = "firmware";
- reg = <0x020000 0xf40000>;
- compatible = "brcm,bcm963xx-imagetag";
- };
- partition@f60000 {
- label = "board_data";
- reg = <0xf60000 0x080000>;
- read-only;
- };
- partition@fe0000 {
- label = "nvram";
- reg = <0xfe0000 0x020000>;
- };
- };
- };
- &ohci {
- status = "okay";
- };
- &pci {
- status = "okay";
- };
- &uart0 {
- status = "okay";
- };
- &usbh {
- status = "okay";
- };
|