1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-06-20 07:38:28 +02:00
openwrt/target/linux/ramips/dts/mt7620a_zbtlink_zbt-we1026-h.dtsi
Adrian Schmutzler 231dc26867 treewide: remove dts-v1 identifier from DTSI files
The "/dts-v1/;" identifier is supposed to be put once at the beginning
of a device tree file. Thus, it makes no sense to provide it a second
time in to-be-included DTSI files.

This removes the identifier from all DTSI files in /target/linux.

Most of the DTS files in OpenWrt do contain the "/dts-v1/;". It is
missing for most of the following targets, though:
mvebu, ipq806x, mpc85xx, ipq40xx

This does not touch ipq806x for now, as the bump to 4.19 is close.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-12-08 16:44:06 +01:00

33 lines
575 B
Plaintext

// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
#include "mt7620a_zbtlink_zbt-we1026.dtsi"
/ {
compatible = "zbtlink,zbt-we1026-h", "zbtlink,zbt-we1026",
"ralink,mt7620a-soc";
leds {
compatible = "gpio-leds";
usb {
label = "we1026-h:green:usb";
gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
};
lan {
label = "we1026-h:green:lan";
gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
};
wan {
label = "we1026-h:green:wan";
gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
};
wifi {
label = "we1026-h:green:wifi";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
};
};