5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "jcg,jhr-n805r", "ralink,rt3050-soc";
10 model = "JCG JHR-N805R";
13 led-status = &led_system;
17 compatible = "gpio-leds";
20 label = "jhr-n805r:blue:system";
21 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
26 compatible = "gpio-keys-polled";
31 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
32 linux,code = <KEY_RESTART>;
38 state_default: pinctrl0 {
40 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
41 ralink,function = "gpio";
50 compatible = "jedec,spi-nor";
52 spi-max-frequency = <10000000>;
55 compatible = "fixed-partitions";
67 reg = <0x30000 0x10000>;
71 factory: partition@40000 {
73 reg = <0x40000 0x10000>;
79 reg = <0x50000 0x3b0000>;
86 mtd-mac-address = <&factory 0x2e>;
90 mediatek,portmap = <0x3e>;
94 ralink,mtd-eeprom = <&factory 0>;