5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "jcg,jhr-n926r", "ralink,rt3052-soc";
10 model = "JCG JHR-N926R";
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";
48 label = "jhr-n926r:red:wlan";
49 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
53 label = "jhr-n926r:yellow:wlan";
54 gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
58 label = "jhr-n926r:green:wlan";
59 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
63 label = "jhr-n926r:blue:system";
64 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
69 compatible = "gpio-export";
73 gpio-export,name = "display_data";
74 gpio-export,output = <1>;
75 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
79 gpio-export,name = "display_clock";
80 gpio-export,output = <1>;
81 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
85 gpio-export,name = "display_blank";
86 gpio-export,output = <1>;
87 gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
92 compatible = "gpio-keys-polled";
99 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
100 linux,code = <KEY_RESTART>;
105 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
106 linux,code = <BTN_0>;
112 state_default: pinctrl0 {
114 ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
115 ralink,function = "gpio";
121 mtd-mac-address = <&factory 0x2e>;
125 mediatek,portmap = <0x3e>;
129 ralink,mtd-eeprom = <&factory 0>;