projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lantiq: kernel 4.14: update dts files
[openwrt/openwrt.git]
/
target
/
linux
/
lantiq
/
files-4.14
/
arch
/
mips
/
boot
/
dts
/
P2812HNUFX.dtsi
diff --git
a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/P2812HNUFX.dtsi
b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/P2812HNUFX.dtsi
index 4d61d8e9235b8962f0771a42385471d11c04be39..03858afef41eab4d8bd0fdc35fe88d715988104e 100644
(file)
--- a/
target/linux/lantiq/files-4.14/arch/mips/boot/dts/P2812HNUFX.dtsi
+++ b/
target/linux/lantiq/files-4.14/arch/mips/boot/dts/P2812HNUFX.dtsi
@@
-1,6
+1,7
@@
#include "vr9.dtsi"
#include <dt-bindings/input/input.h>
#include "vr9.dtsi"
#include <dt-bindings/input/input.h>
+#include <dt-bindings/mips/lantiq_rcu_gphy.h>
/ {
compatible = "zyxel,p-2812hnu", "lantiq,xway", "lantiq,vr9";
/ {
compatible = "zyxel,p-2812hnu", "lantiq,xway", "lantiq,vr9";
@@
-23,13
+24,6
@@
reg = <0x0 0x8000000>;
};
reg = <0x0 0x8000000>;
};
- gphy-xrx200 {
- compatible = "lantiq,phy-xrx200";
- firmware1 = "lantiq/xrx200_phy11g_a14.bin"; /*VR9 1.1*/
- firmware2 = "lantiq/xrx200_phy11g_a22.bin"; /*VR9 1.2*/
- phys = [ 00 01 ];
- };
-
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
@@
-102,6
+96,18
@@
gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
};
};
gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
};
};
+
+ usb_vbus: regulator-usb-vbus {
+ compatible = "regulator-fixed";
+
+ regulator-name = "USB_VBUS";
+
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+
+ gpio = <&gpio 33 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+ };
};
ð0 {
};
ð0 {
@@
-174,6
+180,14
@@
};
};
};
};
+&gphy0 {
+ lantiq,gphy-mode = <GPHY_MODE_GE>;
+};
+
+&gphy1 {
+ lantiq,gphy-mode = <GPHY_MODE_GE>;
+};
+
&gpio {
pinctrl-names = "default";
pinctrl-0 = <&state_default>;
&gpio {
pinctrl-names = "default";
pinctrl-0 = <&state_default>;
@@
-264,13
+278,20
@@
lantiq,phy2 = <0x0>;
};
lantiq,phy2 = <0x0>;
};
+&usb_phy0 {
+ status = "okay";
+ phy-supply = <&usb_vbus>;
+};
+
+&usb_phy1 {
+ status = "okay";
+ phy-supply = <&usb_vbus>;
+};
+
&usb0 {
status = "okay";
&usb0 {
status = "okay";
- gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
- lantiq,portmask = <0x3>;
};
&usb1 {
status = "okay";
};
&usb1 {
status = "okay";
- gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
};
};