1 #include "mt7620n.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "zbtlink,zbt-cpe102", "ralink,mt7620n-soc";
8 model = "Zbtlink ZBT-CPE102";
11 bootargs = "console=ttyS0,115200";
16 led-failsafe = &led_4g_0;
20 compatible = "gpio-leds";
24 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
29 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
34 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
39 compatible = "gpio-keys";
43 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_RESTART>;
57 compatible = "jedec,spi-nor";
59 spi-max-frequency = <10000000>;
62 compatible = "fixed-partitions";
74 reg = <0x30000 0x10000>;
78 factory: partition@40000 {
79 compatible = "nvmem-cells";
81 reg = <0x40000 0x10000>;
86 eeprom_factory_0: eeprom@0 {
90 macaddr_factory_4: macaddr@4 {
96 compatible = "denx,uimage";
98 reg = <0x50000 0x760000>;
113 nvmem-cells = <&macaddr_factory_4>;
114 nvmem-cell-names = "mac-address";
116 mediatek,portmap = "wllll";
120 nvmem-cells = <&eeprom_factory_0>;
121 nvmem-cell-names = "eeprom";
126 groups = "i2c", "spi refclk", "wled";