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 {
109 reg = <0x40000 0x10000>;
113 compatible = "fixed-layout";
114 #address-cells = <1>;
117 eeprom_factory_0: eeprom@0 {
121 eeprom_factory_8000: eeprom@8000 {
122 reg = <0x8000 0x200>;
125 macaddr_factory_4: macaddr@4 {
129 macaddr_factory_8004: macaddr@8004 {
136 compatible = "denx,uimage";
138 reg = <0x50000 0xfb0000>;
150 compatible = "mediatek,mt76";
151 reg = <0x0000 0 0 0 0>;
152 nvmem-cells = <&eeprom_factory_8000>;
153 nvmem-cell-names = "eeprom";
159 compatible = "mediatek,mt76";
160 reg = <0x0000 0 0 0 0>;
161 nvmem-cells = <&eeprom_factory_0>;
162 nvmem-cell-names = "eeprom";
167 nvmem-cells = <&macaddr_factory_8004>;
168 nvmem-cell-names = "mac-address";
174 phy-handle = <ðphy4>;
176 nvmem-cells = <&macaddr_factory_4>;
177 nvmem-cell-names = "mac-address";
181 ethphy4: ethernet-phy@4 {
212 groups = "uart3", "uart2", "jtag", "wdt";