3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/mtd/partitions/uimage.h>
8 compatible = "edimax,br-6475nd", "ralink,rt3662-soc", "ralink,rt3883-soc";
9 model = "Edimax BR-6475nD";
12 led-boot = &led_power;
13 led-failsafe = &led_power;
14 led-running = &led_power;
15 led-upgrade = &led_power;
19 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 = "green:power";
41 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
46 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
50 label = "amber:wlan_5ghz";
51 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
56 compatible = "cfi-flash";
57 reg = <0x1c000000 0x800000>;
61 compatible = "fixed-partitions";
66 reg = <0x00000000 0x00030000>;
72 reg = <0x00030000 0x00010000>;
77 factory: partition@40000 {
79 reg = <0x00040000 0x00010000>;
83 compatible = "fixed-layout";
87 eeprom_factory_0: eeprom@0 {
91 eeprom_factory_8000: eeprom@8000 {
97 devdata: partition@50000 {
99 reg = <0x00050000 0x00020000>;
103 compatible = "fixed-layout";
104 #address-cells = <1>;
107 macaddr_devdata_d: macaddr@d {
114 compatible = "openwrt,uimage", "denx,uimage";
115 openwrt,offset = <FW_EDIMAX_OFFSET>;
116 openwrt,partition-magic = <FW_MAGIC_EDIMAX>;
117 reg = <0x00070000 0x00790000>;
124 compatible = "realtek,rtl8367";
125 gpio-sda = <&gpio0 5 GPIO_ACTIVE_HIGH>;
126 gpio-sck = <&gpio0 4 GPIO_ACTIVE_HIGH>;
127 realtek,extif0 = <1 0 1 1 1 1 1 1 2>;
131 * Unclear if this is the correct gpio setup; the USB ports are
132 * unpopulated on a stock BR-6475nD, even though the hardware exists
133 * and the headers are there.
137 compatible = "gpio-export";
141 gpio-export,name="usb";
142 gpio-export,output=<0>;
143 gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
151 groups = "spi", "jtag", "uartf";
166 nvmem-cells = <&macaddr_devdata_d>;
167 nvmem-cell-names = "mac-address";
170 mediatek,fixed-link = <1000 1 1 1>;
175 nvmem-cells = <&eeprom_factory_0>;
176 nvmem-cell-names = "eeprom";
187 compatible = "pci0,0";
188 reg = <0x10000 0 0 0 0>;
190 nvmem-cells = <&eeprom_factory_8000>;
191 nvmem-cell-names = "eeprom";