perf: fix build on PowerPC
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar7161_mikrotik_routerboard-493g.dts
1 // SPDX-License-Identifier: GPL-1.0-or-later OR MIT
2 /dts-v1/;
3
4 #include "ar7100_mikrotik_routerboard-4xx.dtsi"
5
6 / {
7 compatible = "mikrotik,routerboard-493g", "qca,ar7161";
8 model = "MikroTik RouterBOARD 493G";
9
10 aliases {
11 mdio-gpio0 = &mdio_gpio0;
12 };
13 };
14
15 &spi {
16 sdcard: mmc-slot@2 {
17 compatible = "mmc-spi-slot";
18
19 reg = <2>;
20 spi-max-frequency = <25000000>;
21 };
22 };
23
24 &eth1 {
25 status = "okay";
26
27 phy-handle = <&gpio_phy0>;
28
29 mdio_gpio0: mdio-gpio {
30 compatible = "virtual,mdio-gpio";
31 #address-cells = <1>;
32 #size-cells = <0>;
33
34 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>, // MDC
35 <&gpio 8 GPIO_ACTIVE_HIGH>; // MDIO
36
37 gpio_phy0: ethernet-phy@0 {
38 reg = <0>;
39 };
40 };
41 };
42
43 &usb_phy {
44 status = "okay";
45 };
46
47 &usb2 {
48 status = "okay";
49 };
50
51 &usb1 {
52 status = "okay";
53 };