5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "edimax,br-6475nd", "ralink,rt3883-soc";
10 model = "Edimax BR-6475nD";
13 led-status = &led_power;
17 compatible = "gpio-keys-polled";
18 poll-interval = <100>;
22 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
23 linux,code = <KEY_RESTART>;
28 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
29 linux,input-type = <EV_SW>;
30 linux,code = <KEY_RFKILL>;
35 compatible = "gpio-leds";
38 label = "br-6475nd:green:power";
39 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
43 label = "br-6475nd:amber:wlan";
44 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
48 label = "br-6475nd:amber:wlan_5ghz";
49 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
54 compatible = "cfi-flash";
55 reg = <0x1c000000 0x800000>;
61 reg = <0x00000000 0x00030000>;
67 reg = <0x00030000 0x00010000>;
72 factory: partition@40000 {
73 reg = <0x00040000 0x00010000>;
78 devdata: partition@50000 {
79 reg = <0x00050000 0x00020000>;
85 reg = <0x00070000 0x00790000>;
91 compatible = "realtek,rtl8367";
92 gpio-sda = <&gpio0 5 GPIO_ACTIVE_HIGH>;
93 gpio-sck = <&gpio0 4 GPIO_ACTIVE_HIGH>;
94 realtek,extif0 = <1 0 1 1 1 1 1 1 2>;
97 /* Unclear if this is the correct gpio setup; the USB ports are
98 unpopulated on a stock BR-6475nD, even though the hardware exists
99 and the headers are there. */
102 compatible = "gpio-export";
106 gpio-export,name="usb";
107 gpio-export,output=<0>;
108 gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
115 state_default: pinctrl0 {
117 ralink,group = "spi", "jtag", "uartf";
118 ralink,function = "gpio";
137 mtd-mac-address = <&devdata 0x0d>;
140 mediatek,fixed-link = <1000 1 1 1>;
146 ralink,mtd-eeprom = <&factory 0>;
157 compatible = "pci0,0";
158 reg = <0x10000 0 0 0 0>;
160 ralink,mtd-eeprom = <&factory 0x8000>;