f519fea4c6
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>
33 lines
582 B
Text
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>;
|
|
};
|