1 #include "mt7621_xiaomi_nand_128m.dtsi"
4 compatible = "xiaomi,mi-router-3g", "mediatek,mt7621-soc";
5 model = "Xiaomi Mi Router 3G";
8 led-boot = &led_status_yellow;
9 led-failsafe = &led_status_red;
10 led-running = &led_status_blue;
11 led-upgrade = &led_status_yellow;
12 label-mac-device = &gmac0;
16 compatible = "gpio-leds";
18 led_status_red: status_red {
20 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
23 led_status_blue: status_blue {
24 label = "blue:status";
25 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
28 led_status_yellow: status_yellow {
29 label = "yellow:status";
30 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
35 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
36 linux,default-trigger = "dsa-0.0:01:1Gbps";
41 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
42 linux,default-trigger = "dsa-0.0:03:1Gbps";
47 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
48 linux,default-trigger = "dsa-0.0:02:1Gbps";
52 reg_usb_vbus: regulator {
53 compatible = "regulator-fixed";
54 regulator-name = "usb_vbus";
55 regulator-min-microvolt = <5000000>;
56 regulator-max-microvolt = <5000000>;
57 gpio = <&gpio 12 GPIO_ACTIVE_HIGH>;
63 vbus-supply = <®_usb_vbus>;
72 compatible = "pci14c3,7603";
73 reg = <0x0000 0 0 0 0>;
74 mediatek,mtd-eeprom = <&factory 0x0000>;
75 ieee80211-freq-limit = <2400000 2500000>;
81 compatible = "pci14c3,7662";
82 reg = <0x0000 0 0 0 0>;
83 mediatek,mtd-eeprom = <&factory 0x8000>;
84 ieee80211-freq-limit = <5000000 6000000>;
89 nvmem-cells = <&macaddr_factory_e006>;
90 nvmem-cell-names = "mac-address";
98 nvmem-cells = <&macaddr_factory_e000>;
99 nvmem-cell-names = "mac-address";
116 groups = "jtag", "uart2", "uart3", "wdt";
122 compatible = "nvmem-cells";
123 #address-cells = <1>;
126 macaddr_factory_e000: macaddr@e000 {
130 macaddr_factory_e006: macaddr@e006 {