1 // SPDX-License-Identifier: GPL-2.0-or-later
3 #include "bcm6328.dtsi"
6 model = "NuCom R5010UNv2";
7 compatible = "nucom,r5010unv2", "brcm,bcm6328";
10 led-boot = &led_power_green;
11 led-failsafe = &led_power_red;
12 led-running = &led_power_green;
13 led-upgrade = &led_power_green;
17 compatible = "gpio-keys-polled";
18 poll-interval = <100>;
22 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
23 linux,code = <KEY_RESTART>;
24 debounce-interval = <60>;
29 gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
30 linux,code = <KEY_WPS_BUTTON>;
31 debounce-interval = <60>;
36 compatible = "brcm,bcma-sprom";
41 nvmem-cells = <&macaddr_cfe_6a0 1>;
42 nvmem-cell-names = "mac-address";
44 brcm,sprom = "brcm/bcm43217-sprom.bin";
55 nvmem-cells = <&macaddr_cfe_6a0 0>;
56 nvmem-cell-names = "mac-address";
63 compatible = "jedec,spi-nor";
64 spi-max-frequency = <16666667>;
65 spi-tx-bus-width = <2>;
66 spi-rx-bus-width = <2>;
70 compatible = "fixed-partitions";
76 reg = <0x000000 0x010000>;
80 compatible = "fixed-layout";
84 macaddr_cfe_6a0: macaddr@6a0 {
85 compatible = "mac-base";
87 #nvmem-cell-cells = <1>;
93 compatible = "brcm,bcm963xx-imagetag";
95 reg = <0x010000 0xfe0000>;
100 reg = <0xff0000 0x010000>;
109 pinctrl-names = "default";
110 pinctrl-0 = <&pinctrl_ephy0_act_led &pinctrl_ephy1_act_led
111 &pinctrl_ephy2_act_led &pinctrl_ephy3_act_led
117 label = "green:internet";
123 label = "red:internet";
132 led_power_green: led@4 {
135 function = LED_FUNCTION_POWER;
136 color = <LED_COLOR_ID_GREEN>;
139 led_power_red: led@5 {
142 function = LED_FUNCTION_POWER;
143 color = <LED_COLOR_ID_RED>;
150 function = LED_FUNCTION_WPS;
151 color = <LED_COLOR_ID_GREEN>;
157 function = LED_FUNCTION_USB;
158 color = <LED_COLOR_ID_GREEN>;
173 pins = "gpio1", "gpio2", "gpio3",
174 "gpio4", "gpio5", "gpio10",
185 phy-handle = <&phy1>;
193 phy-handle = <&phy2>;
201 phy-handle = <&phy3>;
209 phy-handle = <&phy4>;