53 lines
762 B
Plaintext
53 lines
762 B
Plaintext
// SPDX-License-Identifier: GPL-1.0-or-later OR MIT
|
|
|
|
#include "ar7100_mikrotik_routerboard-4xx.dtsi"
|
|
|
|
/ {
|
|
compatible = "mikrotik,routerboard-493g", "qca,ar7161";
|
|
model = "MikroTik RouterBOARD 493G";
|
|
|
|
aliases {
|
|
mdio-gpio0 = &mdio_gpio0;
|
|
};
|
|
};
|
|
|
|
&spi {
|
|
sdcard: mmc-slot@2 {
|
|
compatible = "mmc-spi-slot";
|
|
|
|
reg = <2>;
|
|
spi-max-frequency = <25000000>;
|
|
};
|
|
};
|
|
|
|
ð1 {
|
|
status = "okay";
|
|
|
|
phy-handle = <&gpio_phy0>;
|
|
|
|
mdio_gpio0: mdio-gpio {
|
|
compatible = "virtual,mdio-gpio";
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
gpios = <&gpio 7 GPIO_ACTIVE_HIGH>, // MDC
|
|
<&gpio 8 GPIO_ACTIVE_HIGH>; // MDIO
|
|
|
|
gpio_phy0: ethernet-phy@0 {
|
|
reg = <0>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&usb_phy {
|
|
status = "okay";
|
|
};
|
|
|
|
&usb2 {
|
|
status = "okay";
|
|
};
|
|
|
|
&usb1 {
|
|
status = "okay";
|
|
};
|