3 #include "mt7628an.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "widora,neo", "mediatek,mt7628an-soc";
13 bootargs = "console=ttyS0,115200";
17 device_type = "memory";
18 reg = <0x0 0x8000000>;
22 compatible = "gpio-leds";
25 label = "widora:orange:wifi";
26 gpios = <&wgpio 0 GPIO_ACTIVE_HIGH>;
32 compatible = "gpio-keys-polled";
39 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_WPS_BUTTON>;
45 compatible = "mediatek,gpio-wifi";
54 state_default: pinctrl0 {
56 ralink,group = "gpio";
57 ralink,function = "gpio";
61 ralink,group = "perst";
62 ralink,function = "gpio";
66 ralink,group = "refclk";
67 ralink,function = "gpio";
72 ralink,function = "gpio";
76 ralink,group = "spis";
77 ralink,function = "gpio";
81 ralink,group = "wled_kn";
82 ralink,function = "gpio";
86 ralink,group = "wled_an";
87 ralink,function = "wled_an";
92 ralink,function = "gpio";
101 pinctrl-names = "default";
102 pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
105 #address-cells = <1>;
107 compatible = "jedec,spi-nor";
109 spi-max-frequency = <40000000>;
110 m25p,chunked-io = <31>;
119 label = "u-boot-env";
120 reg = <0x30000 0x10000>;
123 factory: partition@40000 {
125 reg = <0x40000 0x10000>;
131 reg = <0x50000 0x0fb0000>;
136 #address-cells = <1>;
138 compatible = "linux,spidev";
140 spi-max-frequency = <40000000>;
161 mtd-mac-address = <&factory 0x28>;