5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "edimax,br-6475nd", "ralink,rt3662-soc", "ralink,rt3883-soc";
10 model = "Edimax BR-6475nD";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 compatible = "gpio-keys-polled";
21 poll-interval = <100>;
25 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
26 linux,code = <KEY_RESTART>;
31 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
32 linux,input-type = <EV_SW>;
33 linux,code = <KEY_RFKILL>;
38 compatible = "gpio-leds";
41 label = "br-6475nd:green:power";
42 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
46 label = "br-6475nd:amber:wlan";
47 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
51 label = "br-6475nd:amber:wlan_5ghz";
52 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
57 compatible = "cfi-flash";
58 reg = <0x1c000000 0x800000>;
62 compatible = "fixed-partitions";
67 reg = <0x00000000 0x00030000>;
73 reg = <0x00030000 0x00010000>;
78 factory: partition@40000 {
79 reg = <0x00040000 0x00010000>;
84 devdata: partition@50000 {
85 reg = <0x00050000 0x00020000>;
91 compatible = "edimax,uimage";
92 reg = <0x00070000 0x00790000>;
99 compatible = "realtek,rtl8367";
100 gpio-sda = <&gpio0 5 GPIO_ACTIVE_HIGH>;
101 gpio-sck = <&gpio0 4 GPIO_ACTIVE_HIGH>;
102 realtek,extif0 = <1 0 1 1 1 1 1 1 2>;
106 * Unclear if this is the correct gpio setup; the USB ports are
107 * unpopulated on a stock BR-6475nD, even though the hardware exists
108 * and the headers are there.
112 compatible = "gpio-export";
116 gpio-export,name="usb";
117 gpio-export,output=<0>;
118 gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
125 state_default: pinctrl0 {
127 ralink,group = "spi", "jtag", "uartf";
128 ralink,function = "gpio";
147 mtd-mac-address = <&devdata 0x0d>;
150 mediatek,fixed-link = <1000 1 1 1>;
156 ralink,mtd-eeprom = <&factory 0>;
167 compatible = "pci0,0";
168 reg = <0x10000 0 0 0 0>;
170 ralink,mtd-eeprom = <&factory 0x8000>;