openwrtv4/target/linux/lantiq/files-4.14/arch/mips/boot/dts/TDW8980.dts
Mathias Kresin f519fea4c6 lantiq: kernel 4.14: cleanup dts files
Move common used parts to dtsi. Add labels to nodes and reference nodes
via labels in dts files.

Signed-off-by: Mathias Kresin <dev@kresin.me>
2018-02-20 19:25:17 +01:00

33 lines
582 B
Text

/dts-v1/;
#include "TDW89X0.dtsi"
/ {
compatible = "tplink,tdw8980", "tplink,tdw89x0", "lantiq,xway", "lantiq,vr9";
model = "TP-LINK TD-W8980";
gpio-leds {
wifi2 {
label = "tdw8980:green:wlan5ghz";
gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
};
};
};
&gpio {
state_default: pinmux {
pci_rst {
lantiq,pins = "io21";
lantiq,output = <1>;
lantiq,open-drain;
};
};
};
&pci0 {
status = "okay";
lantiq,bus-clock = <33333333>;
interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
interrupt-map = <0x7000 0 0 1 &icu0 30 1>;
gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
};