forked from Ivasoft/openwrt
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>
This commit is contained in:
@@ -6,26 +6,6 @@
|
||||
compatible = "tplink,tdw8980", "tplink,tdw89x0", "lantiq,xway", "lantiq,vr9";
|
||||
model = "TP-LINK TD-W8980";
|
||||
|
||||
fpi@10000000 {
|
||||
gpio: pinmux@E100B10 {
|
||||
state_default: pinmux {
|
||||
pci_rst {
|
||||
lantiq,pins = "io21";
|
||||
lantiq,output = <1>;
|
||||
lantiq,open-drain;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pci@E105400 {
|
||||
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>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
wifi2 {
|
||||
label = "tdw8980:green:wlan5ghz";
|
||||
@@ -33,3 +13,21 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&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>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user