1 // SPDX-License-Identifier: GPL-2.0-only OR MI 2 3 /dts-v1/; 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/leds/common.h> 7 8 #include "mt7986a.dtsi" 9 10 / { 11 compatible = "acelink,ew-7886cax", "me 12 model = "Acelink EW-7886CAX"; 13 14 aliases { 15 serial0 = &uart0; 16 }; 17 18 chosen { 19 stdout-path = "serial0:115200n 20 }; 21 22 memory@40000000 { 23 reg = <0 0x40000000 0 0x200000 24 device_type = "memory"; 25 }; 26 27 keys { 28 compatible = "gpio-keys"; 29 30 key-restart { 31 label = "Reset"; 32 gpios = <&pio 7 GPIO_A 33 linux,code = <KEY_REST 34 }; 35 }; 36 37 leds { 38 compatible = "gpio-leds"; 39 40 led-0 { 41 function = LED_FUNCTIO 42 color = <LED_COLOR_ID_ 43 gpios = <&pio 18 GPIO_ 44 }; 45 46 led-1 { 47 function = LED_FUNCTIO 48 color = <LED_COLOR_ID_ 49 gpios = <&pio 19 GPIO_ 50 }; 51 52 led-2 { 53 function = LED_FUNCTIO 54 color = <LED_COLOR_ID_ 55 gpios = <&pio 20 GPIO_ 56 }; 57 }; 58 }; 59 60 &crypto { 61 status = "okay"; 62 }; 63 64 ð { 65 status = "okay"; 66 67 mac@1 { 68 compatible = "mediatek,eth-mac 69 reg = <1>; 70 phy-mode = "2500base-x"; 71 phy-handle = <&phy6>; 72 nvmem-cells = <&macaddr>; 73 nvmem-cell-names = "mac-addres 74 }; 75 76 mdio-bus { 77 reset-gpios = <&pio 6 GPIO_ACT 78 reset-delay-us = <50000>; 79 reset-post-delay-us = <20000>; 80 81 #address-cells = <1>; 82 #size-cells = <0>; 83 84 phy6: phy@6 { 85 compatible = "ethernet 86 reg = <6>; 87 }; 88 }; 89 }; 90 91 &pcie_phy { 92 status = "okay"; 93 }; 94 95 &spi0 { 96 status = "okay"; 97 98 flash@0 { 99 compatible = "spi-nand"; 100 reg = <0>; 101 #address-cells = <1>; 102 #size-cells = <1>; 103 spi-max-frequency = <52000000> 104 spi-rx-bus-width = <4>; 105 spi-tx-bus-width = <4>; 106 107 partitions { 108 compatible = "fixed-pa 109 #address-cells = <1>; 110 #size-cells = <1>; 111 112 partition@0 { 113 reg = <0x0 0x1 114 label = "bootl 115 read-only; 116 }; 117 118 partition@100000 { 119 reg = <0x10000 120 label = "u-boo 121 }; 122 123 partition@180000 { 124 compatible = " 125 reg = <0x18000 126 label = "facto 127 read-only; 128 129 nvmem-layout { 130 compat 131 #addre 132 #size- 133 134 eeprom 135 136 }; 137 138 macadd 139 140 }; 141 }; 142 }; 143 144 partition@380000 { 145 reg = <0x38000 146 label = "fip"; 147 }; 148 149 partition@580000 { 150 reg = <0x58000 151 label = "ubi"; 152 }; 153 }; 154 }; 155 }; 156 157 &trng { 158 status = "okay"; 159 }; 160 161 &uart0 { 162 status = "okay"; 163 }; 164 165 &watchdog { 166 status = "okay"; 167 }; 168 169 &wifi { 170 nvmem-cells = <&eeprom>; 171 nvmem-cell-names = "eeprom"; 172 status = "okay"; 173 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.