From ff3cfe084885662843a6cc95a547eb9f8ef48fa5 Mon Sep 17 00:00:00 2001 From: Martin Schiller Date: Wed, 5 Dec 2018 08:51:13 +0100 Subject: ltq-atm/ltq-ptm: re-enable/fix reset_ppe() functionality for VR9 This patch re-enables the reset_ppe() functionality for VR9 targets by using the new lantiq rcu subsystem. The reset sequence in the reset_ppe() function was taken from the ppa datapath driver of lantiq UGW 7.4.1. Additionally it adds the required reset definitions to the vr9 dtsi file. It also prepares the reset_ppe() function calls for the other lantiq targets. This feature is needed to be able to switch between ltq-atm/ltq-ptm driver in ATM/PTM Auto-Mode at runtime. Signed-off-by: Martin Schiller --- target/linux/lantiq/files-4.14/arch/mips/boot/dts/vr9.dtsi | 2 ++ 1 file changed, 2 insertions(+) (limited to 'target/linux') diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/vr9.dtsi b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/vr9.dtsi index 1bc1d608b9..dd810cac9a 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/vr9.dtsi +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/vr9.dtsi @@ -297,6 +297,8 @@ compatible = "lantiq,ppe-xrx200"; interrupt-parent = <&icu0>; interrupts = <96>; + resets = <&reset0 3 3>, <&reset0 11 11>, <&reset0 23 23>; + reset-names = "dsp", "dfe", "tc"; }; pcie0: pcie@d900000 { -- cgit v1.2.3