b5eecec81559aa3b3e2c03e0ceef7bfa28b83425
[openwrt/openwrt.git] / target / linux / bcm53xx / patches-3.14 / 351-ARM-BCM5301X-Enable-ChipCommon-UART-serial-console.patch
1 From 6c223da976a9225ba9fae8d6f891a8fffaae6092 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
3 Date: Fri, 5 Dec 2014 17:38:40 +0100
4 Subject: [PATCH] ARM: BCM5301X: Enable ChipCommon UART (serial console)
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
10 ---
11 arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts | 10 ++++++++++
12 arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts | 10 ++++++++++
13 arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts | 10 ++++++++++
14 arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts | 10 ++++++++++
15 4 files changed, 40 insertions(+)
16
17 --- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
18 +++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
19 @@ -91,6 +91,16 @@
20 };
21 };
22
23 + chipcommonA {
24 + uart0: serial@0300 {
25 + status = "okay";
26 + };
27 +
28 + uart1: serial@0400 {
29 + status = "okay";
30 + };
31 + };
32 +
33 gpio-keys {
34 compatible = "gpio-keys-polled";
35 #address-cells = <1>;
36 --- a/arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
37 +++ b/arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
38 @@ -24,6 +24,16 @@
39 0x88000000 0x08000000>;
40 };
41
42 + chipcommonA {
43 + uart0: serial@0300 {
44 + status = "okay";
45 + };
46 +
47 + uart1: serial@0400 {
48 + status = "okay";
49 + };
50 + };
51 +
52 leds {
53 compatible = "gpio-leds";
54
55 --- a/arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts
56 +++ b/arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts
57 @@ -24,6 +24,16 @@
58 0x88000000 0x08000000>;
59 };
60
61 + chipcommonA {
62 + uart0: serial@0300 {
63 + status = "okay";
64 + };
65 +
66 + uart1: serial@0400 {
67 + status = "okay";
68 + };
69 + };
70 +
71 leds {
72 compatible = "gpio-leds";
73
74 --- a/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
75 +++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
76 @@ -24,6 +24,16 @@
77 0x88000000 0x08000000>;
78 };
79
80 + chipcommonA {
81 + uart0: serial@0300 {
82 + status = "okay";
83 + };
84 +
85 + uart1: serial@0400 {
86 + status = "okay";
87 + };
88 + };
89 +
90 spi {
91 compatible = "spi-gpio";
92 num-chipselects = <1>;
93 --- a/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts
94 +++ b/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts
95 @@ -23,6 +23,16 @@
96 reg = <0x00000000 0x08000000>;
97 };
98
99 + chipcommonA {
100 + uart0: serial@0300 {
101 + status = "okay";
102 + };
103 +
104 + uart1: serial@0400 {
105 + status = "okay";
106 + };
107 + };
108 +
109 axi@18000000 {
110 nand@28000 {
111 reg = <0x00028000 0x1000>;
112 --- a/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts
113 +++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts
114 @@ -24,6 +24,16 @@
115 0x88000000 0x08000000>;
116 };
117
118 + chipcommonA {
119 + uart0: serial@0300 {
120 + status = "okay";
121 + };
122 +
123 + uart1: serial@0400 {
124 + status = "okay";
125 + };
126 + };
127 +
128 gpio-keys {
129 compatible = "gpio-keys-polled";
130 #address-cells = <1>;