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-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 reg = <0x00070000 0x00790000>;
98 compatible = "realtek,rtl8367";
99 gpio-sda = <&gpio0 5 GPIO_ACTIVE_HIGH>;
100 gpio-sck = <&gpio0 4 GPIO_ACTIVE_HIGH>;
101 realtek,extif0 = <1 0 1 1 1 1 1 1 2>;
105 * Unclear if this is the correct gpio setup; the USB ports are
106 * unpopulated on a stock BR-6475nD, even though the hardware exists
107 * and the headers are there.
111 compatible = "gpio-export";
115 gpio-export,name="usb";
116 gpio-export,output=<0>;
117 gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
124 state_default: pinctrl0 {
126 ralink,group = "spi", "jtag", "uartf";
127 ralink,function = "gpio";
146 mtd-mac-address = <&devdata 0x0d>;
149 mediatek,fixed-link = <1000 1 1 1>;
155 ralink,mtd-eeprom = <&factory 0>;
166 compatible = "pci0,0";
167 reg = <0x10000 0 0 0 0>;
169 ralink,mtd-eeprom = <&factory 0x8000>;