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 compatible = "gpio-keys-polled";
16 poll-interval = <100>;
20 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
21 linux,code = <KEY_RESTART>;
26 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
27 linux,input-type = <EV_SW>;
28 linux,code = <KEY_RFKILL>;
33 compatible = "gpio-leds";
36 label = "br-6475nd:green:power";
37 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
41 label = "br-6475nd:amber:wlan";
42 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
46 label = "br-6475nd:amber:wlan_5ghz";
47 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
52 compatible = "cfi-flash";
53 reg = <0x1c000000 0x800000>;
59 reg = <0x00000000 0x00030000>;
65 reg = <0x00030000 0x00010000>;
70 factory: partition@40000 {
71 reg = <0x00040000 0x00010000>;
76 devdata: partition@50000 {
77 reg = <0x00050000 0x00020000>;
83 reg = <0x00070000 0x00790000>;
89 compatible = "realtek,rtl8367";
90 gpio-sda = <&gpio0 5 GPIO_ACTIVE_HIGH>;
91 gpio-sck = <&gpio0 4 GPIO_ACTIVE_HIGH>;
92 realtek,extif0 = <1 0 1 1 1 1 1 1 2>;
95 /* Unclear if this is the correct gpio setup; the USB ports are
96 unpopulated on a stock BR-6475nD, even though the hardware exists
97 and the headers are there. */
100 compatible = "gpio-export";
104 gpio-export,name="usb";
105 gpio-export,output=<0>;
106 gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
113 state_default: pinctrl0 {
115 ralink,group = "spi", "jtag", "uartf";
116 ralink,function = "gpio";
135 mtd-mac-address = <&devdata 0x0d>;
138 mediatek,fixed-link = <1000 1 1 1>;
144 ralink,mtd-eeprom = <&factory 0>;
149 pinctrl-names = "default";
150 pinctrl-0 = <&pci_pins>;
154 ralink,group = "pci";
155 ralink,function = "pci-fnc";
164 compatible = "pci0,0";
165 reg = <0x10000 0 0 0 0>;
167 ralink,mtd-eeprom = <&factory 0x8000>;