summaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x/patches-3.18/700-add-gmac-dts-suport.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-04-03 19:06:30 +0000
committerJohn Crispin <john@openwrt.org>2015-04-03 19:06:30 +0000
commit5d52f4b51d223f245e27e6386e099ac8b5385b62 (patch)
treee0ec2775726a5912e7e34877cd37e41aa000c18b /target/linux/ipq806x/patches-3.18/700-add-gmac-dts-suport.patch
parent114338003a6619582a594c4156da989e7afe102a (diff)
downloadmaster-31e0f0ae-5d52f4b51d223f245e27e6386e099ac8b5385b62.tar.gz
master-31e0f0ae-5d52f4b51d223f245e27e6386e099ac8b5385b62.tar.bz2
master-31e0f0ae-5d52f4b51d223f245e27e6386e099ac8b5385b62.zip
ipq806x: add platform usb support
This change adds DWC3 QCOM USB phys and TCSR drivers. These are cherry-picked from the following LKML threads: *dwc3 qcom: https://lkml.org/lkml/2014/9/12/599 *tcsr: https://lkml.org/lkml/2015/2/9/579 We're also adding an additional patch to add the corresponding dev nodes in the IPQ806x and AP148 dts files. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45261
Diffstat (limited to 'target/linux/ipq806x/patches-3.18/700-add-gmac-dts-suport.patch')
-rw-r--r--target/linux/ipq806x/patches-3.18/700-add-gmac-dts-suport.patch21
1 files changed, 10 insertions, 11 deletions
diff --git a/target/linux/ipq806x/patches-3.18/700-add-gmac-dts-suport.patch b/target/linux/ipq806x/patches-3.18/700-add-gmac-dts-suport.patch
index 89ebe66946..348f24b921 100644
--- a/target/linux/ipq806x/patches-3.18/700-add-gmac-dts-suport.patch
+++ b/target/linux/ipq806x/patches-3.18/700-add-gmac-dts-suport.patch
@@ -1,7 +1,7 @@
--- a/arch/arm/boot/dts/qcom-ipq8064-ap148.dts
+++ b/arch/arm/boot/dts/qcom-ipq8064-ap148.dts
-@@ -18,8 +18,15 @@
- bootargs = "console=ttyMSM0,115200 root=/dev/mtdblock12 rootfstype=squashfs,jffs2";
+@@ -22,8 +22,15 @@
+ linux,stdout-path = "serial0:115200n8";
};
+ aliases {
@@ -16,7 +16,7 @@
i2c4_pins: i2c4_pinmux {
pins = "gpio12", "gpio13";
function = "gsbi4";
-@@ -34,6 +41,25 @@
+@@ -38,6 +45,25 @@
bias-none;
};
};
@@ -42,16 +42,16 @@
};
gsbi@16300000 {
-@@ -72,6 +98,7 @@
+@@ -76,6 +102,7 @@
#size-cells = <1>;
spi-max-frequency = <50000000>;
reg = <0>;
+ m25p,fast-read;
partition@0 {
- label = "0:SBL1";
-@@ -148,5 +175,66 @@
- sata@29000000 {
+ label = "lowlevel_init";
+@@ -136,5 +163,66 @@
+ usb30@1 {
status = "ok";
};
+
@@ -127,11 +127,10 @@
/ {
model = "Qualcomm IPQ8064";
-@@ -279,5 +280,42 @@
- #clock-cells = <1>;
- #reset-cells = <1>;
+@@ -390,5 +391,41 @@
+ };
};
-+
+
+ nss-gmac-common {
+ reg = <0x03000000 0x0000FFFF 0x1bb00000 0x0000FFFF 0x00900000 0x00004000>;
+ reg-names = "nss_reg_base" , "qsgmii_reg_base", "clk_ctl_base";