.. | .. |
---|
56 | 56 | }; |
---|
57 | 57 | |
---|
58 | 58 | memory { |
---|
59 | | - reg = <0 0x40000000 0 0x3F000000>; |
---|
| 59 | + reg = <0 0x40000000 0 0x20000000>; |
---|
60 | 60 | }; |
---|
61 | 61 | |
---|
62 | 62 | reg_1p8v: regulator-1p8v { |
---|
.. | .. |
---|
83 | 83 | regulator-max-microvolt = <5000000>; |
---|
84 | 84 | regulator-boot-on; |
---|
85 | 85 | regulator-always-on; |
---|
| 86 | + }; |
---|
| 87 | +}; |
---|
| 88 | + |
---|
| 89 | +&bch { |
---|
| 90 | + status = "disabled"; |
---|
| 91 | +}; |
---|
| 92 | + |
---|
| 93 | +&btif { |
---|
| 94 | + status = "okay"; |
---|
| 95 | +}; |
---|
| 96 | + |
---|
| 97 | +&cir { |
---|
| 98 | + pinctrl-names = "default"; |
---|
| 99 | + pinctrl-0 = <&irrx_pins>; |
---|
| 100 | + status = "okay"; |
---|
| 101 | +}; |
---|
| 102 | + |
---|
| 103 | +ð { |
---|
| 104 | + pinctrl-names = "default"; |
---|
| 105 | + pinctrl-0 = <ð_pins>; |
---|
| 106 | + status = "okay"; |
---|
| 107 | + |
---|
| 108 | + gmac0: mac@0 { |
---|
| 109 | + compatible = "mediatek,eth-mac"; |
---|
| 110 | + reg = <0>; |
---|
| 111 | + phy-mode = "2500base-x"; |
---|
| 112 | + |
---|
| 113 | + fixed-link { |
---|
| 114 | + speed = <2500>; |
---|
| 115 | + full-duplex; |
---|
| 116 | + pause; |
---|
| 117 | + }; |
---|
| 118 | + }; |
---|
| 119 | + |
---|
| 120 | + mdio-bus { |
---|
| 121 | + #address-cells = <1>; |
---|
| 122 | + #size-cells = <0>; |
---|
| 123 | + |
---|
| 124 | + switch@0 { |
---|
| 125 | + compatible = "mediatek,mt7531"; |
---|
| 126 | + reg = <0>; |
---|
| 127 | + reset-gpios = <&pio 54 0>; |
---|
| 128 | + |
---|
| 129 | + ports { |
---|
| 130 | + #address-cells = <1>; |
---|
| 131 | + #size-cells = <0>; |
---|
| 132 | + |
---|
| 133 | + port@0 { |
---|
| 134 | + reg = <0>; |
---|
| 135 | + label = "lan0"; |
---|
| 136 | + }; |
---|
| 137 | + |
---|
| 138 | + port@1 { |
---|
| 139 | + reg = <1>; |
---|
| 140 | + label = "lan1"; |
---|
| 141 | + }; |
---|
| 142 | + |
---|
| 143 | + port@2 { |
---|
| 144 | + reg = <2>; |
---|
| 145 | + label = "lan2"; |
---|
| 146 | + }; |
---|
| 147 | + |
---|
| 148 | + port@3 { |
---|
| 149 | + reg = <3>; |
---|
| 150 | + label = "lan3"; |
---|
| 151 | + }; |
---|
| 152 | + |
---|
| 153 | + port@4 { |
---|
| 154 | + reg = <4>; |
---|
| 155 | + label = "wan"; |
---|
| 156 | + }; |
---|
| 157 | + |
---|
| 158 | + port@6 { |
---|
| 159 | + reg = <6>; |
---|
| 160 | + label = "cpu"; |
---|
| 161 | + ethernet = <&gmac0>; |
---|
| 162 | + phy-mode = "2500base-x"; |
---|
| 163 | + |
---|
| 164 | + fixed-link { |
---|
| 165 | + speed = <2500>; |
---|
| 166 | + full-duplex; |
---|
| 167 | + pause; |
---|
| 168 | + }; |
---|
| 169 | + }; |
---|
| 170 | + }; |
---|
| 171 | + }; |
---|
| 172 | + |
---|
| 173 | + }; |
---|
| 174 | +}; |
---|
| 175 | + |
---|
| 176 | +&i2c1 { |
---|
| 177 | + pinctrl-names = "default"; |
---|
| 178 | + pinctrl-0 = <&i2c1_pins>; |
---|
| 179 | + status = "okay"; |
---|
| 180 | +}; |
---|
| 181 | + |
---|
| 182 | +&i2c2 { |
---|
| 183 | + pinctrl-names = "default"; |
---|
| 184 | + pinctrl-0 = <&i2c2_pins>; |
---|
| 185 | + status = "okay"; |
---|
| 186 | +}; |
---|
| 187 | + |
---|
| 188 | +&mmc0 { |
---|
| 189 | + pinctrl-names = "default", "state_uhs"; |
---|
| 190 | + pinctrl-0 = <&emmc_pins_default>; |
---|
| 191 | + pinctrl-1 = <&emmc_pins_uhs>; |
---|
| 192 | + status = "okay"; |
---|
| 193 | + bus-width = <8>; |
---|
| 194 | + max-frequency = <50000000>; |
---|
| 195 | + cap-mmc-highspeed; |
---|
| 196 | + mmc-hs200-1_8v; |
---|
| 197 | + vmmc-supply = <®_3p3v>; |
---|
| 198 | + vqmmc-supply = <®_1p8v>; |
---|
| 199 | + assigned-clocks = <&topckgen CLK_TOP_MSDC30_0_SEL>; |
---|
| 200 | + assigned-clock-parents = <&topckgen CLK_TOP_UNIV48M>; |
---|
| 201 | + non-removable; |
---|
| 202 | +}; |
---|
| 203 | + |
---|
| 204 | +&mmc1 { |
---|
| 205 | + pinctrl-names = "default", "state_uhs"; |
---|
| 206 | + pinctrl-0 = <&sd0_pins_default>; |
---|
| 207 | + pinctrl-1 = <&sd0_pins_uhs>; |
---|
| 208 | + status = "okay"; |
---|
| 209 | + bus-width = <4>; |
---|
| 210 | + max-frequency = <50000000>; |
---|
| 211 | + cap-sd-highspeed; |
---|
| 212 | + r_smpl = <1>; |
---|
| 213 | + cd-gpios = <&pio 81 GPIO_ACTIVE_LOW>; |
---|
| 214 | + vmmc-supply = <®_3p3v>; |
---|
| 215 | + vqmmc-supply = <®_3p3v>; |
---|
| 216 | + assigned-clocks = <&topckgen CLK_TOP_MSDC30_1_SEL>; |
---|
| 217 | + assigned-clock-parents = <&topckgen CLK_TOP_UNIV48M>; |
---|
| 218 | +}; |
---|
| 219 | + |
---|
| 220 | +&nandc { |
---|
| 221 | + pinctrl-names = "default"; |
---|
| 222 | + pinctrl-0 = <¶llel_nand_pins>; |
---|
| 223 | + status = "disabled"; |
---|
| 224 | +}; |
---|
| 225 | + |
---|
| 226 | +&nor_flash { |
---|
| 227 | + pinctrl-names = "default"; |
---|
| 228 | + pinctrl-0 = <&spi_nor_pins>; |
---|
| 229 | + status = "disabled"; |
---|
| 230 | + |
---|
| 231 | + flash@0 { |
---|
| 232 | + compatible = "jedec,spi-nor"; |
---|
| 233 | + reg = <0>; |
---|
86 | 234 | }; |
---|
87 | 235 | }; |
---|
88 | 236 | |
---|
.. | .. |
---|
349 | 497 | }; |
---|
350 | 498 | }; |
---|
351 | 499 | |
---|
352 | | -&bch { |
---|
353 | | - status = "disabled"; |
---|
354 | | -}; |
---|
355 | | - |
---|
356 | | -&btif { |
---|
357 | | - status = "okay"; |
---|
358 | | -}; |
---|
359 | | - |
---|
360 | | -&cir { |
---|
361 | | - pinctrl-names = "default"; |
---|
362 | | - pinctrl-0 = <&irrx_pins>; |
---|
363 | | - status = "okay"; |
---|
364 | | -}; |
---|
365 | | - |
---|
366 | | -ð { |
---|
367 | | - pinctrl-names = "default"; |
---|
368 | | - pinctrl-0 = <ð_pins>; |
---|
369 | | - status = "okay"; |
---|
370 | | - |
---|
371 | | - gmac1: mac@1 { |
---|
372 | | - compatible = "mediatek,eth-mac"; |
---|
373 | | - reg = <1>; |
---|
374 | | - phy-handle = <&phy5>; |
---|
375 | | - }; |
---|
376 | | - |
---|
377 | | - mdio-bus { |
---|
378 | | - #address-cells = <1>; |
---|
379 | | - #size-cells = <0>; |
---|
380 | | - |
---|
381 | | - phy5: ethernet-phy@5 { |
---|
382 | | - reg = <5>; |
---|
383 | | - phy-mode = "sgmii"; |
---|
384 | | - }; |
---|
385 | | - }; |
---|
386 | | -}; |
---|
387 | | - |
---|
388 | | -&i2c1 { |
---|
389 | | - pinctrl-names = "default"; |
---|
390 | | - pinctrl-0 = <&i2c1_pins>; |
---|
391 | | - status = "okay"; |
---|
392 | | -}; |
---|
393 | | - |
---|
394 | | -&i2c2 { |
---|
395 | | - pinctrl-names = "default"; |
---|
396 | | - pinctrl-0 = <&i2c2_pins>; |
---|
397 | | - status = "okay"; |
---|
398 | | -}; |
---|
399 | | - |
---|
400 | | -&mmc0 { |
---|
401 | | - pinctrl-names = "default", "state_uhs"; |
---|
402 | | - pinctrl-0 = <&emmc_pins_default>; |
---|
403 | | - pinctrl-1 = <&emmc_pins_uhs>; |
---|
404 | | - status = "okay"; |
---|
405 | | - bus-width = <8>; |
---|
406 | | - max-frequency = <50000000>; |
---|
407 | | - cap-mmc-highspeed; |
---|
408 | | - mmc-hs200-1_8v; |
---|
409 | | - vmmc-supply = <®_3p3v>; |
---|
410 | | - vqmmc-supply = <®_1p8v>; |
---|
411 | | - assigned-clocks = <&topckgen CLK_TOP_MSDC30_0_SEL>; |
---|
412 | | - assigned-clock-parents = <&topckgen CLK_TOP_UNIV48M>; |
---|
413 | | - non-removable; |
---|
414 | | -}; |
---|
415 | | - |
---|
416 | | -&mmc1 { |
---|
417 | | - pinctrl-names = "default", "state_uhs"; |
---|
418 | | - pinctrl-0 = <&sd0_pins_default>; |
---|
419 | | - pinctrl-1 = <&sd0_pins_uhs>; |
---|
420 | | - status = "okay"; |
---|
421 | | - bus-width = <4>; |
---|
422 | | - max-frequency = <50000000>; |
---|
423 | | - cap-sd-highspeed; |
---|
424 | | - r_smpl = <1>; |
---|
425 | | - cd-gpios = <&pio 81 GPIO_ACTIVE_LOW>; |
---|
426 | | - vmmc-supply = <®_3p3v>; |
---|
427 | | - vqmmc-supply = <®_3p3v>; |
---|
428 | | - assigned-clocks = <&topckgen CLK_TOP_MSDC30_1_SEL>; |
---|
429 | | - assigned-clock-parents = <&topckgen CLK_TOP_UNIV48M>; |
---|
430 | | -}; |
---|
431 | | - |
---|
432 | | -&nandc { |
---|
433 | | - pinctrl-names = "default"; |
---|
434 | | - pinctrl-0 = <¶llel_nand_pins>; |
---|
435 | | - status = "disabled"; |
---|
436 | | -}; |
---|
437 | | - |
---|
438 | | -&nor_flash { |
---|
439 | | - pinctrl-names = "default"; |
---|
440 | | - pinctrl-0 = <&spi_nor_pins>; |
---|
441 | | - status = "disabled"; |
---|
442 | | - |
---|
443 | | - flash@0 { |
---|
444 | | - compatible = "jedec,spi-nor"; |
---|
445 | | - reg = <0>; |
---|
446 | | - }; |
---|
447 | | -}; |
---|
448 | | - |
---|
449 | 500 | &pwm { |
---|
450 | 501 | pinctrl-names = "default"; |
---|
451 | 502 | pinctrl-0 = <&pwm7_pins>; |
---|
.. | .. |
---|
506 | 557 | pinctrl-0 = <&watchdog_pins>; |
---|
507 | 558 | status = "okay"; |
---|
508 | 559 | }; |
---|
| 560 | + |
---|
| 561 | +&wmac { |
---|
| 562 | + status = "okay"; |
---|
| 563 | +}; |
---|