OpenWrt
/branches/18.06.1/target/linux/ramips/dts/ArcherC20v4.dts |
@@ -9,14 +9,7 @@ |
compatible = "tplink,c20-v4", "mediatek,mt7628an-soc"; |
model = "TP-Link Archer C20 v4"; |
|
aliases { |
led-boot = &led_power; |
led-failsafe = &led_power; |
led-running = &led_power; |
led-upgrade = &led_power; |
}; |
|
leds { |
gpio-leds { |
compatible = "gpio-leds"; |
|
lan { |
@@ -24,7 +17,7 @@ |
gpios = <&gpio1 10 GPIO_ACTIVE_LOW>; |
}; |
|
led_power: power { |
power { |
label = "c20-v4:green:power"; |
gpios = <&gpio0 2 GPIO_ACTIVE_LOW>; |
}; |
@@ -38,7 +31,7 @@ |
label = "c20-v4:orange:wan"; |
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; |
}; |
|
|
wlan5g { |
label = "c20-v4:green:wlan5g"; |
gpios = <&gpio1 8 GPIO_ACTIVE_LOW>; |
@@ -55,8 +48,10 @@ |
}; |
}; |
|
keys { |
gpio-keys-polled { |
compatible = "gpio-keys-polled"; |
#address-cells = <1>; |
#size-cells = <0>; |
poll-interval = <20>; |
|
reset { |
@@ -92,14 +87,15 @@ |
|
&pcie { |
status = "okay"; |
}; |
|
&pcie0 { |
mt76@0,0 { |
reg = <0x0000 0 0 0 0>; |
mediatek,mtd-eeprom = <&factory 0x28000>; |
ieee80211-freq-limit = <5000000 6000000>; |
mtd-mac-address = <&factory 0xf100>; |
mtd-mac-address-increment = <(-1)>; |
pcie-bridge { |
mt76@0,0 { |
reg = <0x0000 0 0 0 0>; |
device_type = "pci"; |
mediatek,mtd-eeprom = <&factory 0x28000>; |
ieee80211-freq-limit = <5000000 6000000>; |
mtd-mac-address = <&factory 0xf100>; |
mtd-mac-address-increment = <(-1)>; |
}; |
}; |
}; |