0
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-11-28 07:44:32 +00:00
openwrt/target/linux/ath79/dts/qca9533_tplink_cpe220-v3.dts
Adrian Schmutzler 41aa765946 ath79: remove redundant nvmem definitions
Due to use of a script when migrating from mtd-mac-address, a few
of the definitions are redundant in DTSI and DTS files. Remove
those and consolidate the definitions in parent DTSI files in a
few cases.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2021-08-20 18:13:55 +02:00

32 lines
511 B
Plaintext

// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
#include "qca9533_tplink_cpexxx.dtsi"
/ {
compatible = "tplink,cpe220-v3", "qca,qca9533";
model = "TP-Link CPE220 v3";
};
&leds {
lan0 {
label = "green:lan0";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
lan1 {
label = "green:lan1";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
};
&eth1 {
nvmem-cells = <&macaddr_info_8>;
nvmem-cell-names = "mac-address";
gmac-config {
device = <&gmac>;
switch-phy-swap = <0>;
switch-only-mode = <1>;
};
};