1 #include <dt-bindings/input/input.h>
8 compatible = "mediatek,mt7621-eval-board", "mediatek,mt7621-soc";
12 device_type = "memory";
13 reg = <0x0 0x10000000>;
17 bootargs = "console=ttyS0,57600";
22 /* This board has 2Mb spi flash soldered in and visible
23 from manufacturer's firmware.
24 But this SoC shares spi and nand pins,
25 and current driver does't handle this sharing well */
30 compatible = "jedec,spi-nor";
32 linux,modalias = "m25p80";
33 spi-max-frequency = <10000000>;
45 compatible = "mtk,mt7621-nand";
47 reg = <0x1e003000 0x800
60 reg = <0x80000 0x60000>;
64 factory: partition@e0000 {
66 reg = <0xe0000 0x60000>;
71 reg = <0x140000 0x300000>;
76 reg = <0x440000 0x300000>;
81 reg = <0x740000 0xf7c0000>;
87 mtd-mac-address = <&factory 0x22>;
91 state_default: pinctrl0 {
93 ralink,group = "uart2", "uart3", "i2c", "pcie", "rgmii2", "jtag";
94 ralink,function = "gpio";
108 compatible = "gpio-keys-polled";
109 #address-cells = <1>;
111 poll-interval = <20>;
115 gpios = <&gpio0 12 1>;
116 linux,code = <KEY_RESTART>;