3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "jcg,jhr-n926r", "ralink,rt3052-soc";
9 model = "JCG JHR-N926R";
12 led-boot = &led_system;
13 led-failsafe = &led_system;
14 led-running = &led_system;
15 led-upgrade = &led_system;
19 compatible = "cfi-flash";
20 reg = <0x1f000000 0x800000>;
25 compatible = "fixed-partitions";
37 reg = <0x30000 0x10000>;
43 reg = <0x40000 0x10000>;
47 compatible = "fixed-layout";
51 eeprom_factory_0: eeprom@0 {
55 macaddr_factory_2e: macaddr@2e {
62 compatible = "denx,uimage";
64 reg = <0x50000 0x3b0000>;
70 compatible = "gpio-leds";
73 function = LED_FUNCTION_WLAN;
74 color = <LED_COLOR_ID_RED>;
75 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
79 function = LED_FUNCTION_WLAN;
80 color = <LED_COLOR_ID_YELLOW>;
81 gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
85 function = LED_FUNCTION_WLAN;
86 color = <LED_COLOR_ID_GREEN>;
87 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
91 label = "blue:system";
92 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
97 compatible = "gpio-export";
101 gpio-export,name = "display_data";
102 gpio-export,output = <1>;
103 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
107 gpio-export,name = "display_clock";
108 gpio-export,output = <1>;
109 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
113 gpio-export,name = "display_blank";
114 gpio-export,output = <1>;
115 gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
120 compatible = "gpio-keys-polled";
121 poll-interval = <20>;
125 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
126 linux,code = <KEY_RESTART>;
131 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
132 linux,code = <BTN_0>;
139 groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
145 nvmem-cells = <&macaddr_factory_2e>;
146 nvmem-cell-names = "mac-address";
150 mediatek,portmap = <0x3e>;
154 nvmem-cells = <&eeprom_factory_0>;
155 nvmem-cell-names = "eeprom";