projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lantiq: rename gphy firmware
[openwrt/openwrt.git]
/
target
/
linux
/
lantiq
/
dts
/
VR200v.dts
diff --git
a/target/linux/lantiq/dts/VR200v.dts
b/target/linux/lantiq/dts/VR200v.dts
index 8715b89852a078d52a59d929c6125ba1be19aeba..6eccc5bdd96f2b00e4462bd1d189b3a9e15337f4 100644
(file)
--- a/
target/linux/lantiq/dts/VR200v.dts
+++ b/
target/linux/lantiq/dts/VR200v.dts
@@
-1,12
+1,15
@@
/dts-v1/;
/dts-v1/;
-/include/ "vr9.dtsi"
+#include "vr9.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
/ {
- model = "VR200v - TP-LINK Archer VR200v";
+ compatible = "tplink,vr200v", "lantiq,xway", "lantiq,vr9";
+ model = "TP-LINK Archer VR200v";
chosen {
chosen {
- bootargs = "console=ttyLTQ0,115200
init=/etc/preinit
";
+ bootargs = "console=ttyLTQ0,115200";
};
aliases {
};
aliases {
@@
-68,19
+71,24
@@
ifxhcd@E101000 {
status = "okay";
ifxhcd@E101000 {
status = "okay";
- gpios = <&gpio 33
0
>;
+ gpios = <&gpio 33
GPIO_ACTIVE_HIGH
>;
lantiq,portmask = <0x3>;
};
ifxhcd@E106000 {
status = "okay";
lantiq,portmask = <0x3>;
};
ifxhcd@E106000 {
status = "okay";
- gpios = <&gpio 33 0>;
+ gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
+ };
+
+ pci0: pci@E105400 {
+ status = "okay";
+ gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
};
};
gphy-xrx200 {
compatible = "lantiq,phy-xrx200";
};
};
gphy-xrx200 {
compatible = "lantiq,phy-xrx200";
- firmware = "lantiq/
vr9_phy11g_a2x
.bin";
+ firmware = "lantiq/
xrx200_phy11g_a22
.bin";
phys = [ 00 01 ];
};
phys = [ 00 01 ];
};
@@
-91,27
+99,27
@@
poll-interval = <100>;
reset {
label = "reset";
poll-interval = <100>;
reset {
label = "reset";
- gpios = <&gpio 22
1
>;
- linux,code = <
0x198
>;
+ gpios = <&gpio 22
GPIO_ACTIVE_LOW
>;
+ linux,code = <
KEY_RESTART
>;
};
wifi {
label = "wifi";
};
wifi {
label = "wifi";
- gpios = <&gpio 0
0
>;
- linux,code = <
0xf7
>;
- linux,input-type = <
5>; /* EV_SW */
+ gpios = <&gpio 0
GPIO_ACTIVE_HIGH
>;
+ linux,code = <
KEY_RFKILL
>;
+ linux,input-type = <
EV_SW>;
};
wps {
label = "wps";
};
wps {
label = "wps";
- gpios = <&gpio 2
1
>;
- linux,code = <
0x211
>;
+ gpios = <&gpio 2
GPIO_ACTIVE_LOW
>;
+ linux,code = <
KEY_WPS_BUTTON
>;
};
dect_paging {
label = "dect_paging";
};
dect_paging {
label = "dect_paging";
- gpios = <&gpio 39
1
>;
- linux,code = <
0x211
>;
+ gpios = <&gpio 39
GPIO_ACTIVE_LOW
>;
+ linux,code = <
KEY_PHONE
>;
};
};
};
};
@@
-119,35
+127,35
@@
compatible = "gpio-leds";
power: power {
label = "vr200v:blue:power";
compatible = "gpio-leds";
power: power {
label = "vr200v:blue:power";
- gpios = <&gpio 46
1
>;
+ gpios = <&gpio 46
GPIO_ACTIVE_LOW
>;
};
dsl: dsl {
label = "vr200v:blue:dsl";
};
dsl: dsl {
label = "vr200v:blue:dsl";
- gpios = <&gpio 4
1
>;
+ gpios = <&gpio 4
GPIO_ACTIVE_LOW
>;
};
internet: internet {
label = "vr200v:blue:internet";
};
internet: internet {
label = "vr200v:blue:internet";
- gpios = <&gpio 5
1
>;
+ gpios = <&gpio 5
GPIO_ACTIVE_LOW
>;
};
usb: usb {
label = "vr200v:blue:usb";
};
usb: usb {
label = "vr200v:blue:usb";
- gpios = <&gpio 25
1
>;
+ gpios = <&gpio 25
GPIO_ACTIVE_LOW
>;
};
eth {
label = "vr200v:blue:lan";
};
eth {
label = "vr200v:blue:lan";
- gpios = <&gpio 40
1
>;
+ gpios = <&gpio 40
GPIO_ACTIVE_LOW
>;
};
wlan {
label = "vr200v:blue:wlan";
};
wlan {
label = "vr200v:blue:wlan";
- gpios = <&gpio 24
1
>;
+ gpios = <&gpio 24
GPIO_ACTIVE_LOW
>;
};
wlan5g {
label = "vr200v:blue:wlan5g";
};
wlan5g {
label = "vr200v:blue:wlan5g";
- gpios = <&gpio 20
1
>;
+ gpios = <&gpio 20
GPIO_ACTIVE_LOW
>;
};
phone {
label = "vr200v:blue:phone";
};
phone {
label = "vr200v:blue:phone";
- gpios = <&gpio 44
1
>;
+ gpios = <&gpio 44
GPIO_ACTIVE_LOW
>;
};
};
};
};
};
};
@@
-229,7
+237,7
@@
reg = <0>;
phy-mode = "rgmii";
phy-handle = <&phy0>;
reg = <0>;
phy-mode = "rgmii";
phy-handle = <&phy0>;
- // gpios = <&gpio 42
1
>;
+ // gpios = <&gpio 42
GPIO_ACTIVE_LOW
>;
};
ethernet@5 {
compatible = "lantiq,xrx200-pdi-port";
};
ethernet@5 {
compatible = "lantiq,xrx200-pdi-port";