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>;
38 compatible = "fixed-partitions";
50 reg = <0x80000 0x60000>;
54 factory: partition@e0000 {
56 reg = <0xe0000 0x60000>;
61 reg = <0x140000 0x300000>;
66 reg = <0x440000 0x300000>;
71 reg = <0x740000 0xf7c0000>;
77 state_default: pinctrl0 {
79 ralink,group = "uart2", "uart3", "i2c", "pcie", "rgmii2", "jtag";
80 ralink,function = "gpio";
87 * This board has 2Mb spi flash soldered in and visible
88 * from manufacturer's firmware.
89 * But this SoC shares spi and nand pins,
90 * and current driver doesn't handle this sharing well
95 compatible = "jedec,spi-nor";
97 spi-max-frequency = <10000000>;
100 compatible = "fixed-partitions";
101 #address-cells = <1>;
106 reg = <0x0 0x200000>;