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";
17 compatible = "gpio-leds";
20 label = "zbt-cpe102:green:4g-0";
21 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
25 label = "zbt-cpe102:green:4g-1";
26 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
30 label = "zbt-cpe102:green:4g-2";
31 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
36 compatible = "gpio-keys-polled";
41 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_RESTART>;
63 compatible = "jedec,spi-nor";
65 spi-max-frequency = <10000000>;
68 compatible = "fixed-partitions";
80 reg = <0x30000 0x10000>;
84 factory: partition@40000 {
86 reg = <0x40000 0x10000>;
92 reg = <0x50000 0x760000>;
107 mtd-mac-address = <&factory 0x4>;
108 mediatek,portmap = "wllll";
112 ralink,mtd-eeprom = <&factory 0>;
116 state_default: pinctrl0 {
118 ralink,group = "i2c", "spi refclk", "wled";
119 ralink,function = "gpio";