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>;
42 color = <LED_COLOR_ID_BLUE>;
48 reg = <0x0 0xff80000>;
54 reg = <0x200000 0x1400000>;
56 compatible = "fixed-partitions";
60 ubiconcat5: partition@0 {
66 * Sercomm U-Boot saves the environment at 0x800000 from
67 * the start of the NAND, destroying the "sys_data"
68 * partition. To prevent this, we split "sys_data" into
69 * two parts with "u-boot-env" partition between them.
73 reg = <0x600000 0x20000>;
76 ubiconcat6: partition@620000 {
78 reg = <0x620000 0xde0000>;
82 ubiconcat0: partition@1f00000 {
84 reg = <0x1f00000 0x1e00000>;
89 reg = <0x3d00000 0x1e00000>;
93 ubiconcat1: partition@5b00000 {
95 reg = <0x5b00000 0x3200000>;
98 ubiconcat2: partition@8d00000 {
100 reg = <0x8d00000 0x3200000>;
103 ubiconcat3: partition@bf00000 {
105 reg = <0xbf00000 0x3c00000>;
108 ubiconcat4: partition@fb00000 {
110 reg = <0xfb00000 0x100000>;
114 * 4 MiB Reserved for the Bad Blocka
115 * 0x10000000-0xfc00000=0x400000
121 compatible = "mediatek,mt76";
122 reg = <0x0000 0 0 0 0>;
123 ieee80211-freq-limit = <2400000 2500000>;
125 nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_1000 0>;
126 nvmem-cell-names = "eeprom", "mac-address";