6 model = "ZyXEL NWA50AX Pro";
7 compatible = "zyxel,nwa50ax-pro", "mediatek,mt7981";
10 led-boot = &led_green;
11 led-failsafe = &led_red;
12 led-running = &led_green;
13 led-upgrade = &led_red;
15 label-mac-device = &gmac1;
19 stdout-path = "serial0:115200n8";
23 compatible = "gpio-keys";
27 linux,code = <KEY_RESTART>;
28 gpios = <&pio 1 GPIO_ACTIVE_LOW>;
33 compatible = "gpio-leds";
36 label = "green:system";
37 gpios = <&pio 4 GPIO_ACTIVE_HIGH>;
41 label = "blue:system";
42 gpios = <&pio 6 GPIO_ACTIVE_HIGH>;
47 gpios = <&pio 7 GPIO_ACTIVE_HIGH>;
61 pinctrl-names = "default";
62 pinctrl-0 = <&mdio_pins>;
67 compatible = "mediatek,eth-mac";
69 phy-mode = "2500base-x";
73 nvmem-cells = <&macaddr_mrd_1fff8>;
74 nvmem-cell-names = "mac-address";
79 reset-gpios = <&pio 12 GPIO_ACTIVE_LOW>;
80 reset-delay-us = <1500000>;
81 reset-post-delay-us = <1000000>;
83 phy0: ethernet-phy@5 {
85 compatible = "ethernet-phy-ieee802.3-c45";
90 pinctrl-names = "default";
91 pinctrl-0 = <&spi0_flash_pins>;
97 compatible = "spi-nand";
99 spi-max-frequency = <52000000>;
102 spi-cal-mode = "read-data";
103 spi-cal-datalen = <7>;
104 spi-cal-data = /bits/ 8 <0x53 0x50 0x49 0x4E 0x41 0x4E 0x44>;
105 spi-cal-addrlen = <5>;
106 spi-cal-addr = /bits/ 32 <0x0 0x0 0x0 0x0 0x0>;
108 spi-tx-buswidth = <4>;
109 spi-rx-buswidth = <4>;
111 mediatek,bmt-max-ratio = <1>;
112 mediatek,bmt-max-reserved-blocks = <64>;
114 mediatek,bmt-remap-range =
116 <0xef00000 0xef80000>;
119 compatible = "fixed-partitions";
120 #address-cells = <1>;
125 reg = <0x00000 0x0100000>;
130 label = "u-boot-env";
131 reg = <0x0100000 0x0080000>;
134 factory: partition@180000 {
136 reg = <0x180000 0x0200000>;
139 compatible = "nvmem-cells";
140 #address-cells = <1>;
150 reg = <0x380000 0x0200000>;
156 reg = <0x580000 0x3200000>;
161 reg = <0x3780000 0x3200000>;
166 label = "rootfs-data";
167 reg = <0x6980000 0x3c00000>;
173 reg = <0xa580000 0x3a80000>;
179 reg = <0xe000000 0xf00000>;
184 label = "bootconfig";
185 reg = <0xef00000 0x80000>;
190 reg = <0xef80000 0x80000>;
193 compatible = "nvmem-cells";
194 #address-cells = <1>;
197 macaddr_mrd_1fff8: macaddr@1fff8 {
206 spi0_flash_pins: spi0-pins {
209 groups = "spi0", "spi0_wp_hold";
213 pwm_pins: pwm0-pins {
224 mediatek,mtd-eeprom = <&factory 0x0>;