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";
20 poll-interval = <100>;
24 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
25 linux,code = <KEY_RESTART>;
30 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
31 linux,input-type = <EV_SW>;
32 linux,code = <KEY_RFKILL>;
37 compatible = "gpio-leds";
40 label = "br-6475nd:green:power";
41 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
45 label = "br-6475nd:amber:wlan";
46 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
50 label = "br-6475nd:amber:wlan_5ghz";
51 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
56 compatible = "cfi-flash";
57 reg = <0x1c000000 0x800000>;
63 reg = <0x00000000 0x00030000>;
69 reg = <0x00030000 0x00010000>;
74 factory: partition@40000 {
75 reg = <0x00040000 0x00010000>;
80 devdata: partition@50000 {
81 reg = <0x00050000 0x00020000>;
87 reg = <0x00070000 0x00790000>;
93 compatible = "realtek,rtl8367";
94 gpio-sda = <&gpio0 5 GPIO_ACTIVE_HIGH>;
95 gpio-sck = <&gpio0 4 GPIO_ACTIVE_HIGH>;
96 realtek,extif0 = <1 0 1 1 1 1 1 1 2>;
99 /* Unclear if this is the correct gpio setup; the USB ports are
100 unpopulated on a stock BR-6475nD, even though the hardware exists
101 and the headers are there. */
104 compatible = "gpio-export";
108 gpio-export,name="usb";
109 gpio-export,output=<0>;
110 gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
117 state_default: pinctrl0 {
119 ralink,group = "spi", "jtag", "uartf";
120 ralink,function = "gpio";
139 mtd-mac-address = <&devdata 0x0d>;
142 mediatek,fixed-link = <1000 1 1 1>;
148 ralink,mtd-eeprom = <&factory 0>;
159 compatible = "pci0,0";
160 reg = <0x10000 0 0 0 0>;
162 ralink,mtd-eeprom = <&factory 0x8000>;