3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "ubiquiti,edgerouterx", "mediatek,mt7621-soc";
10 label-mac-device = ðernet;
14 bootargs = "console=ttyS0,57600";
18 compatible = "gpio-keys";
22 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
23 linux,code = <KEY_RESTART>;
29 mtd-mac-address = <&factory 0x22>;
36 compatible = "fixed-partitions";
48 reg = <0x80000 0x60000>;
52 factory: partition@e0000 {
54 reg = <0xe0000 0x60000>;
59 reg = <0x140000 0x300000>;
64 reg = <0x440000 0x300000>;
69 reg = <0x740000 0xf7c0000>;
76 ralink,group = "uart2", "uart3", "i2c", "pcie", "rgmii2", "jtag";
77 ralink,function = "gpio";
83 * This board has 2Mb spi flash soldered in and visible
84 * from manufacturer's firmware.
85 * But this SoC shares spi and nand pins,
86 * and current driver doesn't handle this sharing well
91 compatible = "jedec,spi-nor";
93 spi-max-frequency = <10000000>;
96 compatible = "fixed-partitions";
102 reg = <0x0 0x200000>;