5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "jcg,jhr-n825r", "ralink,rt3052-soc";
10 model = "JCG JHR-N825R";
13 compatible = "cfi-flash";
14 reg = <0x1f000000 0x800000>;
28 reg = <0x30000 0x10000>;
32 factory: partition@40000 {
34 reg = <0x40000 0x10000>;
40 reg = <0x50000 0x3b0000>;
45 compatible = "gpio-leds";
47 label = "jhr-n825r:red:power";
48 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
53 compatible = "gpio-keys-polled";
59 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
60 linux,code = <KEY_RESTART>;
66 state_default: pinctrl0 {
68 ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
69 ralink,function = "gpio";
75 mtd-mac-address = <&factory 0x2e>;
79 mediatek,portmap = <0x3e>;
83 ralink,mtd-eeprom = <&factory 0>;