aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/files-4.14/arch/mips
diff options
context:
space:
mode:
authorMartin Schiller <ms@dev.tdt.de>2018-12-05 08:51:13 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2019-03-10 16:49:31 +0100
commitff3cfe084885662843a6cc95a547eb9f8ef48fa5 (patch)
treeba59b42001269fb03490e5d5b03cbd706b66bbdd /target/linux/lantiq/files-4.14/arch/mips
parenteae6cac6a30b95bef04d033ed8a303b7e35a078b (diff)
downloadupstream-ff3cfe084885662843a6cc95a547eb9f8ef48fa5.tar.gz
upstream-ff3cfe084885662843a6cc95a547eb9f8ef48fa5.tar.bz2
upstream-ff3cfe084885662843a6cc95a547eb9f8ef48fa5.zip
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 <ms@dev.tdt.de>
Diffstat (limited to 'target/linux/lantiq/files-4.14/arch/mips')
-rw-r--r--target/linux/lantiq/files-4.14/arch/mips/boot/dts/vr9.dtsi2
1 files changed, 2 insertions, 0 deletions
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 {