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 led-boot = &led_system;
14 led-failsafe = &led_system;
15 led-running = &led_system;
16 led-upgrade = &led_system;
20 compatible = "cfi-flash";
21 reg = <0x1f000000 0x800000>;
26 compatible = "fixed-partitions";
38 reg = <0x30000 0x10000>;
42 factory: partition@40000 {
44 reg = <0x40000 0x10000>;
50 reg = <0x50000 0x3b0000>;
56 compatible = "gpio-leds";
58 label = "jhr-n825r:red:power";
59 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
64 compatible = "gpio-keys-polled";
68 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
69 linux,code = <KEY_RESTART>;
75 state_default: pinctrl0 {
77 ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
78 ralink,function = "gpio";
84 mtd-mac-address = <&factory 0x2e>;
88 mediatek,portmap = <0x3e>;
92 ralink,mtd-eeprom = <&factory 0>;