1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "telco-electronics,x1", "mediatek,mt7621-soc";
10 model = "Telco Electronics X1";
13 led-boot = &system_led;
14 led-failsafe = &system_led;
15 led-running = &system_led;
16 led-upgrade = &system_led;
20 bootargs = "console=ttyS0,115200";
24 compatible = "gpio-keys";
28 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
29 linux,code = <KEY_RESTART>;
34 compatible = "gpio-leds";
37 label = "green:system";
38 gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
42 label = "red:modem-offline";
43 gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
47 label = "blue:modem-4g";
48 gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
52 label = "green:modem-3g";
53 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
57 label = "green:modem-rssi-lowest";
58 gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
62 label = "green:modem-rssi-low";
63 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
67 label = "green:modem-rssi-medium";
68 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
72 label = "green:modem-rssi-high";
73 gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
77 label = "green:modem-rssi-highest";
78 gpios = <&gpio 31 GPIO_ACTIVE_LOW>;
87 compatible = "jedec,spi-nor";
89 spi-max-frequency = <14000000>;
92 compatible = "fixed-partitions";
104 reg = <0x30000 0x10000>;
108 factory: partition@40000 {
110 reg = <0x40000 0x10000>;
114 compatible = "fixed-layout";
115 #address-cells = <1>;
118 eeprom_factory_0: eeprom@0 {
122 eeprom_factory_8000: eeprom@8000 {
123 reg = <0x8000 0x200>;
126 macaddr_factory_e006: macaddr@e006 {
127 compatible = "mac-base";
129 #nvmem-cell-cells = <1>;
134 firmware: partition@50000 {
135 compatible = "denx,uimage";
137 reg = <0x50000 0xfb0000>;
144 pinctrl-0 = <&mdio_pins>, <&rgmii1_pins>;
148 nvmem-cells = <&macaddr_factory_e006 0>;
149 nvmem-cell-names = "mac-address";
177 nvmem-cells = <&macaddr_factory_e006 1>;
178 nvmem-cell-names = "mac-address";
185 groups = "wdt", "rgmii2";
196 compatible = "pci14c3,7603";
197 reg = <0x0000 0 0 0 0>;
198 nvmem-cells = <&eeprom_factory_0>;
199 nvmem-cell-names = "eeprom";
200 ieee80211-freq-limit = <2400000 2500000>;
206 compatible = "pci14c3,7662";
207 reg = <0x0000 0 0 0 0>;
208 nvmem-cells = <&eeprom_factory_8000>;
209 nvmem-cell-names = "eeprom";
210 ieee80211-freq-limit = <5000000 6000000>;