[RFC] MIPS: BCM63XX: add serial blocks to Device Tree includes

Jonas Gorski jonas.gorski at gmail.com
Sun Nov 11 23:50:47 EST 2012


Add the serial block to the Device Tree includes for all SoCs.

Signed-off-by: Jonas Gorski <jonas.gorski at gmail.com>
---
 arch/mips/bcm63xx/dts/bcm6328.dtsi |   14 ++++++++++++++
 arch/mips/bcm63xx/dts/bcm6338.dtsi |    7 +++++++
 arch/mips/bcm63xx/dts/bcm6345.dtsi |    8 ++++++++
 arch/mips/bcm63xx/dts/bcm6348.dtsi |    7 +++++++
 arch/mips/bcm63xx/dts/bcm6358.dtsi |   14 ++++++++++++++
 arch/mips/bcm63xx/dts/bcm6368.dtsi |   14 ++++++++++++++
 6 files changed, 64 insertions(+), 0 deletions(-)

diff --git a/arch/mips/bcm63xx/dts/bcm6328.dtsi b/arch/mips/bcm63xx/dts/bcm6328.dtsi
index e2e92c3..d29d43c 100644
--- a/arch/mips/bcm63xx/dts/bcm6328.dtsi
+++ b/arch/mips/bcm63xx/dts/bcm6328.dtsi
@@ -140,5 +140,19 @@
 			#gpio-cells = <2>;
 			ngpio = <32>;
 		};
+
+		uart0: serial at 100 {
+			compatible = "brcm,bcm63xx-uart";
+			reg = <0x100 0x18>;
+			interrupts = <28>;
+			status = "disabled";
+		};
+
+		uart1: serial at 120 {
+			compatible = "brcm,bcm63xx-uart";
+			reg = <0x120 0x18>;
+			interrupts = <39>;
+			status = "disabled";
+		};
 	};
 };
diff --git a/arch/mips/bcm63xx/dts/bcm6338.dtsi b/arch/mips/bcm63xx/dts/bcm6338.dtsi
index 28e7cb6..c7b45c1 100644
--- a/arch/mips/bcm63xx/dts/bcm6338.dtsi
+++ b/arch/mips/bcm63xx/dts/bcm6338.dtsi
@@ -90,6 +90,13 @@
 			};
 		};
 
+		uart0: serial at 300 {
+			compatible = "brcm,bcm63xx-uart";
+			reg = <0x300 0x18>;
+			interrupts = <2>;
+			status = "disabled";
+		};
+
 		gpio0: gpio at 400 {
 			compatible = "brcm,bcm63xx-gpio";
 			reg = <0x400 0x80>;
diff --git a/arch/mips/bcm63xx/dts/bcm6345.dtsi b/arch/mips/bcm63xx/dts/bcm6345.dtsi
index 1ebc024..055f66c 100644
--- a/arch/mips/bcm63xx/dts/bcm6345.dtsi
+++ b/arch/mips/bcm63xx/dts/bcm6345.dtsi
@@ -75,6 +75,14 @@
 				};
 			};
 		};
+
+		uart0: serial at 300 {
+			compatible = "brcm,bcm63xx-uart";
+			reg = <0x300 0x18>;
+			interrupts = <2>;
+			status = "disabled";
+		};
+
 		gpio0: gpio at 400 {
 			compatible = "brcm,bcm63xx-gpio";
 			reg = <0x400 0x80>;
diff --git a/arch/mips/bcm63xx/dts/bcm6348.dtsi b/arch/mips/bcm63xx/dts/bcm6348.dtsi
index 89acec7..5d1d10a 100644
--- a/arch/mips/bcm63xx/dts/bcm6348.dtsi
+++ b/arch/mips/bcm63xx/dts/bcm6348.dtsi
@@ -97,6 +97,13 @@
 			};
 		};
 
+		uart0: serial at 300 {
+			compatible = "brcm,bcm63xx-uart";
+			reg = <0x300 0x18>;
+			interrupts = <2>;
+			status = "disabled";
+		};
+
 		gpio0: gpio at 400 {
 			compatible = "brcm,bcm63xx-gpio";
 			regs = <0x400 0x80>;
diff --git a/arch/mips/bcm63xx/dts/bcm6358.dtsi b/arch/mips/bcm63xx/dts/bcm6358.dtsi
index 52170d6..702882d 100644
--- a/arch/mips/bcm63xx/dts/bcm6358.dtsi
+++ b/arch/mips/bcm63xx/dts/bcm6358.dtsi
@@ -138,5 +138,19 @@
 			#gpio-cells = <2>;
 			ngpio = <40>;
 		};
+
+		uart0: serial at 100 {
+			compatible = "brcm,bcm63xx-uart";
+			reg = <0x100 0x18>;
+			interrupts = <2>;
+			status = "disabled";
+		};
+
+		uart1: serial at 120 {
+			compatible = "brcm,bcm63xx-uart";
+			reg = <0x120 0x18>;
+			interrupts = <3>;
+			status = "disabled";
+		};
 	};
 };
diff --git a/arch/mips/bcm63xx/dts/bcm6368.dtsi b/arch/mips/bcm63xx/dts/bcm6368.dtsi
index 068231b..82cd030 100644
--- a/arch/mips/bcm63xx/dts/bcm6368.dtsi
+++ b/arch/mips/bcm63xx/dts/bcm6368.dtsi
@@ -178,5 +178,19 @@
 			#gpio-cells = <2>;
 			ngpio = <38>;
 		};
+
+		uart0: serial at 100 {
+			compatible = "brcm,bcm63xx-uart";
+			reg = <0x100 0x18>;
+			interrupts = <2>;
+			status = "disabled";
+		};
+
+		uart1: serial at 120 {
+			compatible = "brcm,bcm63xx-uart";
+			reg = <0x120 0x18>;
+			interrupts = <3>;
+			status = "disabled";
+		};
 	};
 };
-- 
1.7.2.5



More information about the devicetree-discuss mailing list