From 6eaf8b3d89571992a0aa7142cfab3f1dcef3c802 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Mon, 13 Nov 2017 22:39:01 +0100 Subject: 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 Signed-off-by: Mathias Kresin --- .../lantiq/files-4.14/arch/mips/boot/dts/ar9.dtsi | 54 ++++++++++++++++++++-- 1 file changed, 49 insertions(+), 5 deletions(-) (limited to 'target/linux/lantiq/files-4.14/arch/mips/boot/dts/ar9.dtsi') 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"; }; -- cgit v1.2.3