1 // SPDX-License-Identifier: GPL-2.0-or-later
3 #include <dt-bindings/leds/common.h>
5 #include "bcm63268.dtsi"
8 model = "Comtrend VG-8050";
9 compatible = "comtrend,vg-8050", "brcm,bcm63169", "brcm,bcm63268";
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 33 GPIO_ACTIVE_LOW>;
25 linux,code = <KEY_RESTART>;
26 debounce-interval = <60>;
31 gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
32 linux,code = <KEY_WPS_BUTTON>;
33 debounce-interval = <60>;
45 nvmem-cells = <&macaddr_cferom_6a0>;
46 nvmem-cell-names = "mac-address";
52 pinctrl-names = "default";
53 pinctrl-0 = <&pinctrl_hsspi_cs5>;
56 compatible = "brcm,bcm53125";
58 spi-max-frequency = <781000>;
96 ethernet = <&switch0port6>;
112 brcm,serial-shift-inv;
114 pinctrl-names = "default";
115 pinctrl-0 = <&pinctrl_serial_led>;
120 label = "red:internet";
123 led_power_red: led@3 {
126 function = LED_FUNCTION_POWER;
127 color = <LED_COLOR_ID_RED>;
131 led_power_green: led@6 {
134 function = LED_FUNCTION_POWER;
135 color = <LED_COLOR_ID_GREEN>;
141 function = LED_FUNCTION_WPS;
142 color = <LED_COLOR_ID_GREEN>;
148 label = "green:internet";
154 label = "green:voip";
166 function = LED_FUNCTION_WPS;
167 color = <LED_COLOR_ID_RED>;
175 compatible = "brcm,nandcs";
177 nand-ecc-step-size = <512>;
178 nand-ecc-strength = <15>;
180 brcm,nand-oob-sector-size = <64>;
182 #address-cells = <1>;
186 compatible = "fixed-partitions";
187 #address-cells = <1>;
192 reg = <0x0000000 0x0020000>;
196 compatible = "fixed-layout";
197 #address-cells = <1>;
200 macaddr_cferom_6a0: macaddr@6a0 {
207 compatible = "brcm,wfi-split";
209 reg = <0x0020000 0x7ac0000>;
223 switch0port6: port@6 {