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";
43 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_RESTART>;
67 compatible = "jedec,spi-nor";
69 spi-max-frequency = <10000000>;
79 reg = <0x30000 0x10000>;
83 factory: partition@40000 {
85 reg = <0x40000 0x10000>;
91 reg = <0x50000 0x760000>;
105 mtd-mac-address = <&factory 0x4>;
106 mediatek,portmap = "wllll";
110 ralink,mtd-eeprom = <&factory 0>;
114 state_default: pinctrl0 {
116 ralink,group = "i2c", "spi refclk", "wled";
117 ralink,function = "gpio";