3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "buffalo,whr-g300n", "ralink,rt3052-soc";
8 model = "Buffalo WHR-G300N";
12 led-failsafe = &led_diag;
13 led-upgrade = &led_diag;
17 compatible = "cfi-flash";
18 reg = <0x1f000000 0x800000>;
23 compatible = "fixed-partitions";
35 reg = <0x30000 0x10000>;
39 factory: partition@40000 {
41 reg = <0x40000 0x10000>;
46 compatible = "denx,uimage";
48 reg = <0x50000 0x3a0000>;
53 reg = <0x3f0000 0x10000>;
60 compatible = "gpio-leds";
64 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
68 label = "green:router";
69 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
73 label = "amber:security";
74 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
79 compatible = "gpio-keys-polled";
84 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
85 linux,code = <KEY_RESTART>;
90 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
91 linux,code = <KEY_WPS_BUTTON>;
96 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
102 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
103 linux,code = <BTN_3>;
110 groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
116 nvmem-cells = <&macaddr_factory_4>;
117 nvmem-cell-names = "mac-address";
121 mediatek,portmap = <0x2f>;
125 ralink,mtd-eeprom = <&factory 0x0>;
129 compatible = "nvmem-cells";
130 #address-cells = <1>;
133 macaddr_factory_4: macaddr@4 {