aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/patches/0076-reset.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-11-02 10:18:50 +0000
committerJohn Crispin <john@openwrt.org>2015-11-02 10:18:50 +0000
commit25afe99b31f4ef3d835f96545e370770c230ac44 (patch)
tree5dbe83834a0a67121c557b7549a13221317f07eb /target/linux/mediatek/patches/0076-reset.patch
parent12e0d2737f558e886cf698e939f1758ab6a64947 (diff)
downloadupstream-25afe99b31f4ef3d835f96545e370770c230ac44.tar.gz
upstream-25afe99b31f4ef3d835f96545e370770c230ac44.tar.bz2
upstream-25afe99b31f4ef3d835f96545e370770c230ac44.zip
mediatek: add support for the new MT7623 Arm SoC
the support is still WIP. next steps are to make the pmic and ethernet work. this is the first commit to make sure nothing gets lost. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47354
Diffstat (limited to 'target/linux/mediatek/patches/0076-reset.patch')
-rw-r--r--target/linux/mediatek/patches/0076-reset.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/target/linux/mediatek/patches/0076-reset.patch b/target/linux/mediatek/patches/0076-reset.patch
new file mode 100644
index 0000000000..615777920c
--- /dev/null
+++ b/target/linux/mediatek/patches/0076-reset.patch
@@ -0,0 +1,30 @@
+From 1671d902f8dcfce70f920ad3dfebb1031a7a38de Mon Sep 17 00:00:00 2001
+From: John Crispin <blogic@openwrt.org>
+Date: Fri, 3 Jul 2015 05:46:51 +0200
+Subject: [PATCH 76/76] reset
+
+---
+ include/dt-bindings/reset-controller/mt7623-resets.h | 9 +++++++++
+ 1 file changed, 9 insertions(+)
+
+diff --git a/include/dt-bindings/reset-controller/mt7623-resets.h b/include/dt-bindings/reset-controller/mt7623-resets.h
+index 28a7d69..3e0f39a 100644
+--- a/include/dt-bindings/reset-controller/mt7623-resets.h
++++ b/include/dt-bindings/reset-controller/mt7623-resets.h
+@@ -56,4 +56,13 @@
+ #define MT7623_PERI_ETH_SW_RST 29
+ #define MT7623_PERI_SPI0_SW_RST 33
+
++/* high speed interface resets */
++#define MT7623_HIFSYS_UHOST0_SW_RST 3
++#define MT7623_HIFSYS_UHOST1_SW_RST 4
++#define MT7623_HIFSYS_UPHY0_SW_RST 21
++#define MT7623_HIFSYS_UPHY1_SW_RST 22
++#define MT7623_HIFSYS_PCIE0_SW_RST 24
++#define MT7623_HIFSYS_PCIE0_SW_RST 25
++#define MT7623_HIFSYS_PCIE0_SW_RST 26
++
+ #endif /* _DT_BINDINGS_RESET_CONTROLLER_MT7623 */
+--
+1.7.10.4
+