1 // SPDX-License-Identifier: GPL-2.0-or-later
3 #include <dt-bindings/leds/common.h>
5 #include "bcm6368.dtsi"
8 model = "Comtrend VR-3025u";
9 compatible = "comtrend,vr-3025u", "brcm,bcm6368";
12 led-boot = &led_power_green;
13 led-failsafe = &led_power_red;
14 led-running = &led_power_green;
15 led-upgrade = &led_power_green;
19 compatible = "gpio-keys-polled";
20 poll-interval = <100>;
24 gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
25 linux,code = <KEY_RESTART>;
26 debounce-interval = <60>;
31 compatible = "gpio-leds";
35 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
39 label = "green:internet";
40 gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
43 led_power_green: led@22 {
44 function = LED_FUNCTION_POWER;
45 color = <LED_COLOR_ID_GREEN>;
46 gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
49 led_power_red: led@24 {
50 function = LED_FUNCTION_POWER;
51 color = <LED_COLOR_ID_RED>;
52 gpios = <&gpio 24 GPIO_ACTIVE_HIGH>;
57 label = "red:internet";
58 gpios = <&gpio 31 GPIO_ACTIVE_HIGH>;
63 compatible = "brcm,ssb-sprom";
68 nvmem-cells = <&macaddr_cfe_6a0 1>;
69 nvmem-cell-names = "mac-address";
71 brcm,sprom = "brcm/bcm43222-sprom.bin";
72 brcm,sprom-fixups = <97 0xfeb3>,
88 nvmem-cells = <&macaddr_cfe_6a0 0>;
89 nvmem-cell-names = "mac-address";
104 compatible = "fixed-partitions";
105 #address-cells = <1>;
110 reg = <0x0000000 0x0020000>;
114 compatible = "fixed-layout";
115 #address-cells = <1>;
118 macaddr_cfe_6a0: macaddr@6a0 {
119 compatible = "mac-base";
121 #nvmem-cell-cells = <1>;
127 compatible = "brcm,bcm963xx-imagetag";
129 reg = <0x0020000 0x1fc0000>;
134 reg = <0x1fe0000 0x020000>;
140 pinctrl-names = "default";
141 pinctrl-0 = <&pinctrl_ephy0_led &pinctrl_ephy1_led
142 &pinctrl_ephy2_led &pinctrl_ephy3_led>;
151 phy-handle = <&phy1>;
159 phy-handle = <&phy2>;
167 phy-handle = <&phy3>;
175 phy-handle = <&phy4>;