1 // SPDX-License-Identifier: GPL-2.0-or-later
3 #include <dt-bindings/leds/common.h>
5 #include "bcm63268.dtsi"
8 model = "Sercomm SHG2500";
9 compatible = "sercomm,shg2500", "brcm,bcm63168", "brcm,bcm63268";
12 led-boot = &led_power_red;
13 led-failsafe = &led_power_red;
14 led-running = &led_power_red;
15 led-upgrade = &led_power_red;
19 compatible = "i2c-gpio";
20 sda-gpios = <&gpio 14 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
21 scl-gpios = <&gpio 9 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
27 compatible = "gpio-keys-polled";
28 poll-interval = <100>;
32 gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
33 linux,code = <KEY_WPS_BUTTON>;
34 debounce-interval = <60>;
39 gpios = <&gpio 35 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_RESTART>;
41 debounce-interval = <60>;
46 compatible = "brcm,bcma-sprom";
51 nvmem-cells = <&macaddr_cferom_6a0 1>;
52 nvmem-cell-names = "mac-address";
54 brcm,sprom = "brcm/bcm4360-sprom.bin";
65 nvmem-cells = <&macaddr_cferom_6a0 0>;
66 nvmem-cell-names = "mac-address";
73 compatible = "sercomm,msp430-leds";
75 spi-max-frequency = <500000>;
84 label = "green:modem";
94 label = "red:internet";
104 label = "green:phone";
109 label = "green:wifi";
112 led_power_red: led@8 {
114 function = LED_FUNCTION_POWER;
115 color = <LED_COLOR_ID_RED>;
120 label = "green:internet";
126 phy12: ethernet-phy@c {
127 compatible = "ethernet-phy-ieee802.3-c22";
134 compatible = "brcm,bcm53125";
140 #address-cells = <1>;
167 ethernet = <&switch0port4>;
182 compatible = "brcm,nandcs";
184 nand-ecc-step-size = <512>;
185 nand-ecc-strength = <15>;
187 brcm,nand-oob-sector-size = <64>;
189 #address-cells = <1>;
193 compatible = "fixed-partitions";
194 #address-cells = <1>;
199 reg = <0x0000000 0x0020000>;
203 compatible = "fixed-layout";
204 #address-cells = <1>;
207 macaddr_cferom_6a0: macaddr@6a0 {
208 compatible = "mac-base";
210 #nvmem-cell-cells = <1>;
217 reg = <0x0020000 0x00a0000>;
223 reg = <0x00c0000 0x0140000>;
229 reg = <0x0200000 0x0140000>;
235 reg = <0x6920000 0x0140000>;
240 reg = <0x6a60000 0x0140000>;
244 compatible = "sercomm,wfi";
246 reg = <0x0520000 0x6400000>;
251 reg = <0x6ba0000 0x0280000>;
257 reg = <0x6e20000 0x0280000>;
273 pinctrl_uart1: uart1-pins {
274 pinctrl_uart1_sdin: uart1_sdin {
275 function = "uart1_sdin";
279 pinctrl_uart1_sdout: uart1_sdout {
280 function = "uart1_sdout";
294 phy-handle = <&phy12>;
298 switch0port4: port@4 {
319 pinctrl-names = "default";
320 pinctrl-0 = <&pinctrl_uart1>;