3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "edimax,br-6475nd", "ralink,rt3662-soc", "ralink,rt3883-soc";
8 model = "Edimax BR-6475nD";
11 led-boot = &led_power;
12 led-failsafe = &led_power;
13 led-running = &led_power;
14 led-upgrade = &led_power;
18 compatible = "gpio-keys-polled";
19 poll-interval = <100>;
23 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
24 linux,code = <KEY_RESTART>;
29 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
30 linux,input-type = <EV_SW>;
31 linux,code = <KEY_RFKILL>;
36 compatible = "gpio-leds";
39 label = "green:power";
40 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
45 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
49 label = "amber:wlan_5ghz";
50 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
55 compatible = "cfi-flash";
56 reg = <0x1c000000 0x800000>;
60 compatible = "fixed-partitions";
65 reg = <0x00000000 0x00030000>;
71 reg = <0x00030000 0x00010000>;
76 factory: partition@40000 {
77 reg = <0x00040000 0x00010000>;
82 devdata: partition@50000 {
83 reg = <0x00050000 0x00020000>;
89 compatible = "edimax,uimage";
90 reg = <0x00070000 0x00790000>;
97 compatible = "realtek,rtl8367";
98 gpio-sda = <&gpio0 5 GPIO_ACTIVE_HIGH>;
99 gpio-sck = <&gpio0 4 GPIO_ACTIVE_HIGH>;
100 realtek,extif0 = <1 0 1 1 1 1 1 1 2>;
104 * Unclear if this is the correct gpio setup; the USB ports are
105 * unpopulated on a stock BR-6475nD, even though the hardware exists
106 * and the headers are there.
110 compatible = "gpio-export";
114 gpio-export,name="usb";
115 gpio-export,output=<0>;
116 gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
124 groups = "spi", "jtag", "uartf";
143 mtd-mac-address = <&devdata 0xd>;
146 mediatek,fixed-link = <1000 1 1 1>;
152 ralink,mtd-eeprom = <&factory 0x0>;
163 compatible = "pci0,0";
164 reg = <0x10000 0 0 0 0>;
166 ralink,mtd-eeprom = <&factory 0x8000>;