3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "ubiquiti,edgerouterx", "mediatek,mt7621-soc";
10 bootargs = "console=ttyS0,57600";
14 compatible = "gpio-keys-polled";
19 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
20 linux,code = <KEY_RESTART>;
26 mtd-mac-address = <&factory 0x22>;
33 compatible = "fixed-partitions";
45 reg = <0x80000 0x60000>;
49 factory: partition@e0000 {
51 reg = <0xe0000 0x60000>;
56 reg = <0x140000 0x300000>;
61 reg = <0x440000 0x300000>;
66 reg = <0x740000 0xf7c0000>;
72 state_default: pinctrl0 {
74 ralink,group = "uart2", "uart3", "i2c", "pcie", "rgmii2", "jtag";
75 ralink,function = "gpio";
82 * This board has 2Mb spi flash soldered in and visible
83 * from manufacturer's firmware.
84 * But this SoC shares spi and nand pins,
85 * and current driver doesn't handle this sharing well
90 compatible = "jedec,spi-nor";
92 spi-max-frequency = <10000000>;
95 compatible = "fixed-partitions";
101 reg = <0x0 0x200000>;