3 /include/ "mt7620a.dtsi"
6 compatible = "zbtlink,zbt-we826", "ralink,mt7620a-soc";
10 bootargs = "console=ttyS0,115200";
32 compatible = "w25q128";
34 linux,modalias = "m25p80";
35 spi-max-frequency = <10000000>;
45 reg = <0x30000 0x10000>;
49 factory: partition@40000 {
51 reg = <0x40000 0x10000>;
57 reg = <0x50000 0xfb0000>;
76 mtd-mac-address = <&factory 0x4>;
77 ralink,port-map = "wllll";
81 ralink,mtd-eeprom = <&factory 0>;
85 state_default: pinctrl0 {
87 ralink,group = "i2c", "uartf", "wled", "spi refclk", "pa";
88 ralink,function = "gpio";
94 compatible = "gpio-leds";
96 label = "zbt-we826:green:power";
97 gpios = <&gpio1 14 0>;
100 label = "zbt-we826:green:usb";
101 gpios = <&gpio1 15 0>;
104 label = "zbt-we826:green:wifi";
105 gpios = <&gpio3 0 1>;
110 compatible = "gpio-keys-polled";
111 #address-cells = <1>;
113 poll-interval = <20>;
116 gpios = <&gpio0 1 1>;
117 linux,code = <0x198>;