5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "netgear,r6350", "mediatek,mt7621-soc";
10 model = "Netgear R6350";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 device_type = "memory";
21 reg = <0x0 0x8000000>;
25 bootargs = "console=ttyS0,57600";
29 compatible = "gpio-leds";
32 label = "r6350:green:power";
33 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
37 label = "r6350:green:usb";
38 gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
39 trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
40 linux,default-trigger = "usbport";
44 label = "r6350:green:wan";
45 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
49 label = "r6350:green:wifi";
50 gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
55 compatible = "gpio-keys-polled";
60 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
61 linux,code = <KEY_WPS_BUTTON>;
66 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
67 linux,code = <KEY_RESTART>;
72 compatible = "gpio-export";
76 gpio-export,name = "usbpower";
77 gpio-export,output = <1>;
78 gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>;
87 compatible = "fixed-partitions";
98 label = "SC PART_MAP";
99 reg = <0x100000 0x100000>;
105 reg = <0x200000 0x400000>;
110 reg = <0x600000 0x2800000>;
115 reg = <0x2e00000 0x1800000>;
119 factory: partition@4600000 {
121 reg = <0x4600000 0x200000>;
127 reg = <0x4800000 0x3800000>;
140 mediatek,mtd-eeprom = <&factory 0x0>;
141 ieee80211-freq-limit = <2400000 2500000>;
146 mtd-mac-address = <&factory 0x4>;
150 state_default: pinctrl0 {
152 ralink,group = "uart3", "uart2", "jtag", "wdt";
153 ralink,function = "gpio";