aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ar9.dtsi
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2017-11-13 22:39:01 +0100
committerMathias Kresin <dev@kresin.me>2018-02-20 19:25:17 +0100
commit6eaf8b3d89571992a0aa7142cfab3f1dcef3c802 (patch)
tree9b6ea80ffdbbfd1bf66af65ebb7ec2e1cce33f36 /target/linux/lantiq/files-4.14/arch/mips/boot/dts/ar9.dtsi
parentf519fea4c6dbffc9824b0084b8d720507793754d (diff)
downloadupstream-6eaf8b3d89571992a0aa7142cfab3f1dcef3c802.tar.gz
upstream-6eaf8b3d89571992a0aa7142cfab3f1dcef3c802.tar.bz2
upstream-6eaf8b3d89571992a0aa7142cfab3f1dcef3c802.zip
lantiq: kernel 4.14: update dts files
Updated the devicetree source files to make use of the following upstreamed drivers: - xrx200 ethernet phy - reset controller unit - dwc2 - fpi Use our custom xrx200 ethernet phy compatible to support boards, which have switched the vr9 revision during lifetime, with a single devicetree source file. By switching to the dwc2 driver + usb phy framework, we don't need to used our custom gpio power patch and can use a fixed regulator instead. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/lantiq/files-4.14/arch/mips/boot/dts/ar9.dtsi')
-rw-r--r--target/linux/lantiq/files-4.14/arch/mips/boot/dts/ar9.dtsi54
1 files changed, 49 insertions, 5 deletions
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ar9.dtsi b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ar9.dtsi
index 0ed1d4cce2..48e0d95d63 100644
--- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ar9.dtsi
+++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ar9.dtsi
@@ -42,8 +42,10 @@
};
watchdog@803f0 {
- compatible = "lantiq,wdt";
+ compatible = "lantiq,xrx100-wdt", "lantiq,xrx100-wdt";
reg = <0x803f0 0x10>;
+
+ regmap = <&rcu0>;
};
};
@@ -75,8 +77,46 @@
};
rcu0: rcu@203000 {
- compatible = "lantiq,rcu-xway";
+ compatible = "lantiq,xrx100-rcu", "simple-mfd", "syscon";
reg = <0x203000 0x1000>;
+ ranges = <0x0 0x203000 0x100>;
+ big-endian;
+
+ reset: reset-controller@10 {
+ compatible = "lantiq,xrx100-reset", "lantiq,danube-reset";
+ reg = <0x10 4>, <0x14 4>;
+
+ #reset-cells = <2>;
+ };
+
+ usb_phy0: usb2-phy@18 {
+ compatible = "lantiq,xrx100-usb2-phy";
+ reg = <0x18 4>;
+ status = "disabled";
+
+ resets = <&reset 4 4>;
+ reset-names = "ctrl";
+ #phy-cells = <0>;
+ };
+
+ usb_phy1: usb2-phy@34 {
+ compatible = "lantiq,xrx100-usb2-phy";
+ reg = <0x34 4>;
+ status = "disabled";
+
+ resets = <&reset 28 28>;
+ reset-names = "ctrl";
+ #phy-cells = <0>;
+ };
+
+ reboot@10 {
+ compatible = "syscon-reboot";
+ reg = <0x10 4>;
+
+ regmap = <&rcu0>;
+ offset = <0x10>;
+ mask = <0x40000000>;
+ };
};
};
@@ -144,23 +184,27 @@
interrupts = <112 113 114>;
};
- usb0: ifxhcd@e101000 {
- compatible = "lantiq,arx100-usb", "lantiq,ifxhcd-arx100";
+ usb0: usb@e101000 {
+ compatible = "lantiq,arx100-usb";
reg = <0xe101000 0x1000
0xe120000 0x3f000>;
interrupt-parent = <&icu0>;
interrupts = <62 91>;
dr_mode = "host";
+ phys = <&usb_phy0>;
+ phy-names = "usb2-phy";
status = "disabled";
};
- usb1: ifxhcd@e106000 {
+ usb1: usb@e106000 {
compatible = "lantiq,arx100-usb";
reg = <0xe106000 0x1000
0xe1e0000 0x3f000>;
interrupt-parent = <&icu0>;
interrupts = <91>;
dr_mode = "host";
+ phys = <&usb_phy1>;
+ phy-names = "usb2-phy";
status = "disabled";
};