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 --- .../files-4.14/arch/mips/boot/dts/danube.dtsi | 36 ++++++++++++++++++++-- 1 file changed, 33 insertions(+), 3 deletions(-) (limited to 'target/linux/lantiq/files-4.14/arch/mips/boot/dts/danube.dtsi') diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/danube.dtsi b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/danube.dtsi index 1e1ce61f73..af4c795af2 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/danube.dtsi +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/danube.dtsi @@ -83,8 +83,36 @@ }; rcu0: rcu@203000 { - compatible = "lantiq,rcu-xway"; + compatible = "lantiq,danube-rcu", "simple-mfd", "syscon"; reg = <0x203000 0x1000>; + ranges = <0x0 0x203000 0x100>; + big-endian; + + reset: reset-controller@10 { + compatible = "lantiq,danube-reset"; + reg = <0x10 4>, <0x14 4>; + + #reset-cells = <2>; + }; + + usb_phy: usb2-phy@18 { + compatible = "lantiq,danube-usb2-phy"; + reg = <0x18 4>; + status = "disabled"; + + resets = <&reset 4 4>; + reset-names = "ctrl"; + #phy-cells = <0>; + }; + + reboot@10 { + compatible = "syscon-reboot"; + reg = <0x10 4>; + + regmap = <&rcu0>; + offset = <0x10>; + mask = <0x40000000>; + }; }; }; @@ -152,13 +180,15 @@ interrupts = <112 113 114>; }; - usb: ifxhcd@e101000 { - compatible = "lantiq,danube-usb", "lantiq,ifxhcd-danube"; + usb: usb@e101000 { + compatible = "lantiq,danube-usb"; reg = <0xe101000 0x1000 0xe120000 0x3f000>; interrupt-parent = <&icu0>; interrupts = <62>; dr_mode = "host"; + phys = <&usb_phy>; + phy-names = "usb2-phy"; status = "disabled"; }; -- cgit v1.2.3