3 #include "mt7620n.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "zbtlink,zbt-cpe102", "ralink,mt7620n-soc";
10 model = "Zbtlink ZBT-CPE102";
13 bootargs = "console=ttyS0,115200";
19 led-failsafe = &led_4g_0;
23 compatible = "gpio-leds";
26 label = "zbt-cpe102:green:4g-0";
27 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
31 label = "zbt-cpe102:green:4g-1";
32 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
36 label = "zbt-cpe102:green:4g-2";
37 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
42 compatible = "gpio-keys-polled";
47 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_RESTART>;
69 compatible = "jedec,spi-nor";
71 spi-max-frequency = <10000000>;
74 compatible = "fixed-partitions";
86 reg = <0x30000 0x10000>;
90 factory: partition@40000 {
92 reg = <0x40000 0x10000>;
97 compatible = "denx,uimage";
99 reg = <0x50000 0x760000>;
114 mtd-mac-address = <&factory 0x4>;
115 mediatek,portmap = "wllll";
119 ralink,mtd-eeprom = <&factory 0>;
123 state_default: pinctrl0 {
125 ralink,group = "i2c", "spi refclk", "wled";
126 ralink,function = "gpio";