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 = "xzwifi,creativebox-v1", "mediatek,mt7621-soc";
10 model = "CreativeBox v1";
14 led-failsafe = &led_sys;
15 led-running = &led_sys;
16 led-upgrade = &led_sys;
20 bootargs = "console=ttyS0,115200";
24 compatible = "gpio-leds";
28 gpios = <&gpio 31 GPIO_ACTIVE_LOW>;
34 gpios = <&gpio 32 GPIO_ACTIVE_LOW>;
38 label = "blue:internet";
39 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
43 label = "blue:wlan2g";
44 gpios = <&gpio 33 GPIO_ACTIVE_LOW>;
45 linux,default-trigger = "phy0tpt";
49 label = "blue:wlan5g";
50 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
51 linux,default-trigger = "phy1tpt";
56 compatible = "gpio-keys";
60 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
61 linux,code = <KEY_RESTART>;
66 compatible = "gpio-export";
70 gpio-export,name = "power_usb2";
71 gpio-export,output = <1>;
72 gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
76 gpio-export,name = "power_usb3";
77 gpio-export,output = <1>;
78 gpios = <&gpio 25 GPIO_ACTIVE_HIGH>;
82 gpio-export,name = "power_sata";
83 gpio-export,output = <1>;
84 gpios = <&gpio 27 GPIO_ACTIVE_HIGH>;
93 compatible = "jedec,spi-nor";
95 spi-max-frequency = <40000000>;
99 compatible = "fixed-partitions";
100 #address-cells = <1>;
110 label = "u-boot-env";
111 reg = <0x30000 0x10000>;
115 factory: partition@40000 {
117 reg = <0x40000 0x10000>;
121 compatible = "fixed-layout";
122 #address-cells = <1>;
125 eeprom_factory_0: eeprom@0 {
129 eeprom_factory_8000: eeprom@8000 {
130 reg = <0x8000 0x200>;
133 macaddr_factory_e000: macaddr@e000 {
134 compatible = "mac-base";
136 #nvmem-cell-cells = <1>;
142 compatible = "denx,uimage";
144 reg = <0x50000 0x1fb0000>;
160 compatible = "pci1400,7603";
161 reg = <0x0000 0 0 0 0>;
162 nvmem-cells = <&eeprom_factory_0>;
163 nvmem-cell-names = "eeprom";
169 compatible = "pci14c3,7662";
170 reg = <0x0000 0 0 0 0>;
171 nvmem-cells = <&eeprom_factory_8000>;
172 nvmem-cell-names = "eeprom";
173 ieee80211-freq-limit = <5000000 6000000>;
178 pinctrl-0 = <&mdio_pins>, <&rgmii1_pins>;
182 nvmem-cells = <&macaddr_factory_e000 0>;
183 nvmem-cell-names = "mac-address";
211 nvmem-cells = <&macaddr_factory_e000 1>;
212 nvmem-cell-names = "mac-address";
219 groups = "wdt", "rgmii2";