1 // SPDX-License-Identifier: GPL-2.0-or-later
3 #include <dt-bindings/leds/common.h>
5 #include "bcm63268.dtsi"
9 led-boot = &led_power_green;
10 led-failsafe = &led_power_red;
11 led-running = &led_power_green;
12 led-upgrade = &led_power_green;
16 compatible = "gpio-keys-polled";
17 poll-interval = <100>;
21 gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
22 linux,code = <KEY_WPS_BUTTON>;
23 debounce-interval = <60>;
28 gpios = <&gpio 35 GPIO_ACTIVE_LOW>;
29 linux,code = <KEY_RESTART>;
30 debounce-interval = <60>;
42 nvmem-cells = <&macaddr_cferom_6a0>;
43 nvmem-cell-names = "mac-address";
49 pinctrl-names = "default";
50 pinctrl-0 = <&pinctrl_leds>;
59 label = "green:mobile";
62 led_power_red: led@8 {
64 function = LED_FUNCTION_POWER;
65 color = <LED_COLOR_ID_RED>;
86 label = "red:internet";
91 label = "green:internet";
96 label = "green:phone";
99 led_power_green: led@17 {
101 function = LED_FUNCTION_POWER;
102 color = <LED_COLOR_ID_GREEN>;
107 label = "blue:mobile";
112 phy12: ethernet-phy@c {
113 compatible = "ethernet-phy-ieee802.3-c22";
120 compatible = "brcm,bcm53134";
126 #address-cells = <1>;
159 phy-mode = "rgmii-txid";
160 ethernet = <&switch0port4>;
175 compatible = "brcm,nandcs";
177 nand-ecc-step-size = <512>;
178 nand-ecc-strength = <4>;
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 {
208 reg = <0x0020000 0x00a0000>;
214 reg = <0x00c0000 0x0140000>;
220 reg = <0x0200000 0x0140000>;
226 reg = <0x6920000 0x0140000>;
231 reg = <0x6a60000 0x0140000>;
235 compatible = "sercomm,wfi";
237 reg = <0x0520000 0x6400000>;
242 reg = <0x6ba0000 0x0280000>;
248 reg = <0x6e20000 0x0280000>;
267 phy-handle = <&phy12>;
271 switch0port4: port@4 {
275 phy-mode = "rgmii-txid";
288 pins = "gpio0", "gpio1", "gpio8", "gpio9",
289 "gpio12", "gpio13", "gpio14", "gpio15",
290 "gpio16", "gpio17", "gpio23";