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";
18 led-failsafe = &led_4g_0;
22 compatible = "gpio-leds";
25 label = "zbt-cpe102:green:4g-0";
26 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
30 label = "zbt-cpe102:green:4g-1";
31 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
35 label = "zbt-cpe102:green:4g-2";
36 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
41 compatible = "gpio-keys";
45 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_RESTART>;
67 compatible = "jedec,spi-nor";
69 spi-max-frequency = <10000000>;
72 compatible = "fixed-partitions";
84 reg = <0x30000 0x10000>;
88 factory: partition@40000 {
90 reg = <0x40000 0x10000>;
95 compatible = "denx,uimage";
97 reg = <0x50000 0x760000>;
112 mtd-mac-address = <&factory 0x4>;
113 mediatek,portmap = "wllll";
117 ralink,mtd-eeprom = <&factory 0>;
121 state_default: pinctrl0 {
123 ralink,group = "i2c", "spi refclk", "wled";
124 ralink,function = "gpio";