openwrt/target/linux/ath79/dts/qca9558_devolo_dvl1200e.dts
Yanase Yuki cba79b1de2 ath79: move device specific nodes to DTS files for Devolo 1xxx
qca9558_devolo_dvl1xxx.dtsi contains device specific nodes which
are inherited for some DTS files and overwritten for others.

This is considered confusing, so move the relevant nodes/properties
to the devices and only keep the shared stuff in the DTSI.

Signed-off-by: Yanase Yuki <dev@zpc.sakura.ne.jp>
[clarify commit title/message, move &gmac_config in DTS]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-11-24 14:40:55 +01:00

69 lines
1.1 KiB
Plaintext

// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
#include "qca9558_devolo_dvl1xxx.dtsi"
/ {
compatible = "devolo,dvl1200e", "qca,qca9558";
model = "devolo WiFi pro 1200e";
aliases {
led-boot = &led_status_blue;
led-failsafe = &led_status_red;
led-running = &led_status_blue;
led-upgrade = &led_status_red;
};
leds {
compatible = "gpio-leds";
led_status_blue: status_blue {
label = "blue:status";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
default-state = "on";
};
led_status_red: status_red {
label = "red:status";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
};
beeper {
compatible = "gpio-beeper";
gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
};
};
&eth0 {
pll-data = <0xae000000 0x80000101 0x80001313>;
phy-mode = "rgmii-rxid";
};
&gmac_config {
rxdv-delay = <3>;
rxd-delay = <3>;
txen-delay = <0>;
txd-delay = <0>;
};
&mdio1 {
status = "okay";
phy1: ethernet-phy@1 {
reg = <1>;
at803x-override-sgmii-link-check;
};
};
&eth1 {
status = "okay";
mtd-mac-address = <&art 0x00>;
mtd-mac-address-increment = <1>;
phy-handle = <&phy1>;
pll-data = <0x03000101 0x00000101 0x00001313>;
qca955x-sgmii-fixup;
};