3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "ubiquiti,edgerouterx", "mediatek,mt7621-soc";
10 device_type = "memory";
11 reg = <0x0 0x10000000>;
15 bootargs = "console=ttyS0,57600";
19 compatible = "gpio-keys-polled";
24 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
25 linux,code = <KEY_RESTART>;
31 mtd-mac-address = <&factory 0x22>;
45 reg = <0x80000 0x60000>;
49 factory: partition@e0000 {
51 reg = <0xe0000 0x60000>;
56 reg = <0x140000 0x300000>;
61 reg = <0x440000 0x300000>;
66 reg = <0x740000 0xf7c0000>;
71 state_default: pinctrl0 {
73 ralink,group = "uart2", "uart3", "i2c", "pcie", "rgmii2", "jtag";
74 ralink,function = "gpio";
81 * This board has 2Mb spi flash soldered in and visible
82 * from manufacturer's firmware.
83 * But this SoC shares spi and nand pins,
84 * and current driver doesn't handle this sharing well
91 compatible = "jedec,spi-nor";
93 spi-max-frequency = <10000000>;
94 m25p,chunked-io = <32>;