1 // SPDX-License-Identifier: GPL-2.0-or-later
3 #include "mt7621_sercomm_s1500.dtsi"
6 compatible = "beeline,smartbox-pro", "mediatek,mt7621-soc";
7 model = "Beeline SmartBox PRO";
10 label-mac-device = &gmac0;
15 label = "ROUT<->REP Switch_bt";
16 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
17 linux,input-type = <EV_SW>;
18 linux,code = <KEY_RFKILL>;
19 debounce-interval = <60>;
24 compatible = "mtd-concat";
25 devices = <&ubiconcat0 &ubiconcat1 &ubiconcat2 &ubiconcat3 \
26 &ubiconcat4 &ubiconcat5 &ubiconcat6>;
29 compatible = "fixed-partitions";
35 reg = <0x0 0xd2e0000>;
43 color = <LED_COLOR_ID_BLUE>;
49 reg = <0x0 0xff80000>;
55 reg = <0x200000 0x1400000>;
57 compatible = "fixed-partitions";
61 ubiconcat5: partition@0 {
67 * Sercomm U-Boot saves the environment at 0x800000 from
68 * the start of the NAND, destroying the "sys_data"
69 * partition. To prevent this, we split "sys_data" into
70 * two parts with "u-boot-env" partition between them.
74 reg = <0x600000 0x20000>;
77 ubiconcat6: partition@620000 {
79 reg = <0x620000 0xde0000>;
83 ubiconcat0: partition@1f00000 {
85 reg = <0x1f00000 0x1e00000>;
90 reg = <0x3d00000 0x1e00000>;
94 ubiconcat1: partition@5b00000 {
96 reg = <0x5b00000 0x3200000>;
99 ubiconcat2: partition@8d00000 {
101 reg = <0x8d00000 0x3200000>;
104 ubiconcat3: partition@bf00000 {
106 reg = <0xbf00000 0x3c00000>;
109 ubiconcat4: partition@fb00000 {
111 reg = <0xfb00000 0x100000>;
115 * 4 MiB Reserved for the Bad Blocka
116 * 0x10000000-0xfc00000=0x400000
122 compatible = "mediatek,mt76";
123 reg = <0x0000 0 0 0 0>;
124 ieee80211-freq-limit = <2400000 2500000>;
126 nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_1000 0>;
127 nvmem-cell-names = "eeprom", "mac-address";