2014-12-05 16:46:55 +00:00
|
|
|
From 6c223da976a9225ba9fae8d6f891a8fffaae6092 Mon Sep 17 00:00:00 2001
|
|
|
|
From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
|
|
|
|
Date: Fri, 5 Dec 2014 17:38:40 +0100
|
|
|
|
Subject: [PATCH] ARM: BCM5301X: Enable ChipCommon UART (serial console)
|
|
|
|
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-buffalo-wzr-1750dhp.dts | 10 ++++++++++
|
|
|
|
arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts | 10 ++++++++++
|
|
|
|
arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts | 10 ++++++++++
|
|
|
|
arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts | 10 ++++++++++
|
|
|
|
4 files changed, 40 insertions(+)
|
|
|
|
|
|
|
|
--- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
|
|
|
|
+++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
|
2015-01-20 07:21:30 +00:00
|
|
|
@@ -24,6 +24,16 @@
|
|
|
|
0x88000000 0x18000000>;
|
2014-12-05 16:46:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
+ chipcommonA {
|
|
|
|
+ uart0: serial@0300 {
|
|
|
|
+ status = "okay";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ uart1: serial@0400 {
|
|
|
|
+ status = "okay";
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
+
|
2015-01-20 07:21:30 +00:00
|
|
|
spi {
|
|
|
|
compatible = "spi-gpio";
|
|
|
|
num-chipselects = <1>;
|
2014-12-05 16:46:55 +00:00
|
|
|
--- a/arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
|
|
|
|
+++ b/arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
|
2015-01-20 06:58:03 +00:00
|
|
|
@@ -24,6 +24,16 @@
|
|
|
|
0x88000000 0x08000000>;
|
2014-12-05 16:46:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
+ chipcommonA {
|
|
|
|
+ uart0: serial@0300 {
|
|
|
|
+ status = "okay";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ uart1: serial@0400 {
|
|
|
|
+ status = "okay";
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
|
|
|
--- a/arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts
|
|
|
|
+++ b/arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts
|
2015-01-20 06:58:03 +00:00
|
|
|
@@ -24,6 +24,16 @@
|
|
|
|
0x88000000 0x08000000>;
|
2014-12-05 16:46:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
+ chipcommonA {
|
|
|
|
+ uart0: serial@0300 {
|
|
|
|
+ status = "okay";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ uart1: serial@0400 {
|
|
|
|
+ status = "okay";
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
|
|
|
--- a/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
|
|
|
|
+++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
|
2015-01-20 07:21:30 +00:00
|
|
|
@@ -24,6 +24,16 @@
|
|
|
|
0x88000000 0x08000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
+ chipcommonA {
|
|
|
|
+ uart0: serial@0300 {
|
|
|
|
+ status = "okay";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ uart1: serial@0400 {
|
|
|
|
+ status = "okay";
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
spi {
|
|
|
|
compatible = "spi-gpio";
|
|
|
|
num-chipselects = <1>;
|
|
|
|
--- a/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts
|
|
|
|
+++ b/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts
|
2015-04-10 09:42:48 +00:00
|
|
|
@@ -23,6 +23,16 @@
|
|
|
|
reg = <0x00000000 0x08000000>;
|
2014-12-05 16:46:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
+ chipcommonA {
|
|
|
|
+ uart0: serial@0300 {
|
|
|
|
+ status = "okay";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ uart1: serial@0400 {
|
|
|
|
+ status = "okay";
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
+
|
2015-01-20 07:21:30 +00:00
|
|
|
axi@18000000 {
|
|
|
|
nand@28000 {
|
|
|
|
reg = <0x00028000 0x1000>;
|
2015-01-21 07:23:31 +00:00
|
|
|
--- a/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts
|
|
|
|
+++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts
|
|
|
|
@@ -24,6 +24,16 @@
|
|
|
|
0x88000000 0x08000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
+ chipcommonA {
|
|
|
|
+ uart0: serial@0300 {
|
|
|
|
+ status = "okay";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ uart1: serial@0400 {
|
|
|
|
+ status = "okay";
|
|
|
|
+ };
|
|
|
|
+ };
|
2015-05-16 11:45:52 +00:00
|
|
|
+
|
|
|
|
gpio-keys {
|
|
|
|
compatible = "gpio-keys";
|
|
|
|
#address-cells = <1>;
|
|
|
|
--- a/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts
|
|
|
|
+++ b/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts
|
2015-05-16 15:44:00 +00:00
|
|
|
@@ -46,6 +46,18 @@
|
|
|
|
};
|
2015-05-16 11:45:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
+ chipcommonA {
|
|
|
|
+ uart0: serial@0300 {
|
|
|
|
+ status = "okay";
|
|
|
|
+ clock-frequency = <125000000>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ uart1: serial@0400 {
|
|
|
|
+ status = "okay";
|
|
|
|
+ clock-frequency = <125000000>;
|
|
|
|
+ };
|
|
|
|
+ };
|
2015-01-21 07:23:31 +00:00
|
|
|
+
|
|
|
|
gpio-keys {
|
2015-03-03 23:15:55 +00:00
|
|
|
compatible = "gpio-keys";
|
2015-01-21 07:23:31 +00:00
|
|
|
#address-cells = <1>;
|
2015-01-28 21:55:43 +00:00
|
|
|
--- a/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
|
|
|
|
+++ b/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
|
2015-03-22 01:57:06 +00:00
|
|
|
@@ -24,6 +24,18 @@
|
2015-01-28 21:55:43 +00:00
|
|
|
0x88000000 0x08000000>;
|
|
|
|
};
|
2015-03-22 01:57:06 +00:00
|
|
|
|
2015-01-28 21:55:43 +00:00
|
|
|
+ chipcommonA {
|
|
|
|
+ uart0: serial@0300 {
|
|
|
|
+ status = "okay";
|
2015-01-30 06:30:44 +00:00
|
|
|
+ clock-frequency = <125000000>;
|
2015-01-28 21:55:43 +00:00
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ uart1: serial@0400 {
|
|
|
|
+ status = "okay";
|
2015-01-30 06:30:44 +00:00
|
|
|
+ clock-frequency = <125000000>;
|
2015-01-28 21:55:43 +00:00
|
|
|
+ };
|
|
|
|
+ };
|
2015-03-22 01:57:06 +00:00
|
|
|
+
|
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
2015-04-08 09:22:02 +00:00
|
|
|
--- a/arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts
|
|
|
|
+++ b/arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts
|
|
|
|
@@ -24,6 +24,16 @@
|
|
|
|
0x88000000 0x08000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
+ chipcommonA {
|
|
|
|
+ uart0: serial@0300 {
|
|
|
|
+ status = "okay";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ uart1: serial@0400 {
|
|
|
|
+ status = "okay";
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
|
|
|
--- a/arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts
|
|
|
|
+++ b/arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts
|
|
|
|
@@ -24,6 +24,16 @@
|
|
|
|
0x88000000 0x08000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
+ chipcommonA {
|
|
|
|
+ uart0: serial@0300 {
|
|
|
|
+ status = "okay";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ uart1: serial@0400 {
|
|
|
|
+ status = "okay";
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
2015-05-13 20:01:03 +00:00
|
|
|
--- a/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
|
|
|
|
+++ b/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
|
|
|
|
@@ -24,6 +24,18 @@
|
|
|
|
0x88000000 0x18000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
+ chipcommonA {
|
|
|
|
+ uart0: serial@0300 {
|
|
|
|
+ status = "okay";
|
|
|
|
+ clock-frequency = <125000000>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ uart1: serial@0400 {
|
|
|
|
+ status = "okay";
|
|
|
|
+ clock-frequency = <125000000>;
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
clocks {
|
|
|
|
clk_periph: periph {
|
|
|
|
clock-frequency = <500000000>;
|
2015-05-13 20:01:15 +00:00
|
|
|
--- a/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
|
|
|
|
+++ b/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
|
|
|
|
@@ -24,6 +24,16 @@
|
|
|
|
0x88000000 0x08000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
+ chipcommonA {
|
|
|
|
+ uart0: serial@0300 {
|
|
|
|
+ status = "okay";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ uart1: serial@0400 {
|
|
|
|
+ status = "okay";
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
|