summaryrefslogtreecommitdiff
path: root/target/linux/bcm53xx/patches-4.4/351-ARM-BCM5301X-Enable-ChipCommon-UART-on-untested-devi.patch
blob: 19b24849cc181aed3ff66823c4c102950bfc08e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
From b49d7bb4825654f81bcee8e219028712811515a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
Date: Mon, 29 Jun 2015 08:11:36 +0200
Subject: [PATCH] ARM: BCM5301X: Enable ChipCommon UART on untested devices
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
---
 arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts       | 4 ++++
 arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts       | 4 ++++
 arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts    | 4 ++++
 arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts       | 4 ++++
 arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts | 4 ++++
 arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts       | 5 +++++
 arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts | 5 +++++
 arch/arm/boot/dts/bcm4709-netgear-r8000.dts       | 5 +++++
 8 files changed, 35 insertions(+)

--- a/arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts
+++ b/arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts
@@ -96,3 +96,7 @@
 		};
 	};
 };
+
+&uart0 {
+	status = "okay";
+};
--- a/arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts
+++ b/arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts
@@ -83,3 +83,7 @@
 		};
 	};
 };
+
+&uart0 {
+	status = "okay";
+};
--- a/arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
+++ b/arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
@@ -87,3 +87,7 @@
 &spi_nor {
 	status = "okay";
 };
+
+&uart0 {
+	status = "okay";
+};
--- a/arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts
+++ b/arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts
@@ -77,3 +77,7 @@
 		};
 	};
 };
+
+&uart0 {
+	status = "okay";
+};
--- a/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts
+++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts
@@ -37,3 +37,7 @@
 		};
 	};
 };
+
+&uart0 {
+	status = "okay";
+};
--- a/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts
+++ b/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts
@@ -65,3 +65,8 @@
 		};
 	};
 };
+
+&uart0 {
+	status = "okay";
+	clock-frequency = <125000000>;
+};
--- a/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
+++ b/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
@@ -128,6 +128,10 @@
 	};
 };
 
+&uart0 {
+	status = "okay";
+	clock-frequency = <125000000>;
+};
 
 &usb2 {
 	vcc-gpio = <&chipcommon 13 GPIO_ACTIVE_HIGH>;
--- a/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
+++ b/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
@@ -108,6 +108,11 @@
 	};
 };
 
+&uart0 {
+	status = "okay";
+	clock-frequency = <125000000>;
+};
+
 &usb2 {
 	vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
 };
--- a/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
+++ b/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
@@ -104,4 +104,5 @@
 
 &uart0 {
 	status = "okay";
+	clock-frequency = <125000000>;
 };