1 // SPDX-License-Identifier: GPL-2.0-or-later
3 #include <dt-bindings/leds/common.h>
5 #include "bcm6328.dtsi"
8 model = "NuCom R5010UNv2";
9 compatible = "nucom,r5010unv2", "brcm,bcm6328";
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 23 GPIO_ACTIVE_LOW>;
25 linux,code = <KEY_RESTART>;
26 debounce-interval = <60>;
31 gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
32 linux,code = <KEY_WPS_BUTTON>;
33 debounce-interval = <60>;
38 compatible = "brcm,bcma-sprom";
43 nvmem-cells = <&macaddr_cfe_6a0 1>;
44 nvmem-cell-names = "mac-address";
46 brcm,sprom = "brcm/bcm43217-sprom.bin";
57 nvmem-cells = <&macaddr_cfe_6a0 0>;
58 nvmem-cell-names = "mac-address";
65 compatible = "jedec,spi-nor";
66 spi-max-frequency = <16666667>;
67 spi-tx-bus-width = <2>;
68 spi-rx-bus-width = <2>;
72 compatible = "fixed-partitions";
78 reg = <0x000000 0x010000>;
82 compatible = "fixed-layout";
86 macaddr_cfe_6a0: macaddr@6a0 {
87 compatible = "mac-base";
89 #nvmem-cell-cells = <1>;
95 compatible = "brcm,bcm963xx-imagetag";
97 reg = <0x010000 0xfe0000>;
102 reg = <0xff0000 0x010000>;
111 pinctrl-names = "default";
112 pinctrl-0 = <&pinctrl_ephy0_act_led &pinctrl_ephy1_act_led
113 &pinctrl_ephy2_act_led &pinctrl_ephy3_act_led
119 label = "green:internet";
125 label = "red:internet";
134 led_power_green: led@4 {
137 function = LED_FUNCTION_POWER;
138 color = <LED_COLOR_ID_GREEN>;
141 led_power_red: led@5 {
144 function = LED_FUNCTION_POWER;
145 color = <LED_COLOR_ID_RED>;
152 function = LED_FUNCTION_WPS;
153 color = <LED_COLOR_ID_GREEN>;
159 function = LED_FUNCTION_USB;
160 color = <LED_COLOR_ID_GREEN>;
175 pins = "gpio1", "gpio2", "gpio3",
176 "gpio4", "gpio5", "gpio10",
187 phy-handle = <&phy1>;
195 phy-handle = <&phy2>;
203 phy-handle = <&phy3>;
211 phy-handle = <&phy4>;