1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "asus,rt-n56u-b1", "mediatek,mt7621-soc";
10 model = "ASUS RT-N56U B1";
13 label-mac-device = &gmac1;
14 led-boot = &led_power;
15 led-failsafe = &led_power;
16 led-running = &led_power;
17 led-upgrade = &led_power;
21 bootargs = "console=ttyS0,115200";
25 compatible = "gpio-leds";
29 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
33 label = "blue:wlan2g";
34 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
35 linux,default-trigger = "phy0tpt";
39 label = "blue:wlan5g";
40 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
41 linux,default-trigger = "phy1tpt";
46 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
51 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
56 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
57 trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
58 linux,default-trigger = "usbport";
63 compatible = "gpio-keys";
67 gpios = <&gpio 18 GPIO_ACTIVE_HIGH>;
68 linux,code = <KEY_WPS_BUTTON>;
69 debounce-interval = <60>;
74 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
75 linux,code = <KEY_RESTART>;
76 debounce-interval = <60>;
85 compatible = "jedec,spi-nor";
87 spi-max-frequency = <50000000>;
91 compatible = "fixed-partitions";
103 reg = <0x30000 0x10000>;
107 factory: partition@40000 {
108 compatible = "nvmem-cells";
110 reg = <0x40000 0x10000>;
111 #address-cells = <1>;
115 eeprom_factory_0: eeprom@0 {
119 macaddr_factory_4: macaddr@4 {
123 macaddr_factory_8004: macaddr@8004 {
129 compatible = "denx,uimage";
131 reg = <0x50000 0xfb0000>;
143 compatible = "mediatek,mt76";
144 reg = <0x0000 0 0 0 0>;
145 mediatek,mtd-eeprom = <&factory 0x8000>;
151 compatible = "mediatek,mt76";
152 reg = <0x0000 0 0 0 0>;
153 nvmem-cells = <&eeprom_factory_0>;
154 nvmem-cell-names = "eeprom";
159 nvmem-cells = <&macaddr_factory_8004>;
160 nvmem-cell-names = "mac-address";
166 phy-handle = <ðphy4>;
168 nvmem-cells = <&macaddr_factory_4>;
169 nvmem-cell-names = "mac-address";
173 ethphy4: ethernet-phy@4 {
204 groups = "uart3", "uart2", "jtag", "wdt";