All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 1/2] dt-bindings: Add new SoCs to bcm4708 DT bindings
@ 2015-10-15 22:24 ` Jon Mason
  0 siblings, 0 replies; 27+ messages in thread
From: Jon Mason @ 2015-10-15 22:24 UTC (permalink / raw)
  To: Florian Fainelli, Hauke Mehrtens, Rob Herring, Pawel Moll,
	Mark Rutland, Ian Campbell, Kumar Gala, Russell King
  Cc: devicetree, linux-arm-kernel, linux-kernel, bcm-kernel-feedback-list

Add the 4708, 4709, and 53012 SoCs to the the documentation for the
Broadcom Northstar device tree bindings.

Signed-off-by: Jon Mason <jonmason@broadcom.com>
---
 Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt
index 6b0f49f..8608a77 100644
--- a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt
+++ b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt
@@ -5,4 +5,11 @@ Boards with the BCM4708 SoC shall have the following properties:
 
 Required root node property:
 
+bcm4708
 compatible = "brcm,bcm4708";
+
+bcm4709
+compatible = "brcm,bcm4709";
+
+bcm53012
+compatible = "brcm,bcm53012";
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [PATCH v3 1/2] dt-bindings: Add new SoCs to bcm4708 DT bindings
@ 2015-10-15 22:24 ` Jon Mason
  0 siblings, 0 replies; 27+ messages in thread
From: Jon Mason @ 2015-10-15 22:24 UTC (permalink / raw)
  To: Florian Fainelli, Hauke Mehrtens, Rob Herring, Pawel Moll,
	Mark Rutland, Ian Campbell, Kumar Gala, Russell King
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	bcm-kernel-feedback-list-dY08KVG/lbpWk0Htik3J/w

Add the 4708, 4709, and 53012 SoCs to the the documentation for the
Broadcom Northstar device tree bindings.

Signed-off-by: Jon Mason <jonmason-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
---
 Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt
index 6b0f49f..8608a77 100644
--- a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt
+++ b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt
@@ -5,4 +5,11 @@ Boards with the BCM4708 SoC shall have the following properties:
 
 Required root node property:
 
+bcm4708
 compatible = "brcm,bcm4708";
+
+bcm4709
+compatible = "brcm,bcm4709";
+
+bcm53012
+compatible = "brcm,bcm53012";
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [PATCH v3 1/2] dt-bindings: Add new SoCs to bcm4708 DT bindings
@ 2015-10-15 22:24 ` Jon Mason
  0 siblings, 0 replies; 27+ messages in thread
From: Jon Mason @ 2015-10-15 22:24 UTC (permalink / raw)
  To: linux-arm-kernel

Add the 4708, 4709, and 53012 SoCs to the the documentation for the
Broadcom Northstar device tree bindings.

Signed-off-by: Jon Mason <jonmason@broadcom.com>
---
 Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt
index 6b0f49f..8608a77 100644
--- a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt
+++ b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt
@@ -5,4 +5,11 @@ Boards with the BCM4708 SoC shall have the following properties:
 
 Required root node property:
 
+bcm4708
 compatible = "brcm,bcm4708";
+
+bcm4709
+compatible = "brcm,bcm4709";
+
+bcm53012
+compatible = "brcm,bcm53012";
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [PATCH v3 2/2] ARM: dts: bcm5301x: Add BCM SVK DT files
  2015-10-15 22:24 ` Jon Mason
  (?)
@ 2015-10-15 22:24   ` Jon Mason
  -1 siblings, 0 replies; 27+ messages in thread
From: Jon Mason @ 2015-10-15 22:24 UTC (permalink / raw)
  To: Florian Fainelli, Hauke Mehrtens, Rob Herring, Pawel Moll,
	Mark Rutland, Ian Campbell, Kumar Gala, Russell King
  Cc: devicetree, linux-arm-kernel, linux-kernel, bcm-kernel-feedback-list

Add device tree files for Broadcom Northstar based SVKs.  Since the
bcm5301x.dtsi already exists, all that is necessary is the dts files to
enable the UARTs.  With these files, the SVKs are able to boot to shell.

Signed-off-by: Jon Mason <jonmason@broadcom.com>
---
 arch/arm/boot/dts/Makefile       |  5 +++-
 arch/arm/boot/dts/bcm94708.dts   | 56 +++++++++++++++++++++++++++++++++++
 arch/arm/boot/dts/bcm94709.dts   | 56 +++++++++++++++++++++++++++++++++++
 arch/arm/boot/dts/bcm953012k.dts | 63 ++++++++++++++++++++++++++++++++++++++++
 4 files changed, 179 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/boot/dts/bcm94708.dts
 create mode 100644 arch/arm/boot/dts/bcm94709.dts
 create mode 100644 arch/arm/boot/dts/bcm953012k.dts

diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 233159d..96a1b58 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -72,7 +72,10 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
 	bcm47081-buffalo-wzr-900dhp.dtb \
 	bcm4709-asus-rt-ac87u.dtb \
 	bcm4709-buffalo-wxr-1900dhp.dtb \
-	bcm4709-netgear-r8000.dtb
+	bcm4709-netgear-r8000.dtb \
+	bcm94708.dtb \
+	bcm94709.dtb \
+	bcm953012k.dtb
 dtb-$(CONFIG_ARCH_BCM_63XX) += \
 	bcm963138dvt.dtb
 dtb-$(CONFIG_ARCH_BCM_CYGNUS) += \
diff --git a/arch/arm/boot/dts/bcm94708.dts b/arch/arm/boot/dts/bcm94708.dts
new file mode 100644
index 0000000..49682d6
--- /dev/null
+++ b/arch/arm/boot/dts/bcm94708.dts
@@ -0,0 +1,56 @@
+/*
+ *  BSD LICENSE
+ *
+ *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions
+ *  are met:
+ *
+ *    * Redistributions of source code must retain the above copyright
+ *      notice, this list of conditions and the following disclaimer.
+ *    * Redistributions in binary form must reproduce the above copyright
+ *      notice, this list of conditions and the following disclaimer in
+ *      the documentation and/or other materials provided with the
+ *      distribution.
+ *    * Neither the name of Broadcom Corporation nor the names of its
+ *      contributors may be used to endorse or promote products derived
+ *      from this software without specific prior written permission.
+ *
+ *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/dts-v1/;
+
+#include "bcm4708.dtsi"
+
+/ {
+	model = "NorthStar SVK (BCM94708)";
+	compatible = "brcm,bcm94708", "brcm,bcm4708";
+
+	aliases {
+		serial0 = &uart0;
+	};
+
+	chosen {
+		bootargs = "console=ttyS0,115200";
+	};
+
+	memory {
+		reg = <0x00000000 0x08000000>;
+	};
+};
+
+&uart0 {
+	status = "okay";
+};
diff --git a/arch/arm/boot/dts/bcm94709.dts b/arch/arm/boot/dts/bcm94709.dts
new file mode 100644
index 0000000..4ab19c0
--- /dev/null
+++ b/arch/arm/boot/dts/bcm94709.dts
@@ -0,0 +1,56 @@
+/*
+ *  BSD LICENSE
+ *
+ *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions
+ *  are met:
+ *
+ *    * Redistributions of source code must retain the above copyright
+ *      notice, this list of conditions and the following disclaimer.
+ *    * Redistributions in binary form must reproduce the above copyright
+ *      notice, this list of conditions and the following disclaimer in
+ *      the documentation and/or other materials provided with the
+ *      distribution.
+ *    * Neither the name of Broadcom Corporation nor the names of its
+ *      contributors may be used to endorse or promote products derived
+ *      from this software without specific prior written permission.
+ *
+ *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/dts-v1/;
+
+#include "bcm4708.dtsi"
+
+/ {
+	model = "NorthStar SVK (BCM94709)";
+	compatible = "brcm,bcm94709", "brcm,bcm4709", "brcm,bcm4708";
+
+	aliases {
+		serial0 = &uart0;
+	};
+
+	chosen {
+		bootargs = "console=ttyS0,115200";
+	};
+
+	memory {
+		reg = <0x00000000 0x08000000>;
+	};
+};
+
+&uart0 {
+	status = "okay";
+};
diff --git a/arch/arm/boot/dts/bcm953012k.dts b/arch/arm/boot/dts/bcm953012k.dts
new file mode 100644
index 0000000..a512c45
--- /dev/null
+++ b/arch/arm/boot/dts/bcm953012k.dts
@@ -0,0 +1,63 @@
+/*
+ *  BSD LICENSE
+ *
+ *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions
+ *  are met:
+ *
+ *    * Redistributions of source code must retain the above copyright
+ *      notice, this list of conditions and the following disclaimer.
+ *    * Redistributions in binary form must reproduce the above copyright
+ *      notice, this list of conditions and the following disclaimer in
+ *      the documentation and/or other materials provided with the
+ *      distribution.
+ *    * Neither the name of Broadcom Corporation nor the names of its
+ *      contributors may be used to endorse or promote products derived
+ *      from this software without specific prior written permission.
+ *
+ *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/dts-v1/;
+
+#include "bcm4708.dtsi"
+
+/ {
+	model = "NorthStar SVK (BCM953012K)";
+	compatible = "brcm,bcm953012k", "brcm,brcm53012", "brcm,bcm4708";
+
+	aliases {
+		serial0 = &uart0;
+		serial1 = &uart1;
+	};
+
+	chosen {
+		bootargs = "console=ttyS0,115200";
+	};
+
+	memory {
+		reg = <0x00000000 0x10000000>;
+	};
+};
+
+&uart0 {
+	clock-frequency = <62499840>;
+	status = "okay";
+};
+
+&uart1 {
+	clock-frequency = <62499840>;
+	status = "okay";
+};
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [PATCH v3 2/2] ARM: dts: bcm5301x: Add BCM SVK DT files
@ 2015-10-15 22:24   ` Jon Mason
  0 siblings, 0 replies; 27+ messages in thread
From: Jon Mason @ 2015-10-15 22:24 UTC (permalink / raw)
  To: Florian Fainelli, Hauke Mehrtens, Rob Herring, Pawel Moll,
	Mark Rutland, Ian Campbell, Kumar Gala, Russell King
  Cc: devicetree, linux-arm-kernel, linux-kernel, bcm-kernel-feedback-list

Add device tree files for Broadcom Northstar based SVKs.  Since the
bcm5301x.dtsi already exists, all that is necessary is the dts files to
enable the UARTs.  With these files, the SVKs are able to boot to shell.

Signed-off-by: Jon Mason <jonmason@broadcom.com>
---
 arch/arm/boot/dts/Makefile       |  5 +++-
 arch/arm/boot/dts/bcm94708.dts   | 56 +++++++++++++++++++++++++++++++++++
 arch/arm/boot/dts/bcm94709.dts   | 56 +++++++++++++++++++++++++++++++++++
 arch/arm/boot/dts/bcm953012k.dts | 63 ++++++++++++++++++++++++++++++++++++++++
 4 files changed, 179 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/boot/dts/bcm94708.dts
 create mode 100644 arch/arm/boot/dts/bcm94709.dts
 create mode 100644 arch/arm/boot/dts/bcm953012k.dts

diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 233159d..96a1b58 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -72,7 +72,10 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
 	bcm47081-buffalo-wzr-900dhp.dtb \
 	bcm4709-asus-rt-ac87u.dtb \
 	bcm4709-buffalo-wxr-1900dhp.dtb \
-	bcm4709-netgear-r8000.dtb
+	bcm4709-netgear-r8000.dtb \
+	bcm94708.dtb \
+	bcm94709.dtb \
+	bcm953012k.dtb
 dtb-$(CONFIG_ARCH_BCM_63XX) += \
 	bcm963138dvt.dtb
 dtb-$(CONFIG_ARCH_BCM_CYGNUS) += \
diff --git a/arch/arm/boot/dts/bcm94708.dts b/arch/arm/boot/dts/bcm94708.dts
new file mode 100644
index 0000000..49682d6
--- /dev/null
+++ b/arch/arm/boot/dts/bcm94708.dts
@@ -0,0 +1,56 @@
+/*
+ *  BSD LICENSE
+ *
+ *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions
+ *  are met:
+ *
+ *    * Redistributions of source code must retain the above copyright
+ *      notice, this list of conditions and the following disclaimer.
+ *    * Redistributions in binary form must reproduce the above copyright
+ *      notice, this list of conditions and the following disclaimer in
+ *      the documentation and/or other materials provided with the
+ *      distribution.
+ *    * Neither the name of Broadcom Corporation nor the names of its
+ *      contributors may be used to endorse or promote products derived
+ *      from this software without specific prior written permission.
+ *
+ *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/dts-v1/;
+
+#include "bcm4708.dtsi"
+
+/ {
+	model = "NorthStar SVK (BCM94708)";
+	compatible = "brcm,bcm94708", "brcm,bcm4708";
+
+	aliases {
+		serial0 = &uart0;
+	};
+
+	chosen {
+		bootargs = "console=ttyS0,115200";
+	};
+
+	memory {
+		reg = <0x00000000 0x08000000>;
+	};
+};
+
+&uart0 {
+	status = "okay";
+};
diff --git a/arch/arm/boot/dts/bcm94709.dts b/arch/arm/boot/dts/bcm94709.dts
new file mode 100644
index 0000000..4ab19c0
--- /dev/null
+++ b/arch/arm/boot/dts/bcm94709.dts
@@ -0,0 +1,56 @@
+/*
+ *  BSD LICENSE
+ *
+ *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions
+ *  are met:
+ *
+ *    * Redistributions of source code must retain the above copyright
+ *      notice, this list of conditions and the following disclaimer.
+ *    * Redistributions in binary form must reproduce the above copyright
+ *      notice, this list of conditions and the following disclaimer in
+ *      the documentation and/or other materials provided with the
+ *      distribution.
+ *    * Neither the name of Broadcom Corporation nor the names of its
+ *      contributors may be used to endorse or promote products derived
+ *      from this software without specific prior written permission.
+ *
+ *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/dts-v1/;
+
+#include "bcm4708.dtsi"
+
+/ {
+	model = "NorthStar SVK (BCM94709)";
+	compatible = "brcm,bcm94709", "brcm,bcm4709", "brcm,bcm4708";
+
+	aliases {
+		serial0 = &uart0;
+	};
+
+	chosen {
+		bootargs = "console=ttyS0,115200";
+	};
+
+	memory {
+		reg = <0x00000000 0x08000000>;
+	};
+};
+
+&uart0 {
+	status = "okay";
+};
diff --git a/arch/arm/boot/dts/bcm953012k.dts b/arch/arm/boot/dts/bcm953012k.dts
new file mode 100644
index 0000000..a512c45
--- /dev/null
+++ b/arch/arm/boot/dts/bcm953012k.dts
@@ -0,0 +1,63 @@
+/*
+ *  BSD LICENSE
+ *
+ *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions
+ *  are met:
+ *
+ *    * Redistributions of source code must retain the above copyright
+ *      notice, this list of conditions and the following disclaimer.
+ *    * Redistributions in binary form must reproduce the above copyright
+ *      notice, this list of conditions and the following disclaimer in
+ *      the documentation and/or other materials provided with the
+ *      distribution.
+ *    * Neither the name of Broadcom Corporation nor the names of its
+ *      contributors may be used to endorse or promote products derived
+ *      from this software without specific prior written permission.
+ *
+ *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/dts-v1/;
+
+#include "bcm4708.dtsi"
+
+/ {
+	model = "NorthStar SVK (BCM953012K)";
+	compatible = "brcm,bcm953012k", "brcm,brcm53012", "brcm,bcm4708";
+
+	aliases {
+		serial0 = &uart0;
+		serial1 = &uart1;
+	};
+
+	chosen {
+		bootargs = "console=ttyS0,115200";
+	};
+
+	memory {
+		reg = <0x00000000 0x10000000>;
+	};
+};
+
+&uart0 {
+	clock-frequency = <62499840>;
+	status = "okay";
+};
+
+&uart1 {
+	clock-frequency = <62499840>;
+	status = "okay";
+};
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [PATCH v3 2/2] ARM: dts: bcm5301x: Add BCM SVK DT files
@ 2015-10-15 22:24   ` Jon Mason
  0 siblings, 0 replies; 27+ messages in thread
From: Jon Mason @ 2015-10-15 22:24 UTC (permalink / raw)
  To: linux-arm-kernel

Add device tree files for Broadcom Northstar based SVKs.  Since the
bcm5301x.dtsi already exists, all that is necessary is the dts files to
enable the UARTs.  With these files, the SVKs are able to boot to shell.

Signed-off-by: Jon Mason <jonmason@broadcom.com>
---
 arch/arm/boot/dts/Makefile       |  5 +++-
 arch/arm/boot/dts/bcm94708.dts   | 56 +++++++++++++++++++++++++++++++++++
 arch/arm/boot/dts/bcm94709.dts   | 56 +++++++++++++++++++++++++++++++++++
 arch/arm/boot/dts/bcm953012k.dts | 63 ++++++++++++++++++++++++++++++++++++++++
 4 files changed, 179 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/boot/dts/bcm94708.dts
 create mode 100644 arch/arm/boot/dts/bcm94709.dts
 create mode 100644 arch/arm/boot/dts/bcm953012k.dts

diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 233159d..96a1b58 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -72,7 +72,10 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
 	bcm47081-buffalo-wzr-900dhp.dtb \
 	bcm4709-asus-rt-ac87u.dtb \
 	bcm4709-buffalo-wxr-1900dhp.dtb \
-	bcm4709-netgear-r8000.dtb
+	bcm4709-netgear-r8000.dtb \
+	bcm94708.dtb \
+	bcm94709.dtb \
+	bcm953012k.dtb
 dtb-$(CONFIG_ARCH_BCM_63XX) += \
 	bcm963138dvt.dtb
 dtb-$(CONFIG_ARCH_BCM_CYGNUS) += \
diff --git a/arch/arm/boot/dts/bcm94708.dts b/arch/arm/boot/dts/bcm94708.dts
new file mode 100644
index 0000000..49682d6
--- /dev/null
+++ b/arch/arm/boot/dts/bcm94708.dts
@@ -0,0 +1,56 @@
+/*
+ *  BSD LICENSE
+ *
+ *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions
+ *  are met:
+ *
+ *    * Redistributions of source code must retain the above copyright
+ *      notice, this list of conditions and the following disclaimer.
+ *    * Redistributions in binary form must reproduce the above copyright
+ *      notice, this list of conditions and the following disclaimer in
+ *      the documentation and/or other materials provided with the
+ *      distribution.
+ *    * Neither the name of Broadcom Corporation nor the names of its
+ *      contributors may be used to endorse or promote products derived
+ *      from this software without specific prior written permission.
+ *
+ *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/dts-v1/;
+
+#include "bcm4708.dtsi"
+
+/ {
+	model = "NorthStar SVK (BCM94708)";
+	compatible = "brcm,bcm94708", "brcm,bcm4708";
+
+	aliases {
+		serial0 = &uart0;
+	};
+
+	chosen {
+		bootargs = "console=ttyS0,115200";
+	};
+
+	memory {
+		reg = <0x00000000 0x08000000>;
+	};
+};
+
+&uart0 {
+	status = "okay";
+};
diff --git a/arch/arm/boot/dts/bcm94709.dts b/arch/arm/boot/dts/bcm94709.dts
new file mode 100644
index 0000000..4ab19c0
--- /dev/null
+++ b/arch/arm/boot/dts/bcm94709.dts
@@ -0,0 +1,56 @@
+/*
+ *  BSD LICENSE
+ *
+ *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions
+ *  are met:
+ *
+ *    * Redistributions of source code must retain the above copyright
+ *      notice, this list of conditions and the following disclaimer.
+ *    * Redistributions in binary form must reproduce the above copyright
+ *      notice, this list of conditions and the following disclaimer in
+ *      the documentation and/or other materials provided with the
+ *      distribution.
+ *    * Neither the name of Broadcom Corporation nor the names of its
+ *      contributors may be used to endorse or promote products derived
+ *      from this software without specific prior written permission.
+ *
+ *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/dts-v1/;
+
+#include "bcm4708.dtsi"
+
+/ {
+	model = "NorthStar SVK (BCM94709)";
+	compatible = "brcm,bcm94709", "brcm,bcm4709", "brcm,bcm4708";
+
+	aliases {
+		serial0 = &uart0;
+	};
+
+	chosen {
+		bootargs = "console=ttyS0,115200";
+	};
+
+	memory {
+		reg = <0x00000000 0x08000000>;
+	};
+};
+
+&uart0 {
+	status = "okay";
+};
diff --git a/arch/arm/boot/dts/bcm953012k.dts b/arch/arm/boot/dts/bcm953012k.dts
new file mode 100644
index 0000000..a512c45
--- /dev/null
+++ b/arch/arm/boot/dts/bcm953012k.dts
@@ -0,0 +1,63 @@
+/*
+ *  BSD LICENSE
+ *
+ *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions
+ *  are met:
+ *
+ *    * Redistributions of source code must retain the above copyright
+ *      notice, this list of conditions and the following disclaimer.
+ *    * Redistributions in binary form must reproduce the above copyright
+ *      notice, this list of conditions and the following disclaimer in
+ *      the documentation and/or other materials provided with the
+ *      distribution.
+ *    * Neither the name of Broadcom Corporation nor the names of its
+ *      contributors may be used to endorse or promote products derived
+ *      from this software without specific prior written permission.
+ *
+ *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/dts-v1/;
+
+#include "bcm4708.dtsi"
+
+/ {
+	model = "NorthStar SVK (BCM953012K)";
+	compatible = "brcm,bcm953012k", "brcm,brcm53012", "brcm,bcm4708";
+
+	aliases {
+		serial0 = &uart0;
+		serial1 = &uart1;
+	};
+
+	chosen {
+		bootargs = "console=ttyS0,115200";
+	};
+
+	memory {
+		reg = <0x00000000 0x10000000>;
+	};
+};
+
+&uart0 {
+	clock-frequency = <62499840>;
+	status = "okay";
+};
+
+&uart1 {
+	clock-frequency = <62499840>;
+	status = "okay";
+};
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 27+ messages in thread

* Re: [PATCH v3 2/2] ARM: dts: bcm5301x: Add BCM SVK DT files
  2015-10-15 22:24   ` Jon Mason
@ 2015-10-16 21:41     ` Hauke Mehrtens
  -1 siblings, 0 replies; 27+ messages in thread
From: Hauke Mehrtens @ 2015-10-16 21:41 UTC (permalink / raw)
  To: Jon Mason, Florian Fainelli, Rob Herring, Pawel Moll,
	Mark Rutland, Ian Campbell, Kumar Gala, Russell King
  Cc: devicetree, linux-arm-kernel, linux-kernel, bcm-kernel-feedback-list

On 10/16/2015 12:24 AM, Jon Mason wrote:
> Add device tree files for Broadcom Northstar based SVKs.  Since the
> bcm5301x.dtsi already exists, all that is necessary is the dts files to
> enable the UARTs.  With these files, the SVKs are able to boot to shell.
> 
> Signed-off-by: Jon Mason <jonmason@broadcom.com>

Acked-by: Hauke Mehrtens <hauke@hauke-m.de>

> ---
>  arch/arm/boot/dts/Makefile       |  5 +++-
>  arch/arm/boot/dts/bcm94708.dts   | 56 +++++++++++++++++++++++++++++++++++
>  arch/arm/boot/dts/bcm94709.dts   | 56 +++++++++++++++++++++++++++++++++++
>  arch/arm/boot/dts/bcm953012k.dts | 63 ++++++++++++++++++++++++++++++++++++++++
>  4 files changed, 179 insertions(+), 1 deletion(-)
>  create mode 100644 arch/arm/boot/dts/bcm94708.dts
>  create mode 100644 arch/arm/boot/dts/bcm94709.dts
>  create mode 100644 arch/arm/boot/dts/bcm953012k.dts
> 
> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
> index 233159d..96a1b58 100644
> --- a/arch/arm/boot/dts/Makefile
> +++ b/arch/arm/boot/dts/Makefile
> @@ -72,7 +72,10 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
>  	bcm47081-buffalo-wzr-900dhp.dtb \
>  	bcm4709-asus-rt-ac87u.dtb \
>  	bcm4709-buffalo-wxr-1900dhp.dtb \
> -	bcm4709-netgear-r8000.dtb
> +	bcm4709-netgear-r8000.dtb \
> +	bcm94708.dtb \
> +	bcm94709.dtb \
> +	bcm953012k.dtb
>  dtb-$(CONFIG_ARCH_BCM_63XX) += \
>  	bcm963138dvt.dtb
>  dtb-$(CONFIG_ARCH_BCM_CYGNUS) += \
> diff --git a/arch/arm/boot/dts/bcm94708.dts b/arch/arm/boot/dts/bcm94708.dts
> new file mode 100644
> index 0000000..49682d6
> --- /dev/null
> +++ b/arch/arm/boot/dts/bcm94708.dts
> @@ -0,0 +1,56 @@
> +/*
> + *  BSD LICENSE
> + *
> + *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
> + *
> + *  Redistribution and use in source and binary forms, with or without
> + *  modification, are permitted provided that the following conditions
> + *  are met:
> + *
> + *    * Redistributions of source code must retain the above copyright
> + *      notice, this list of conditions and the following disclaimer.
> + *    * Redistributions in binary form must reproduce the above copyright
> + *      notice, this list of conditions and the following disclaimer in
> + *      the documentation and/or other materials provided with the
> + *      distribution.
> + *    * Neither the name of Broadcom Corporation nor the names of its
> + *      contributors may be used to endorse or promote products derived
> + *      from this software without specific prior written permission.
> + *
> + *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
> + *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
> + *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
> + *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
> + *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
> + *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
> + *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
> + *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
> + *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
> + *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
> + *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
> + */
> +
> +/dts-v1/;
> +
> +#include "bcm4708.dtsi"
> +
> +/ {
> +	model = "NorthStar SVK (BCM94708)";
> +	compatible = "brcm,bcm94708", "brcm,bcm4708";
> +
> +	aliases {
> +		serial0 = &uart0;
> +	};
> +
> +	chosen {
> +		bootargs = "console=ttyS0,115200";
> +	};
> +
> +	memory {
> +		reg = <0x00000000 0x08000000>;
> +	};
> +};
> +
> +&uart0 {
> +	status = "okay";
> +};
> diff --git a/arch/arm/boot/dts/bcm94709.dts b/arch/arm/boot/dts/bcm94709.dts
> new file mode 100644
> index 0000000..4ab19c0
> --- /dev/null
> +++ b/arch/arm/boot/dts/bcm94709.dts
> @@ -0,0 +1,56 @@
> +/*
> + *  BSD LICENSE
> + *
> + *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
> + *
> + *  Redistribution and use in source and binary forms, with or without
> + *  modification, are permitted provided that the following conditions
> + *  are met:
> + *
> + *    * Redistributions of source code must retain the above copyright
> + *      notice, this list of conditions and the following disclaimer.
> + *    * Redistributions in binary form must reproduce the above copyright
> + *      notice, this list of conditions and the following disclaimer in
> + *      the documentation and/or other materials provided with the
> + *      distribution.
> + *    * Neither the name of Broadcom Corporation nor the names of its
> + *      contributors may be used to endorse or promote products derived
> + *      from this software without specific prior written permission.
> + *
> + *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
> + *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
> + *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
> + *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
> + *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
> + *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
> + *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
> + *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
> + *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
> + *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
> + *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
> + */
> +
> +/dts-v1/;
> +
> +#include "bcm4708.dtsi"
> +
> +/ {
> +	model = "NorthStar SVK (BCM94709)";
> +	compatible = "brcm,bcm94709", "brcm,bcm4709", "brcm,bcm4708";
> +
> +	aliases {
> +		serial0 = &uart0;
> +	};
> +
> +	chosen {
> +		bootargs = "console=ttyS0,115200";
> +	};
> +
> +	memory {
> +		reg = <0x00000000 0x08000000>;
> +	};
> +};
> +
> +&uart0 {
> +	status = "okay";
> +};
> diff --git a/arch/arm/boot/dts/bcm953012k.dts b/arch/arm/boot/dts/bcm953012k.dts
> new file mode 100644
> index 0000000..a512c45
> --- /dev/null
> +++ b/arch/arm/boot/dts/bcm953012k.dts
> @@ -0,0 +1,63 @@
> +/*
> + *  BSD LICENSE
> + *
> + *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
> + *
> + *  Redistribution and use in source and binary forms, with or without
> + *  modification, are permitted provided that the following conditions
> + *  are met:
> + *
> + *    * Redistributions of source code must retain the above copyright
> + *      notice, this list of conditions and the following disclaimer.
> + *    * Redistributions in binary form must reproduce the above copyright
> + *      notice, this list of conditions and the following disclaimer in
> + *      the documentation and/or other materials provided with the
> + *      distribution.
> + *    * Neither the name of Broadcom Corporation nor the names of its
> + *      contributors may be used to endorse or promote products derived
> + *      from this software without specific prior written permission.
> + *
> + *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
> + *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
> + *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
> + *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
> + *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
> + *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
> + *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
> + *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
> + *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
> + *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
> + *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
> + */
> +
> +/dts-v1/;
> +
> +#include "bcm4708.dtsi"
> +
> +/ {
> +	model = "NorthStar SVK (BCM953012K)";
> +	compatible = "brcm,bcm953012k", "brcm,brcm53012", "brcm,bcm4708";
> +
> +	aliases {
> +		serial0 = &uart0;
> +		serial1 = &uart1;
> +	};
> +
> +	chosen {
> +		bootargs = "console=ttyS0,115200";
> +	};
> +
> +	memory {
> +		reg = <0x00000000 0x10000000>;
> +	};
> +};
> +
> +&uart0 {
> +	clock-frequency = <62499840>;
> +	status = "okay";
> +};
> +
> +&uart1 {
> +	clock-frequency = <62499840>;
> +	status = "okay";
> +};
> 


^ permalink raw reply	[flat|nested] 27+ messages in thread

* [PATCH v3 2/2] ARM: dts: bcm5301x: Add BCM SVK DT files
@ 2015-10-16 21:41     ` Hauke Mehrtens
  0 siblings, 0 replies; 27+ messages in thread
From: Hauke Mehrtens @ 2015-10-16 21:41 UTC (permalink / raw)
  To: linux-arm-kernel

On 10/16/2015 12:24 AM, Jon Mason wrote:
> Add device tree files for Broadcom Northstar based SVKs.  Since the
> bcm5301x.dtsi already exists, all that is necessary is the dts files to
> enable the UARTs.  With these files, the SVKs are able to boot to shell.
> 
> Signed-off-by: Jon Mason <jonmason@broadcom.com>

Acked-by: Hauke Mehrtens <hauke@hauke-m.de>

> ---
>  arch/arm/boot/dts/Makefile       |  5 +++-
>  arch/arm/boot/dts/bcm94708.dts   | 56 +++++++++++++++++++++++++++++++++++
>  arch/arm/boot/dts/bcm94709.dts   | 56 +++++++++++++++++++++++++++++++++++
>  arch/arm/boot/dts/bcm953012k.dts | 63 ++++++++++++++++++++++++++++++++++++++++
>  4 files changed, 179 insertions(+), 1 deletion(-)
>  create mode 100644 arch/arm/boot/dts/bcm94708.dts
>  create mode 100644 arch/arm/boot/dts/bcm94709.dts
>  create mode 100644 arch/arm/boot/dts/bcm953012k.dts
> 
> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
> index 233159d..96a1b58 100644
> --- a/arch/arm/boot/dts/Makefile
> +++ b/arch/arm/boot/dts/Makefile
> @@ -72,7 +72,10 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
>  	bcm47081-buffalo-wzr-900dhp.dtb \
>  	bcm4709-asus-rt-ac87u.dtb \
>  	bcm4709-buffalo-wxr-1900dhp.dtb \
> -	bcm4709-netgear-r8000.dtb
> +	bcm4709-netgear-r8000.dtb \
> +	bcm94708.dtb \
> +	bcm94709.dtb \
> +	bcm953012k.dtb
>  dtb-$(CONFIG_ARCH_BCM_63XX) += \
>  	bcm963138dvt.dtb
>  dtb-$(CONFIG_ARCH_BCM_CYGNUS) += \
> diff --git a/arch/arm/boot/dts/bcm94708.dts b/arch/arm/boot/dts/bcm94708.dts
> new file mode 100644
> index 0000000..49682d6
> --- /dev/null
> +++ b/arch/arm/boot/dts/bcm94708.dts
> @@ -0,0 +1,56 @@
> +/*
> + *  BSD LICENSE
> + *
> + *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
> + *
> + *  Redistribution and use in source and binary forms, with or without
> + *  modification, are permitted provided that the following conditions
> + *  are met:
> + *
> + *    * Redistributions of source code must retain the above copyright
> + *      notice, this list of conditions and the following disclaimer.
> + *    * Redistributions in binary form must reproduce the above copyright
> + *      notice, this list of conditions and the following disclaimer in
> + *      the documentation and/or other materials provided with the
> + *      distribution.
> + *    * Neither the name of Broadcom Corporation nor the names of its
> + *      contributors may be used to endorse or promote products derived
> + *      from this software without specific prior written permission.
> + *
> + *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
> + *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
> + *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
> + *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
> + *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
> + *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
> + *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
> + *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
> + *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
> + *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
> + *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
> + */
> +
> +/dts-v1/;
> +
> +#include "bcm4708.dtsi"
> +
> +/ {
> +	model = "NorthStar SVK (BCM94708)";
> +	compatible = "brcm,bcm94708", "brcm,bcm4708";
> +
> +	aliases {
> +		serial0 = &uart0;
> +	};
> +
> +	chosen {
> +		bootargs = "console=ttyS0,115200";
> +	};
> +
> +	memory {
> +		reg = <0x00000000 0x08000000>;
> +	};
> +};
> +
> +&uart0 {
> +	status = "okay";
> +};
> diff --git a/arch/arm/boot/dts/bcm94709.dts b/arch/arm/boot/dts/bcm94709.dts
> new file mode 100644
> index 0000000..4ab19c0
> --- /dev/null
> +++ b/arch/arm/boot/dts/bcm94709.dts
> @@ -0,0 +1,56 @@
> +/*
> + *  BSD LICENSE
> + *
> + *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
> + *
> + *  Redistribution and use in source and binary forms, with or without
> + *  modification, are permitted provided that the following conditions
> + *  are met:
> + *
> + *    * Redistributions of source code must retain the above copyright
> + *      notice, this list of conditions and the following disclaimer.
> + *    * Redistributions in binary form must reproduce the above copyright
> + *      notice, this list of conditions and the following disclaimer in
> + *      the documentation and/or other materials provided with the
> + *      distribution.
> + *    * Neither the name of Broadcom Corporation nor the names of its
> + *      contributors may be used to endorse or promote products derived
> + *      from this software without specific prior written permission.
> + *
> + *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
> + *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
> + *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
> + *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
> + *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
> + *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
> + *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
> + *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
> + *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
> + *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
> + *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
> + */
> +
> +/dts-v1/;
> +
> +#include "bcm4708.dtsi"
> +
> +/ {
> +	model = "NorthStar SVK (BCM94709)";
> +	compatible = "brcm,bcm94709", "brcm,bcm4709", "brcm,bcm4708";
> +
> +	aliases {
> +		serial0 = &uart0;
> +	};
> +
> +	chosen {
> +		bootargs = "console=ttyS0,115200";
> +	};
> +
> +	memory {
> +		reg = <0x00000000 0x08000000>;
> +	};
> +};
> +
> +&uart0 {
> +	status = "okay";
> +};
> diff --git a/arch/arm/boot/dts/bcm953012k.dts b/arch/arm/boot/dts/bcm953012k.dts
> new file mode 100644
> index 0000000..a512c45
> --- /dev/null
> +++ b/arch/arm/boot/dts/bcm953012k.dts
> @@ -0,0 +1,63 @@
> +/*
> + *  BSD LICENSE
> + *
> + *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
> + *
> + *  Redistribution and use in source and binary forms, with or without
> + *  modification, are permitted provided that the following conditions
> + *  are met:
> + *
> + *    * Redistributions of source code must retain the above copyright
> + *      notice, this list of conditions and the following disclaimer.
> + *    * Redistributions in binary form must reproduce the above copyright
> + *      notice, this list of conditions and the following disclaimer in
> + *      the documentation and/or other materials provided with the
> + *      distribution.
> + *    * Neither the name of Broadcom Corporation nor the names of its
> + *      contributors may be used to endorse or promote products derived
> + *      from this software without specific prior written permission.
> + *
> + *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
> + *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
> + *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
> + *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
> + *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
> + *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
> + *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
> + *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
> + *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
> + *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
> + *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
> + */
> +
> +/dts-v1/;
> +
> +#include "bcm4708.dtsi"
> +
> +/ {
> +	model = "NorthStar SVK (BCM953012K)";
> +	compatible = "brcm,bcm953012k", "brcm,brcm53012", "brcm,bcm4708";
> +
> +	aliases {
> +		serial0 = &uart0;
> +		serial1 = &uart1;
> +	};
> +
> +	chosen {
> +		bootargs = "console=ttyS0,115200";
> +	};
> +
> +	memory {
> +		reg = <0x00000000 0x10000000>;
> +	};
> +};
> +
> +&uart0 {
> +	clock-frequency = <62499840>;
> +	status = "okay";
> +};
> +
> +&uart1 {
> +	clock-frequency = <62499840>;
> +	status = "okay";
> +};
> 

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PATCH v3 1/2] dt-bindings: Add new SoCs to bcm4708 DT bindings
  2015-10-15 22:24 ` Jon Mason
@ 2015-10-16 21:42   ` Hauke Mehrtens
  -1 siblings, 0 replies; 27+ messages in thread
From: Hauke Mehrtens @ 2015-10-16 21:42 UTC (permalink / raw)
  To: Jon Mason, Florian Fainelli, Rob Herring, Pawel Moll,
	Mark Rutland, Ian Campbell, Kumar Gala, Russell King
  Cc: devicetree, linux-arm-kernel, linux-kernel, bcm-kernel-feedback-list

On 10/16/2015 12:24 AM, Jon Mason wrote:
> Add the 4708, 4709, and 53012 SoCs to the the documentation for the
> Broadcom Northstar device tree bindings.
> 
> Signed-off-by: Jon Mason <jonmason@broadcom.com>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>

> ---
>  Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt
> index 6b0f49f..8608a77 100644
> --- a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt
> +++ b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt
> @@ -5,4 +5,11 @@ Boards with the BCM4708 SoC shall have the following properties:
>  
>  Required root node property:
>  
> +bcm4708
>  compatible = "brcm,bcm4708";
> +
> +bcm4709
> +compatible = "brcm,bcm4709";
> +
> +bcm53012
> +compatible = "brcm,bcm53012";
> 


^ permalink raw reply	[flat|nested] 27+ messages in thread

* [PATCH v3 1/2] dt-bindings: Add new SoCs to bcm4708 DT bindings
@ 2015-10-16 21:42   ` Hauke Mehrtens
  0 siblings, 0 replies; 27+ messages in thread
From: Hauke Mehrtens @ 2015-10-16 21:42 UTC (permalink / raw)
  To: linux-arm-kernel

On 10/16/2015 12:24 AM, Jon Mason wrote:
> Add the 4708, 4709, and 53012 SoCs to the the documentation for the
> Broadcom Northstar device tree bindings.
> 
> Signed-off-by: Jon Mason <jonmason@broadcom.com>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>

> ---
>  Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt
> index 6b0f49f..8608a77 100644
> --- a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt
> +++ b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt
> @@ -5,4 +5,11 @@ Boards with the BCM4708 SoC shall have the following properties:
>  
>  Required root node property:
>  
> +bcm4708
>  compatible = "brcm,bcm4708";
> +
> +bcm4709
> +compatible = "brcm,bcm4709";
> +
> +bcm53012
> +compatible = "brcm,bcm53012";
> 

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PATCH v3 2/2] ARM: dts: bcm5301x: Add BCM SVK DT files
  2015-10-16 21:41     ` Hauke Mehrtens
  (?)
@ 2015-10-16 22:38       ` Scott Branden
  -1 siblings, 0 replies; 27+ messages in thread
From: Scott Branden @ 2015-10-16 22:38 UTC (permalink / raw)
  To: Hauke Mehrtens, Jon Mason, Florian Fainelli, Rob Herring,
	Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala, Russell King
  Cc: devicetree, linux-arm-kernel, linux-kernel, bcm-kernel-feedback-list

Hi Jon,

No need for the board in the compatible string.

On 15-10-16 02:41 PM, Hauke Mehrtens wrote:
> On 10/16/2015 12:24 AM, Jon Mason wrote:
>> Add device tree files for Broadcom Northstar based SVKs.  Since the
>> bcm5301x.dtsi already exists, all that is necessary is the dts files to
>> enable the UARTs.  With these files, the SVKs are able to boot to shell.
>>
>> Signed-off-by: Jon Mason <jonmason@broadcom.com>
>
> Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
>
>> ---
>>   arch/arm/boot/dts/Makefile       |  5 +++-
>>   arch/arm/boot/dts/bcm94708.dts   | 56 +++++++++++++++++++++++++++++++++++
>>   arch/arm/boot/dts/bcm94709.dts   | 56 +++++++++++++++++++++++++++++++++++
>>   arch/arm/boot/dts/bcm953012k.dts | 63 ++++++++++++++++++++++++++++++++++++++++
>>   4 files changed, 179 insertions(+), 1 deletion(-)
>>   create mode 100644 arch/arm/boot/dts/bcm94708.dts
>>   create mode 100644 arch/arm/boot/dts/bcm94709.dts
>>   create mode 100644 arch/arm/boot/dts/bcm953012k.dts
>>
>> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
>> index 233159d..96a1b58 100644
>> --- a/arch/arm/boot/dts/Makefile
>> +++ b/arch/arm/boot/dts/Makefile
>> @@ -72,7 +72,10 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
>>   	bcm47081-buffalo-wzr-900dhp.dtb \
>>   	bcm4709-asus-rt-ac87u.dtb \
>>   	bcm4709-buffalo-wxr-1900dhp.dtb \
>> -	bcm4709-netgear-r8000.dtb
>> +	bcm4709-netgear-r8000.dtb \
>> +	bcm94708.dtb \
>> +	bcm94709.dtb \
>> +	bcm953012k.dtb
>>   dtb-$(CONFIG_ARCH_BCM_63XX) += \
>>   	bcm963138dvt.dtb
>>   dtb-$(CONFIG_ARCH_BCM_CYGNUS) += \
>> diff --git a/arch/arm/boot/dts/bcm94708.dts b/arch/arm/boot/dts/bcm94708.dts
>> new file mode 100644
>> index 0000000..49682d6
>> --- /dev/null
>> +++ b/arch/arm/boot/dts/bcm94708.dts
>> @@ -0,0 +1,56 @@
>> +/*
>> + *  BSD LICENSE
>> + *
>> + *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
>> + *
>> + *  Redistribution and use in source and binary forms, with or without
>> + *  modification, are permitted provided that the following conditions
>> + *  are met:
>> + *
>> + *    * Redistributions of source code must retain the above copyright
>> + *      notice, this list of conditions and the following disclaimer.
>> + *    * Redistributions in binary form must reproduce the above copyright
>> + *      notice, this list of conditions and the following disclaimer in
>> + *      the documentation and/or other materials provided with the
>> + *      distribution.
>> + *    * Neither the name of Broadcom Corporation nor the names of its
>> + *      contributors may be used to endorse or promote products derived
>> + *      from this software without specific prior written permission.
>> + *
>> + *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
>> + *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
>> + *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
>> + *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
>> + *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
>> + *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
>> + *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
>> + *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
>> + *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
>> + *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
>> + *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
>> + */
>> +
>> +/dts-v1/;
>> +
>> +#include "bcm4708.dtsi"
>> +
>> +/ {
>> +	model = "NorthStar SVK (BCM94708)";
>> +	compatible = "brcm,bcm94708", "brcm,bcm4708";
no need for brcm,bcm94708
>> +
>> +	aliases {
>> +		serial0 = &uart0;
>> +	};
>> +
>> +	chosen {
>> +		bootargs = "console=ttyS0,115200";
>> +	};
>> +
>> +	memory {
>> +		reg = <0x00000000 0x08000000>;
>> +	};
>> +};
>> +
>> +&uart0 {
>> +	status = "okay";
>> +};
>> diff --git a/arch/arm/boot/dts/bcm94709.dts b/arch/arm/boot/dts/bcm94709.dts
>> new file mode 100644
>> index 0000000..4ab19c0
>> --- /dev/null
>> +++ b/arch/arm/boot/dts/bcm94709.dts
>> @@ -0,0 +1,56 @@
>> +/*
>> + *  BSD LICENSE
>> + *
>> + *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
>> + *
>> + *  Redistribution and use in source and binary forms, with or without
>> + *  modification, are permitted provided that the following conditions
>> + *  are met:
>> + *
>> + *    * Redistributions of source code must retain the above copyright
>> + *      notice, this list of conditions and the following disclaimer.
>> + *    * Redistributions in binary form must reproduce the above copyright
>> + *      notice, this list of conditions and the following disclaimer in
>> + *      the documentation and/or other materials provided with the
>> + *      distribution.
>> + *    * Neither the name of Broadcom Corporation nor the names of its
>> + *      contributors may be used to endorse or promote products derived
>> + *      from this software without specific prior written permission.
>> + *
>> + *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
>> + *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
>> + *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
>> + *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
>> + *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
>> + *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
>> + *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
>> + *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
>> + *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
>> + *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
>> + *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
>> + */
>> +
>> +/dts-v1/;
>> +
>> +#include "bcm4708.dtsi"
>> +
>> +/ {
>> +	model = "NorthStar SVK (BCM94709)";
>> +	compatible = "brcm,bcm94709", "brcm,bcm4709", "brcm,bcm4708";
no need for brcm,bcm94709
>> +
>> +	aliases {
>> +		serial0 = &uart0;
>> +	};
>> +
>> +	chosen {
>> +		bootargs = "console=ttyS0,115200";
>> +	};
>> +
>> +	memory {
>> +		reg = <0x00000000 0x08000000>;
>> +	};
>> +};
>> +
>> +&uart0 {
>> +	status = "okay";
>> +};
>> diff --git a/arch/arm/boot/dts/bcm953012k.dts b/arch/arm/boot/dts/bcm953012k.dts
>> new file mode 100644
>> index 0000000..a512c45
>> --- /dev/null
>> +++ b/arch/arm/boot/dts/bcm953012k.dts
>> @@ -0,0 +1,63 @@
>> +/*
>> + *  BSD LICENSE
>> + *
>> + *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
>> + *
>> + *  Redistribution and use in source and binary forms, with or without
>> + *  modification, are permitted provided that the following conditions
>> + *  are met:
>> + *
>> + *    * Redistributions of source code must retain the above copyright
>> + *      notice, this list of conditions and the following disclaimer.
>> + *    * Redistributions in binary form must reproduce the above copyright
>> + *      notice, this list of conditions and the following disclaimer in
>> + *      the documentation and/or other materials provided with the
>> + *      distribution.
>> + *    * Neither the name of Broadcom Corporation nor the names of its
>> + *      contributors may be used to endorse or promote products derived
>> + *      from this software without specific prior written permission.
>> + *
>> + *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
>> + *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
>> + *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
>> + *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
>> + *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
>> + *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
>> + *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
>> + *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
>> + *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
>> + *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
>> + *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
>> + */
>> +
>> +/dts-v1/;
>> +
>> +#include "bcm4708.dtsi"
>> +
>> +/ {
>> +	model = "NorthStar SVK (BCM953012K)";
>> +	compatible = "brcm,bcm953012k", "brcm,brcm53012", "brcm,bcm4708";
no need for brcm,bcm953012k
>> +
>> +	aliases {
>> +		serial0 = &uart0;
>> +		serial1 = &uart1;
>> +	};
>> +
>> +	chosen {
>> +		bootargs = "console=ttyS0,115200";
>> +	};
>> +
>> +	memory {
>> +		reg = <0x00000000 0x10000000>;
>> +	};
>> +};
>> +
>> +&uart0 {
>> +	clock-frequency = <62499840>;
>> +	status = "okay";
>> +};
>> +
>> +&uart1 {
>> +	clock-frequency = <62499840>;
>> +	status = "okay";
>> +};
>>
>


^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PATCH v3 2/2] ARM: dts: bcm5301x: Add BCM SVK DT files
@ 2015-10-16 22:38       ` Scott Branden
  0 siblings, 0 replies; 27+ messages in thread
From: Scott Branden @ 2015-10-16 22:38 UTC (permalink / raw)
  To: Hauke Mehrtens, Jon Mason, Florian Fainelli, Rob Herring,
	Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala, Russell King
  Cc: devicetree, linux-arm-kernel, linux-kernel, bcm-kernel-feedback-list

Hi Jon,

No need for the board in the compatible string.

On 15-10-16 02:41 PM, Hauke Mehrtens wrote:
> On 10/16/2015 12:24 AM, Jon Mason wrote:
>> Add device tree files for Broadcom Northstar based SVKs.  Since the
>> bcm5301x.dtsi already exists, all that is necessary is the dts files to
>> enable the UARTs.  With these files, the SVKs are able to boot to shell.
>>
>> Signed-off-by: Jon Mason <jonmason@broadcom.com>
>
> Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
>
>> ---
>>   arch/arm/boot/dts/Makefile       |  5 +++-
>>   arch/arm/boot/dts/bcm94708.dts   | 56 +++++++++++++++++++++++++++++++++++
>>   arch/arm/boot/dts/bcm94709.dts   | 56 +++++++++++++++++++++++++++++++++++
>>   arch/arm/boot/dts/bcm953012k.dts | 63 ++++++++++++++++++++++++++++++++++++++++
>>   4 files changed, 179 insertions(+), 1 deletion(-)
>>   create mode 100644 arch/arm/boot/dts/bcm94708.dts
>>   create mode 100644 arch/arm/boot/dts/bcm94709.dts
>>   create mode 100644 arch/arm/boot/dts/bcm953012k.dts
>>
>> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
>> index 233159d..96a1b58 100644
>> --- a/arch/arm/boot/dts/Makefile
>> +++ b/arch/arm/boot/dts/Makefile
>> @@ -72,7 +72,10 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
>>   	bcm47081-buffalo-wzr-900dhp.dtb \
>>   	bcm4709-asus-rt-ac87u.dtb \
>>   	bcm4709-buffalo-wxr-1900dhp.dtb \
>> -	bcm4709-netgear-r8000.dtb
>> +	bcm4709-netgear-r8000.dtb \
>> +	bcm94708.dtb \
>> +	bcm94709.dtb \
>> +	bcm953012k.dtb
>>   dtb-$(CONFIG_ARCH_BCM_63XX) += \
>>   	bcm963138dvt.dtb
>>   dtb-$(CONFIG_ARCH_BCM_CYGNUS) += \
>> diff --git a/arch/arm/boot/dts/bcm94708.dts b/arch/arm/boot/dts/bcm94708.dts
>> new file mode 100644
>> index 0000000..49682d6
>> --- /dev/null
>> +++ b/arch/arm/boot/dts/bcm94708.dts
>> @@ -0,0 +1,56 @@
>> +/*
>> + *  BSD LICENSE
>> + *
>> + *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
>> + *
>> + *  Redistribution and use in source and binary forms, with or without
>> + *  modification, are permitted provided that the following conditions
>> + *  are met:
>> + *
>> + *    * Redistributions of source code must retain the above copyright
>> + *      notice, this list of conditions and the following disclaimer.
>> + *    * Redistributions in binary form must reproduce the above copyright
>> + *      notice, this list of conditions and the following disclaimer in
>> + *      the documentation and/or other materials provided with the
>> + *      distribution.
>> + *    * Neither the name of Broadcom Corporation nor the names of its
>> + *      contributors may be used to endorse or promote products derived
>> + *      from this software without specific prior written permission.
>> + *
>> + *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
>> + *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
>> + *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
>> + *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
>> + *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
>> + *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
>> + *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
>> + *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
>> + *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
>> + *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
>> + *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
>> + */
>> +
>> +/dts-v1/;
>> +
>> +#include "bcm4708.dtsi"
>> +
>> +/ {
>> +	model = "NorthStar SVK (BCM94708)";
>> +	compatible = "brcm,bcm94708", "brcm,bcm4708";
no need for brcm,bcm94708
>> +
>> +	aliases {
>> +		serial0 = &uart0;
>> +	};
>> +
>> +	chosen {
>> +		bootargs = "console=ttyS0,115200";
>> +	};
>> +
>> +	memory {
>> +		reg = <0x00000000 0x08000000>;
>> +	};
>> +};
>> +
>> +&uart0 {
>> +	status = "okay";
>> +};
>> diff --git a/arch/arm/boot/dts/bcm94709.dts b/arch/arm/boot/dts/bcm94709.dts
>> new file mode 100644
>> index 0000000..4ab19c0
>> --- /dev/null
>> +++ b/arch/arm/boot/dts/bcm94709.dts
>> @@ -0,0 +1,56 @@
>> +/*
>> + *  BSD LICENSE
>> + *
>> + *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
>> + *
>> + *  Redistribution and use in source and binary forms, with or without
>> + *  modification, are permitted provided that the following conditions
>> + *  are met:
>> + *
>> + *    * Redistributions of source code must retain the above copyright
>> + *      notice, this list of conditions and the following disclaimer.
>> + *    * Redistributions in binary form must reproduce the above copyright
>> + *      notice, this list of conditions and the following disclaimer in
>> + *      the documentation and/or other materials provided with the
>> + *      distribution.
>> + *    * Neither the name of Broadcom Corporation nor the names of its
>> + *      contributors may be used to endorse or promote products derived
>> + *      from this software without specific prior written permission.
>> + *
>> + *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
>> + *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
>> + *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
>> + *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
>> + *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
>> + *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
>> + *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
>> + *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
>> + *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
>> + *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
>> + *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
>> + */
>> +
>> +/dts-v1/;
>> +
>> +#include "bcm4708.dtsi"
>> +
>> +/ {
>> +	model = "NorthStar SVK (BCM94709)";
>> +	compatible = "brcm,bcm94709", "brcm,bcm4709", "brcm,bcm4708";
no need for brcm,bcm94709
>> +
>> +	aliases {
>> +		serial0 = &uart0;
>> +	};
>> +
>> +	chosen {
>> +		bootargs = "console=ttyS0,115200";
>> +	};
>> +
>> +	memory {
>> +		reg = <0x00000000 0x08000000>;
>> +	};
>> +};
>> +
>> +&uart0 {
>> +	status = "okay";
>> +};
>> diff --git a/arch/arm/boot/dts/bcm953012k.dts b/arch/arm/boot/dts/bcm953012k.dts
>> new file mode 100644
>> index 0000000..a512c45
>> --- /dev/null
>> +++ b/arch/arm/boot/dts/bcm953012k.dts
>> @@ -0,0 +1,63 @@
>> +/*
>> + *  BSD LICENSE
>> + *
>> + *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
>> + *
>> + *  Redistribution and use in source and binary forms, with or without
>> + *  modification, are permitted provided that the following conditions
>> + *  are met:
>> + *
>> + *    * Redistributions of source code must retain the above copyright
>> + *      notice, this list of conditions and the following disclaimer.
>> + *    * Redistributions in binary form must reproduce the above copyright
>> + *      notice, this list of conditions and the following disclaimer in
>> + *      the documentation and/or other materials provided with the
>> + *      distribution.
>> + *    * Neither the name of Broadcom Corporation nor the names of its
>> + *      contributors may be used to endorse or promote products derived
>> + *      from this software without specific prior written permission.
>> + *
>> + *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
>> + *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
>> + *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
>> + *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
>> + *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
>> + *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
>> + *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
>> + *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
>> + *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
>> + *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
>> + *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
>> + */
>> +
>> +/dts-v1/;
>> +
>> +#include "bcm4708.dtsi"
>> +
>> +/ {
>> +	model = "NorthStar SVK (BCM953012K)";
>> +	compatible = "brcm,bcm953012k", "brcm,brcm53012", "brcm,bcm4708";
no need for brcm,bcm953012k
>> +
>> +	aliases {
>> +		serial0 = &uart0;
>> +		serial1 = &uart1;
>> +	};
>> +
>> +	chosen {
>> +		bootargs = "console=ttyS0,115200";
>> +	};
>> +
>> +	memory {
>> +		reg = <0x00000000 0x10000000>;
>> +	};
>> +};
>> +
>> +&uart0 {
>> +	clock-frequency = <62499840>;
>> +	status = "okay";
>> +};
>> +
>> +&uart1 {
>> +	clock-frequency = <62499840>;
>> +	status = "okay";
>> +};
>>
>

^ permalink raw reply	[flat|nested] 27+ messages in thread

* [PATCH v3 2/2] ARM: dts: bcm5301x: Add BCM SVK DT files
@ 2015-10-16 22:38       ` Scott Branden
  0 siblings, 0 replies; 27+ messages in thread
From: Scott Branden @ 2015-10-16 22:38 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Jon,

No need for the board in the compatible string.

On 15-10-16 02:41 PM, Hauke Mehrtens wrote:
> On 10/16/2015 12:24 AM, Jon Mason wrote:
>> Add device tree files for Broadcom Northstar based SVKs.  Since the
>> bcm5301x.dtsi already exists, all that is necessary is the dts files to
>> enable the UARTs.  With these files, the SVKs are able to boot to shell.
>>
>> Signed-off-by: Jon Mason <jonmason@broadcom.com>
>
> Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
>
>> ---
>>   arch/arm/boot/dts/Makefile       |  5 +++-
>>   arch/arm/boot/dts/bcm94708.dts   | 56 +++++++++++++++++++++++++++++++++++
>>   arch/arm/boot/dts/bcm94709.dts   | 56 +++++++++++++++++++++++++++++++++++
>>   arch/arm/boot/dts/bcm953012k.dts | 63 ++++++++++++++++++++++++++++++++++++++++
>>   4 files changed, 179 insertions(+), 1 deletion(-)
>>   create mode 100644 arch/arm/boot/dts/bcm94708.dts
>>   create mode 100644 arch/arm/boot/dts/bcm94709.dts
>>   create mode 100644 arch/arm/boot/dts/bcm953012k.dts
>>
>> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
>> index 233159d..96a1b58 100644
>> --- a/arch/arm/boot/dts/Makefile
>> +++ b/arch/arm/boot/dts/Makefile
>> @@ -72,7 +72,10 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
>>   	bcm47081-buffalo-wzr-900dhp.dtb \
>>   	bcm4709-asus-rt-ac87u.dtb \
>>   	bcm4709-buffalo-wxr-1900dhp.dtb \
>> -	bcm4709-netgear-r8000.dtb
>> +	bcm4709-netgear-r8000.dtb \
>> +	bcm94708.dtb \
>> +	bcm94709.dtb \
>> +	bcm953012k.dtb
>>   dtb-$(CONFIG_ARCH_BCM_63XX) += \
>>   	bcm963138dvt.dtb
>>   dtb-$(CONFIG_ARCH_BCM_CYGNUS) += \
>> diff --git a/arch/arm/boot/dts/bcm94708.dts b/arch/arm/boot/dts/bcm94708.dts
>> new file mode 100644
>> index 0000000..49682d6
>> --- /dev/null
>> +++ b/arch/arm/boot/dts/bcm94708.dts
>> @@ -0,0 +1,56 @@
>> +/*
>> + *  BSD LICENSE
>> + *
>> + *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
>> + *
>> + *  Redistribution and use in source and binary forms, with or without
>> + *  modification, are permitted provided that the following conditions
>> + *  are met:
>> + *
>> + *    * Redistributions of source code must retain the above copyright
>> + *      notice, this list of conditions and the following disclaimer.
>> + *    * Redistributions in binary form must reproduce the above copyright
>> + *      notice, this list of conditions and the following disclaimer in
>> + *      the documentation and/or other materials provided with the
>> + *      distribution.
>> + *    * Neither the name of Broadcom Corporation nor the names of its
>> + *      contributors may be used to endorse or promote products derived
>> + *      from this software without specific prior written permission.
>> + *
>> + *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
>> + *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
>> + *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
>> + *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
>> + *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
>> + *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
>> + *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
>> + *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
>> + *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
>> + *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
>> + *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
>> + */
>> +
>> +/dts-v1/;
>> +
>> +#include "bcm4708.dtsi"
>> +
>> +/ {
>> +	model = "NorthStar SVK (BCM94708)";
>> +	compatible = "brcm,bcm94708", "brcm,bcm4708";
no need for brcm,bcm94708
>> +
>> +	aliases {
>> +		serial0 = &uart0;
>> +	};
>> +
>> +	chosen {
>> +		bootargs = "console=ttyS0,115200";
>> +	};
>> +
>> +	memory {
>> +		reg = <0x00000000 0x08000000>;
>> +	};
>> +};
>> +
>> +&uart0 {
>> +	status = "okay";
>> +};
>> diff --git a/arch/arm/boot/dts/bcm94709.dts b/arch/arm/boot/dts/bcm94709.dts
>> new file mode 100644
>> index 0000000..4ab19c0
>> --- /dev/null
>> +++ b/arch/arm/boot/dts/bcm94709.dts
>> @@ -0,0 +1,56 @@
>> +/*
>> + *  BSD LICENSE
>> + *
>> + *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
>> + *
>> + *  Redistribution and use in source and binary forms, with or without
>> + *  modification, are permitted provided that the following conditions
>> + *  are met:
>> + *
>> + *    * Redistributions of source code must retain the above copyright
>> + *      notice, this list of conditions and the following disclaimer.
>> + *    * Redistributions in binary form must reproduce the above copyright
>> + *      notice, this list of conditions and the following disclaimer in
>> + *      the documentation and/or other materials provided with the
>> + *      distribution.
>> + *    * Neither the name of Broadcom Corporation nor the names of its
>> + *      contributors may be used to endorse or promote products derived
>> + *      from this software without specific prior written permission.
>> + *
>> + *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
>> + *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
>> + *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
>> + *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
>> + *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
>> + *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
>> + *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
>> + *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
>> + *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
>> + *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
>> + *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
>> + */
>> +
>> +/dts-v1/;
>> +
>> +#include "bcm4708.dtsi"
>> +
>> +/ {
>> +	model = "NorthStar SVK (BCM94709)";
>> +	compatible = "brcm,bcm94709", "brcm,bcm4709", "brcm,bcm4708";
no need for brcm,bcm94709
>> +
>> +	aliases {
>> +		serial0 = &uart0;
>> +	};
>> +
>> +	chosen {
>> +		bootargs = "console=ttyS0,115200";
>> +	};
>> +
>> +	memory {
>> +		reg = <0x00000000 0x08000000>;
>> +	};
>> +};
>> +
>> +&uart0 {
>> +	status = "okay";
>> +};
>> diff --git a/arch/arm/boot/dts/bcm953012k.dts b/arch/arm/boot/dts/bcm953012k.dts
>> new file mode 100644
>> index 0000000..a512c45
>> --- /dev/null
>> +++ b/arch/arm/boot/dts/bcm953012k.dts
>> @@ -0,0 +1,63 @@
>> +/*
>> + *  BSD LICENSE
>> + *
>> + *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
>> + *
>> + *  Redistribution and use in source and binary forms, with or without
>> + *  modification, are permitted provided that the following conditions
>> + *  are met:
>> + *
>> + *    * Redistributions of source code must retain the above copyright
>> + *      notice, this list of conditions and the following disclaimer.
>> + *    * Redistributions in binary form must reproduce the above copyright
>> + *      notice, this list of conditions and the following disclaimer in
>> + *      the documentation and/or other materials provided with the
>> + *      distribution.
>> + *    * Neither the name of Broadcom Corporation nor the names of its
>> + *      contributors may be used to endorse or promote products derived
>> + *      from this software without specific prior written permission.
>> + *
>> + *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
>> + *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
>> + *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
>> + *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
>> + *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
>> + *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
>> + *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
>> + *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
>> + *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
>> + *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
>> + *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
>> + */
>> +
>> +/dts-v1/;
>> +
>> +#include "bcm4708.dtsi"
>> +
>> +/ {
>> +	model = "NorthStar SVK (BCM953012K)";
>> +	compatible = "brcm,bcm953012k", "brcm,brcm53012", "brcm,bcm4708";
no need for brcm,bcm953012k
>> +
>> +	aliases {
>> +		serial0 = &uart0;
>> +		serial1 = &uart1;
>> +	};
>> +
>> +	chosen {
>> +		bootargs = "console=ttyS0,115200";
>> +	};
>> +
>> +	memory {
>> +		reg = <0x00000000 0x10000000>;
>> +	};
>> +};
>> +
>> +&uart0 {
>> +	clock-frequency = <62499840>;
>> +	status = "okay";
>> +};
>> +
>> +&uart1 {
>> +	clock-frequency = <62499840>;
>> +	status = "okay";
>> +};
>>
>

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PATCH v3 1/2] dt-bindings: Add new SoCs to bcm4708 DT bindings
@ 2015-10-16 22:39     ` Scott Branden
  0 siblings, 0 replies; 27+ messages in thread
From: Scott Branden @ 2015-10-16 22:39 UTC (permalink / raw)
  To: Hauke Mehrtens, Jon Mason, Florian Fainelli, Rob Herring,
	Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala, Russell King
  Cc: devicetree, linux-arm-kernel, linux-kernel, bcm-kernel-feedback-list

On 15-10-16 02:42 PM, Hauke Mehrtens wrote:
> On 10/16/2015 12:24 AM, Jon Mason wrote:
>> Add the 4708, 4709, and 53012 SoCs to the the documentation for the
>> Broadcom Northstar device tree bindings.
>>
>> Signed-off-by: Jon Mason <jonmason@broadcom.com>
> Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Acked-by: Scott Branden <sbranden@broadcom.com>

>
>> ---
>>   Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt | 7 +++++++
>>   1 file changed, 7 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt
>> index 6b0f49f..8608a77 100644
>> --- a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt
>> +++ b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt
>> @@ -5,4 +5,11 @@ Boards with the BCM4708 SoC shall have the following properties:
>>
>>   Required root node property:
>>
>> +bcm4708
>>   compatible = "brcm,bcm4708";
>> +
>> +bcm4709
>> +compatible = "brcm,bcm4709";
>> +
>> +bcm53012
>> +compatible = "brcm,bcm53012";
>>
>


^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PATCH v3 1/2] dt-bindings: Add new SoCs to bcm4708 DT bindings
@ 2015-10-16 22:39     ` Scott Branden
  0 siblings, 0 replies; 27+ messages in thread
From: Scott Branden @ 2015-10-16 22:39 UTC (permalink / raw)
  To: Hauke Mehrtens, Jon Mason, Florian Fainelli, Rob Herring,
	Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala, Russell King
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	bcm-kernel-feedback-list-dY08KVG/lbpWk0Htik3J/w

On 15-10-16 02:42 PM, Hauke Mehrtens wrote:
> On 10/16/2015 12:24 AM, Jon Mason wrote:
>> Add the 4708, 4709, and 53012 SoCs to the the documentation for the
>> Broadcom Northstar device tree bindings.
>>
>> Signed-off-by: Jon Mason <jonmason-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
> Acked-by: Hauke Mehrtens <hauke-5/S+JYg5SzeELgA04lAiVw@public.gmane.org>
Acked-by: Scott Branden <sbranden-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>

>
>> ---
>>   Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt | 7 +++++++
>>   1 file changed, 7 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt
>> index 6b0f49f..8608a77 100644
>> --- a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt
>> +++ b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt
>> @@ -5,4 +5,11 @@ Boards with the BCM4708 SoC shall have the following properties:
>>
>>   Required root node property:
>>
>> +bcm4708
>>   compatible = "brcm,bcm4708";
>> +
>> +bcm4709
>> +compatible = "brcm,bcm4709";
>> +
>> +bcm53012
>> +compatible = "brcm,bcm53012";
>>
>

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 27+ messages in thread

* [PATCH v3 1/2] dt-bindings: Add new SoCs to bcm4708 DT bindings
@ 2015-10-16 22:39     ` Scott Branden
  0 siblings, 0 replies; 27+ messages in thread
From: Scott Branden @ 2015-10-16 22:39 UTC (permalink / raw)
  To: linux-arm-kernel

On 15-10-16 02:42 PM, Hauke Mehrtens wrote:
> On 10/16/2015 12:24 AM, Jon Mason wrote:
>> Add the 4708, 4709, and 53012 SoCs to the the documentation for the
>> Broadcom Northstar device tree bindings.
>>
>> Signed-off-by: Jon Mason <jonmason@broadcom.com>
> Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Acked-by: Scott Branden <sbranden@broadcom.com>

>
>> ---
>>   Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt | 7 +++++++
>>   1 file changed, 7 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt
>> index 6b0f49f..8608a77 100644
>> --- a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt
>> +++ b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt
>> @@ -5,4 +5,11 @@ Boards with the BCM4708 SoC shall have the following properties:
>>
>>   Required root node property:
>>
>> +bcm4708
>>   compatible = "brcm,bcm4708";
>> +
>> +bcm4709
>> +compatible = "brcm,bcm4709";
>> +
>> +bcm53012
>> +compatible = "brcm,bcm53012";
>>
>

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PATCH v3 2/2] ARM: dts: bcm5301x: Add BCM SVK DT files
  2015-10-16 22:38       ` Scott Branden
@ 2015-10-16 22:42         ` Hauke Mehrtens
  -1 siblings, 0 replies; 27+ messages in thread
From: Hauke Mehrtens @ 2015-10-16 22:42 UTC (permalink / raw)
  To: Scott Branden, Jon Mason, Florian Fainelli, Rob Herring,
	Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala, Russell King
  Cc: devicetree, linux-arm-kernel, linux-kernel, bcm-kernel-feedback-list



On 10/17/2015 12:38 AM, Scott Branden wrote:
> Hi Jon,
> 
> No need for the board in the compatible string.

I think the board should be named here, so we could take some code
branches based on the board, if it would have bad wiring for example.

The device tree wiki says:
"The first string in the list specifies the exact device that the node
represents"
http://devicetree.org/Device_Tree_Usage#Understanding_the_compatible_Property

The exact device here is the board not the SoC.

Hauke

> 
> On 15-10-16 02:41 PM, Hauke Mehrtens wrote:
>> On 10/16/2015 12:24 AM, Jon Mason wrote:
>>> Add device tree files for Broadcom Northstar based SVKs.  Since the
>>> bcm5301x.dtsi already exists, all that is necessary is the dts files to
>>> enable the UARTs.  With these files, the SVKs are able to boot to shell.
>>>
>>> Signed-off-by: Jon Mason <jonmason@broadcom.com>
>>
>> Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
>>
>>> ---
>>>   arch/arm/boot/dts/Makefile       |  5 +++-
>>>   arch/arm/boot/dts/bcm94708.dts   | 56
>>> +++++++++++++++++++++++++++++++++++
>>>   arch/arm/boot/dts/bcm94709.dts   | 56
>>> +++++++++++++++++++++++++++++++++++
>>>   arch/arm/boot/dts/bcm953012k.dts | 63
>>> ++++++++++++++++++++++++++++++++++++++++
>>>   4 files changed, 179 insertions(+), 1 deletion(-)
>>>   create mode 100644 arch/arm/boot/dts/bcm94708.dts
>>>   create mode 100644 arch/arm/boot/dts/bcm94709.dts
>>>   create mode 100644 arch/arm/boot/dts/bcm953012k.dts
>>>
>>> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
>>> index 233159d..96a1b58 100644
>>> --- a/arch/arm/boot/dts/Makefile
>>> +++ b/arch/arm/boot/dts/Makefile
>>> @@ -72,7 +72,10 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
>>>       bcm47081-buffalo-wzr-900dhp.dtb \
>>>       bcm4709-asus-rt-ac87u.dtb \
>>>       bcm4709-buffalo-wxr-1900dhp.dtb \
>>> -    bcm4709-netgear-r8000.dtb
>>> +    bcm4709-netgear-r8000.dtb \
>>> +    bcm94708.dtb \
>>> +    bcm94709.dtb \
>>> +    bcm953012k.dtb
>>>   dtb-$(CONFIG_ARCH_BCM_63XX) += \
>>>       bcm963138dvt.dtb
>>>   dtb-$(CONFIG_ARCH_BCM_CYGNUS) += \
>>> diff --git a/arch/arm/boot/dts/bcm94708.dts
>>> b/arch/arm/boot/dts/bcm94708.dts
>>> new file mode 100644
>>> index 0000000..49682d6
>>> --- /dev/null
>>> +++ b/arch/arm/boot/dts/bcm94708.dts
>>> @@ -0,0 +1,56 @@
>>> +/*
>>> + *  BSD LICENSE
>>> + *
>>> + *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
>>> + *
>>> + *  Redistribution and use in source and binary forms, with or without
>>> + *  modification, are permitted provided that the following conditions
>>> + *  are met:
>>> + *
>>> + *    * Redistributions of source code must retain the above copyright
>>> + *      notice, this list of conditions and the following disclaimer.
>>> + *    * Redistributions in binary form must reproduce the above
>>> copyright
>>> + *      notice, this list of conditions and the following disclaimer in
>>> + *      the documentation and/or other materials provided with the
>>> + *      distribution.
>>> + *    * Neither the name of Broadcom Corporation nor the names of its
>>> + *      contributors may be used to endorse or promote products derived
>>> + *      from this software without specific prior written permission.
>>> + *
>>> + *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
>>> + *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
>>> + *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
>>> FITNESS FOR
>>> + *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
>>> COPYRIGHT
>>> + *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
>>> INCIDENTAL,
>>> + *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
>>> + *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
>>> USE,
>>> + *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
>>> ON ANY
>>> + *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
>>> + *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
>>> THE USE
>>> + *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
>>> DAMAGE.
>>> + */
>>> +
>>> +/dts-v1/;
>>> +
>>> +#include "bcm4708.dtsi"
>>> +
>>> +/ {
>>> +    model = "NorthStar SVK (BCM94708)";
>>> +    compatible = "brcm,bcm94708", "brcm,bcm4708";
> no need for brcm,bcm94708
>>> +
>>> +    aliases {
>>> +        serial0 = &uart0;
>>> +    };
>>> +
>>> +    chosen {
>>> +        bootargs = "console=ttyS0,115200";
>>> +    };
>>> +
>>> +    memory {
>>> +        reg = <0x00000000 0x08000000>;
>>> +    };
>>> +};
>>> +
>>> +&uart0 {
>>> +    status = "okay";
>>> +};
>>> diff --git a/arch/arm/boot/dts/bcm94709.dts
>>> b/arch/arm/boot/dts/bcm94709.dts
>>> new file mode 100644
>>> index 0000000..4ab19c0
>>> --- /dev/null
>>> +++ b/arch/arm/boot/dts/bcm94709.dts
>>> @@ -0,0 +1,56 @@
>>> +/*
>>> + *  BSD LICENSE
>>> + *
>>> + *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
>>> + *
>>> + *  Redistribution and use in source and binary forms, with or without
>>> + *  modification, are permitted provided that the following conditions
>>> + *  are met:
>>> + *
>>> + *    * Redistributions of source code must retain the above copyright
>>> + *      notice, this list of conditions and the following disclaimer.
>>> + *    * Redistributions in binary form must reproduce the above
>>> copyright
>>> + *      notice, this list of conditions and the following disclaimer in
>>> + *      the documentation and/or other materials provided with the
>>> + *      distribution.
>>> + *    * Neither the name of Broadcom Corporation nor the names of its
>>> + *      contributors may be used to endorse or promote products derived
>>> + *      from this software without specific prior written permission.
>>> + *
>>> + *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
>>> + *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
>>> + *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
>>> FITNESS FOR
>>> + *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
>>> COPYRIGHT
>>> + *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
>>> INCIDENTAL,
>>> + *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
>>> + *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
>>> USE,
>>> + *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
>>> ON ANY
>>> + *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
>>> + *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
>>> THE USE
>>> + *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
>>> DAMAGE.
>>> + */
>>> +
>>> +/dts-v1/;
>>> +
>>> +#include "bcm4708.dtsi"
>>> +
>>> +/ {
>>> +    model = "NorthStar SVK (BCM94709)";
>>> +    compatible = "brcm,bcm94709", "brcm,bcm4709", "brcm,bcm4708";
> no need for brcm,bcm94709
>>> +
>>> +    aliases {
>>> +        serial0 = &uart0;
>>> +    };
>>> +
>>> +    chosen {
>>> +        bootargs = "console=ttyS0,115200";
>>> +    };
>>> +
>>> +    memory {
>>> +        reg = <0x00000000 0x08000000>;
>>> +    };
>>> +};
>>> +
>>> +&uart0 {
>>> +    status = "okay";
>>> +};
>>> diff --git a/arch/arm/boot/dts/bcm953012k.dts
>>> b/arch/arm/boot/dts/bcm953012k.dts
>>> new file mode 100644
>>> index 0000000..a512c45
>>> --- /dev/null
>>> +++ b/arch/arm/boot/dts/bcm953012k.dts
>>> @@ -0,0 +1,63 @@
>>> +/*
>>> + *  BSD LICENSE
>>> + *
>>> + *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
>>> + *
>>> + *  Redistribution and use in source and binary forms, with or without
>>> + *  modification, are permitted provided that the following conditions
>>> + *  are met:
>>> + *
>>> + *    * Redistributions of source code must retain the above copyright
>>> + *      notice, this list of conditions and the following disclaimer.
>>> + *    * Redistributions in binary form must reproduce the above
>>> copyright
>>> + *      notice, this list of conditions and the following disclaimer in
>>> + *      the documentation and/or other materials provided with the
>>> + *      distribution.
>>> + *    * Neither the name of Broadcom Corporation nor the names of its
>>> + *      contributors may be used to endorse or promote products derived
>>> + *      from this software without specific prior written permission.
>>> + *
>>> + *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
>>> + *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
>>> + *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
>>> FITNESS FOR
>>> + *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
>>> COPYRIGHT
>>> + *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
>>> INCIDENTAL,
>>> + *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
>>> + *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
>>> USE,
>>> + *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
>>> ON ANY
>>> + *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
>>> + *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
>>> THE USE
>>> + *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
>>> DAMAGE.
>>> + */
>>> +
>>> +/dts-v1/;
>>> +
>>> +#include "bcm4708.dtsi"
>>> +
>>> +/ {
>>> +    model = "NorthStar SVK (BCM953012K)";
>>> +    compatible = "brcm,bcm953012k", "brcm,brcm53012", "brcm,bcm4708";
> no need for brcm,bcm953012k
>>> +
>>> +    aliases {
>>> +        serial0 = &uart0;
>>> +        serial1 = &uart1;
>>> +    };
>>> +
>>> +    chosen {
>>> +        bootargs = "console=ttyS0,115200";
>>> +    };
>>> +
>>> +    memory {
>>> +        reg = <0x00000000 0x10000000>;
>>> +    };
>>> +};
>>> +
>>> +&uart0 {
>>> +    clock-frequency = <62499840>;
>>> +    status = "okay";
>>> +};
>>> +
>>> +&uart1 {
>>> +    clock-frequency = <62499840>;
>>> +    status = "okay";
>>> +};
>>>
>>
> 

^ permalink raw reply	[flat|nested] 27+ messages in thread

* [PATCH v3 2/2] ARM: dts: bcm5301x: Add BCM SVK DT files
@ 2015-10-16 22:42         ` Hauke Mehrtens
  0 siblings, 0 replies; 27+ messages in thread
From: Hauke Mehrtens @ 2015-10-16 22:42 UTC (permalink / raw)
  To: linux-arm-kernel



On 10/17/2015 12:38 AM, Scott Branden wrote:
> Hi Jon,
> 
> No need for the board in the compatible string.

I think the board should be named here, so we could take some code
branches based on the board, if it would have bad wiring for example.

The device tree wiki says:
"The first string in the list specifies the exact device that the node
represents"
http://devicetree.org/Device_Tree_Usage#Understanding_the_compatible_Property

The exact device here is the board not the SoC.

Hauke

> 
> On 15-10-16 02:41 PM, Hauke Mehrtens wrote:
>> On 10/16/2015 12:24 AM, Jon Mason wrote:
>>> Add device tree files for Broadcom Northstar based SVKs.  Since the
>>> bcm5301x.dtsi already exists, all that is necessary is the dts files to
>>> enable the UARTs.  With these files, the SVKs are able to boot to shell.
>>>
>>> Signed-off-by: Jon Mason <jonmason@broadcom.com>
>>
>> Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
>>
>>> ---
>>>   arch/arm/boot/dts/Makefile       |  5 +++-
>>>   arch/arm/boot/dts/bcm94708.dts   | 56
>>> +++++++++++++++++++++++++++++++++++
>>>   arch/arm/boot/dts/bcm94709.dts   | 56
>>> +++++++++++++++++++++++++++++++++++
>>>   arch/arm/boot/dts/bcm953012k.dts | 63
>>> ++++++++++++++++++++++++++++++++++++++++
>>>   4 files changed, 179 insertions(+), 1 deletion(-)
>>>   create mode 100644 arch/arm/boot/dts/bcm94708.dts
>>>   create mode 100644 arch/arm/boot/dts/bcm94709.dts
>>>   create mode 100644 arch/arm/boot/dts/bcm953012k.dts
>>>
>>> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
>>> index 233159d..96a1b58 100644
>>> --- a/arch/arm/boot/dts/Makefile
>>> +++ b/arch/arm/boot/dts/Makefile
>>> @@ -72,7 +72,10 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
>>>       bcm47081-buffalo-wzr-900dhp.dtb \
>>>       bcm4709-asus-rt-ac87u.dtb \
>>>       bcm4709-buffalo-wxr-1900dhp.dtb \
>>> -    bcm4709-netgear-r8000.dtb
>>> +    bcm4709-netgear-r8000.dtb \
>>> +    bcm94708.dtb \
>>> +    bcm94709.dtb \
>>> +    bcm953012k.dtb
>>>   dtb-$(CONFIG_ARCH_BCM_63XX) += \
>>>       bcm963138dvt.dtb
>>>   dtb-$(CONFIG_ARCH_BCM_CYGNUS) += \
>>> diff --git a/arch/arm/boot/dts/bcm94708.dts
>>> b/arch/arm/boot/dts/bcm94708.dts
>>> new file mode 100644
>>> index 0000000..49682d6
>>> --- /dev/null
>>> +++ b/arch/arm/boot/dts/bcm94708.dts
>>> @@ -0,0 +1,56 @@
>>> +/*
>>> + *  BSD LICENSE
>>> + *
>>> + *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
>>> + *
>>> + *  Redistribution and use in source and binary forms, with or without
>>> + *  modification, are permitted provided that the following conditions
>>> + *  are met:
>>> + *
>>> + *    * Redistributions of source code must retain the above copyright
>>> + *      notice, this list of conditions and the following disclaimer.
>>> + *    * Redistributions in binary form must reproduce the above
>>> copyright
>>> + *      notice, this list of conditions and the following disclaimer in
>>> + *      the documentation and/or other materials provided with the
>>> + *      distribution.
>>> + *    * Neither the name of Broadcom Corporation nor the names of its
>>> + *      contributors may be used to endorse or promote products derived
>>> + *      from this software without specific prior written permission.
>>> + *
>>> + *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
>>> + *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
>>> + *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
>>> FITNESS FOR
>>> + *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
>>> COPYRIGHT
>>> + *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
>>> INCIDENTAL,
>>> + *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
>>> + *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
>>> USE,
>>> + *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
>>> ON ANY
>>> + *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
>>> + *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
>>> THE USE
>>> + *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
>>> DAMAGE.
>>> + */
>>> +
>>> +/dts-v1/;
>>> +
>>> +#include "bcm4708.dtsi"
>>> +
>>> +/ {
>>> +    model = "NorthStar SVK (BCM94708)";
>>> +    compatible = "brcm,bcm94708", "brcm,bcm4708";
> no need for brcm,bcm94708
>>> +
>>> +    aliases {
>>> +        serial0 = &uart0;
>>> +    };
>>> +
>>> +    chosen {
>>> +        bootargs = "console=ttyS0,115200";
>>> +    };
>>> +
>>> +    memory {
>>> +        reg = <0x00000000 0x08000000>;
>>> +    };
>>> +};
>>> +
>>> +&uart0 {
>>> +    status = "okay";
>>> +};
>>> diff --git a/arch/arm/boot/dts/bcm94709.dts
>>> b/arch/arm/boot/dts/bcm94709.dts
>>> new file mode 100644
>>> index 0000000..4ab19c0
>>> --- /dev/null
>>> +++ b/arch/arm/boot/dts/bcm94709.dts
>>> @@ -0,0 +1,56 @@
>>> +/*
>>> + *  BSD LICENSE
>>> + *
>>> + *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
>>> + *
>>> + *  Redistribution and use in source and binary forms, with or without
>>> + *  modification, are permitted provided that the following conditions
>>> + *  are met:
>>> + *
>>> + *    * Redistributions of source code must retain the above copyright
>>> + *      notice, this list of conditions and the following disclaimer.
>>> + *    * Redistributions in binary form must reproduce the above
>>> copyright
>>> + *      notice, this list of conditions and the following disclaimer in
>>> + *      the documentation and/or other materials provided with the
>>> + *      distribution.
>>> + *    * Neither the name of Broadcom Corporation nor the names of its
>>> + *      contributors may be used to endorse or promote products derived
>>> + *      from this software without specific prior written permission.
>>> + *
>>> + *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
>>> + *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
>>> + *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
>>> FITNESS FOR
>>> + *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
>>> COPYRIGHT
>>> + *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
>>> INCIDENTAL,
>>> + *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
>>> + *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
>>> USE,
>>> + *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
>>> ON ANY
>>> + *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
>>> + *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
>>> THE USE
>>> + *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
>>> DAMAGE.
>>> + */
>>> +
>>> +/dts-v1/;
>>> +
>>> +#include "bcm4708.dtsi"
>>> +
>>> +/ {
>>> +    model = "NorthStar SVK (BCM94709)";
>>> +    compatible = "brcm,bcm94709", "brcm,bcm4709", "brcm,bcm4708";
> no need for brcm,bcm94709
>>> +
>>> +    aliases {
>>> +        serial0 = &uart0;
>>> +    };
>>> +
>>> +    chosen {
>>> +        bootargs = "console=ttyS0,115200";
>>> +    };
>>> +
>>> +    memory {
>>> +        reg = <0x00000000 0x08000000>;
>>> +    };
>>> +};
>>> +
>>> +&uart0 {
>>> +    status = "okay";
>>> +};
>>> diff --git a/arch/arm/boot/dts/bcm953012k.dts
>>> b/arch/arm/boot/dts/bcm953012k.dts
>>> new file mode 100644
>>> index 0000000..a512c45
>>> --- /dev/null
>>> +++ b/arch/arm/boot/dts/bcm953012k.dts
>>> @@ -0,0 +1,63 @@
>>> +/*
>>> + *  BSD LICENSE
>>> + *
>>> + *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
>>> + *
>>> + *  Redistribution and use in source and binary forms, with or without
>>> + *  modification, are permitted provided that the following conditions
>>> + *  are met:
>>> + *
>>> + *    * Redistributions of source code must retain the above copyright
>>> + *      notice, this list of conditions and the following disclaimer.
>>> + *    * Redistributions in binary form must reproduce the above
>>> copyright
>>> + *      notice, this list of conditions and the following disclaimer in
>>> + *      the documentation and/or other materials provided with the
>>> + *      distribution.
>>> + *    * Neither the name of Broadcom Corporation nor the names of its
>>> + *      contributors may be used to endorse or promote products derived
>>> + *      from this software without specific prior written permission.
>>> + *
>>> + *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
>>> + *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
>>> + *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
>>> FITNESS FOR
>>> + *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
>>> COPYRIGHT
>>> + *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
>>> INCIDENTAL,
>>> + *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
>>> + *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
>>> USE,
>>> + *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
>>> ON ANY
>>> + *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
>>> + *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
>>> THE USE
>>> + *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
>>> DAMAGE.
>>> + */
>>> +
>>> +/dts-v1/;
>>> +
>>> +#include "bcm4708.dtsi"
>>> +
>>> +/ {
>>> +    model = "NorthStar SVK (BCM953012K)";
>>> +    compatible = "brcm,bcm953012k", "brcm,brcm53012", "brcm,bcm4708";
> no need for brcm,bcm953012k
>>> +
>>> +    aliases {
>>> +        serial0 = &uart0;
>>> +        serial1 = &uart1;
>>> +    };
>>> +
>>> +    chosen {
>>> +        bootargs = "console=ttyS0,115200";
>>> +    };
>>> +
>>> +    memory {
>>> +        reg = <0x00000000 0x10000000>;
>>> +    };
>>> +};
>>> +
>>> +&uart0 {
>>> +    clock-frequency = <62499840>;
>>> +    status = "okay";
>>> +};
>>> +
>>> +&uart1 {
>>> +    clock-frequency = <62499840>;
>>> +    status = "okay";
>>> +};
>>>
>>
> 

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PATCH v3 2/2] ARM: dts: bcm5301x: Add BCM SVK DT files
  2015-10-16 22:42         ` Hauke Mehrtens
  (?)
@ 2015-10-16 22:51           ` Scott Branden
  -1 siblings, 0 replies; 27+ messages in thread
From: Scott Branden @ 2015-10-16 22:51 UTC (permalink / raw)
  To: Hauke Mehrtens, Jon Mason, Florian Fainelli, Rob Herring,
	Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala, Russell King
  Cc: devicetree, linux-arm-kernel, linux-kernel, bcm-kernel-feedback-list

Hi Hauke,


On 15-10-16 03:42 PM, Hauke Mehrtens wrote:
>
>
> On 10/17/2015 12:38 AM, Scott Branden wrote:
>> Hi Jon,
>>
>> No need for the board in the compatible string.
>
> I think the board should be named here, so we could take some code
> branches based on the board, if it would have bad wiring for example.
>
> The device tree wiki says:
> "The first string in the list specifies the exact device that the node
> represents"
> http://devicetree.org/Device_Tree_Usage#Understanding_the_compatible_Property
>
> The exact device here is the board not the SoC.

Thanks for link to understand this compatible string more.

>
> Hauke
>
>>
>> On 15-10-16 02:41 PM, Hauke Mehrtens wrote:
>>> On 10/16/2015 12:24 AM, Jon Mason wrote:
>>>> Add device tree files for Broadcom Northstar based SVKs.  Since the
>>>> bcm5301x.dtsi already exists, all that is necessary is the dts files to
>>>> enable the UARTs.  With these files, the SVKs are able to boot to shell.
>>>>
>>>> Signed-off-by: Jon Mason <jonmason@broadcom.com>
>>>
>>> Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Acked-by: Scott Branden <sbranden@broadcom.com>

>>>
>>>> ---
>>>>    arch/arm/boot/dts/Makefile       |  5 +++-
>>>>    arch/arm/boot/dts/bcm94708.dts   | 56
>>>> +++++++++++++++++++++++++++++++++++
>>>>    arch/arm/boot/dts/bcm94709.dts   | 56
>>>> +++++++++++++++++++++++++++++++++++
>>>>    arch/arm/boot/dts/bcm953012k.dts | 63
>>>> ++++++++++++++++++++++++++++++++++++++++
>>>>    4 files changed, 179 insertions(+), 1 deletion(-)
>>>>    create mode 100644 arch/arm/boot/dts/bcm94708.dts
>>>>    create mode 100644 arch/arm/boot/dts/bcm94709.dts
>>>>    create mode 100644 arch/arm/boot/dts/bcm953012k.dts
>>>>
>>>> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
>>>> index 233159d..96a1b58 100644
>>>> --- a/arch/arm/boot/dts/Makefile
>>>> +++ b/arch/arm/boot/dts/Makefile
>>>> @@ -72,7 +72,10 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
>>>>        bcm47081-buffalo-wzr-900dhp.dtb \
>>>>        bcm4709-asus-rt-ac87u.dtb \
>>>>        bcm4709-buffalo-wxr-1900dhp.dtb \
>>>> -    bcm4709-netgear-r8000.dtb
>>>> +    bcm4709-netgear-r8000.dtb \
>>>> +    bcm94708.dtb \
>>>> +    bcm94709.dtb \
>>>> +    bcm953012k.dtb
>>>>    dtb-$(CONFIG_ARCH_BCM_63XX) += \
>>>>        bcm963138dvt.dtb
>>>>    dtb-$(CONFIG_ARCH_BCM_CYGNUS) += \
>>>> diff --git a/arch/arm/boot/dts/bcm94708.dts
>>>> b/arch/arm/boot/dts/bcm94708.dts
>>>> new file mode 100644
>>>> index 0000000..49682d6
>>>> --- /dev/null
>>>> +++ b/arch/arm/boot/dts/bcm94708.dts
>>>> @@ -0,0 +1,56 @@
>>>> +/*
>>>> + *  BSD LICENSE
>>>> + *
>>>> + *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
>>>> + *
>>>> + *  Redistribution and use in source and binary forms, with or without
>>>> + *  modification, are permitted provided that the following conditions
>>>> + *  are met:
>>>> + *
>>>> + *    * Redistributions of source code must retain the above copyright
>>>> + *      notice, this list of conditions and the following disclaimer.
>>>> + *    * Redistributions in binary form must reproduce the above
>>>> copyright
>>>> + *      notice, this list of conditions and the following disclaimer in
>>>> + *      the documentation and/or other materials provided with the
>>>> + *      distribution.
>>>> + *    * Neither the name of Broadcom Corporation nor the names of its
>>>> + *      contributors may be used to endorse or promote products derived
>>>> + *      from this software without specific prior written permission.
>>>> + *
>>>> + *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
>>>> + *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
>>>> + *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
>>>> FITNESS FOR
>>>> + *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
>>>> COPYRIGHT
>>>> + *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
>>>> INCIDENTAL,
>>>> + *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
>>>> + *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
>>>> USE,
>>>> + *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
>>>> ON ANY
>>>> + *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
>>>> + *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
>>>> THE USE
>>>> + *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
>>>> DAMAGE.
>>>> + */
>>>> +
>>>> +/dts-v1/;
>>>> +
>>>> +#include "bcm4708.dtsi"
>>>> +
>>>> +/ {
>>>> +    model = "NorthStar SVK (BCM94708)";
>>>> +    compatible = "brcm,bcm94708", "brcm,bcm4708";
>> no need for brcm,bcm94708
>>>> +
>>>> +    aliases {
>>>> +        serial0 = &uart0;
>>>> +    };
>>>> +
>>>> +    chosen {
>>>> +        bootargs = "console=ttyS0,115200";
>>>> +    };
>>>> +
>>>> +    memory {
>>>> +        reg = <0x00000000 0x08000000>;
>>>> +    };
>>>> +};
>>>> +
>>>> +&uart0 {
>>>> +    status = "okay";
>>>> +};
>>>> diff --git a/arch/arm/boot/dts/bcm94709.dts
>>>> b/arch/arm/boot/dts/bcm94709.dts
>>>> new file mode 100644
>>>> index 0000000..4ab19c0
>>>> --- /dev/null
>>>> +++ b/arch/arm/boot/dts/bcm94709.dts
>>>> @@ -0,0 +1,56 @@
>>>> +/*
>>>> + *  BSD LICENSE
>>>> + *
>>>> + *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
>>>> + *
>>>> + *  Redistribution and use in source and binary forms, with or without
>>>> + *  modification, are permitted provided that the following conditions
>>>> + *  are met:
>>>> + *
>>>> + *    * Redistributions of source code must retain the above copyright
>>>> + *      notice, this list of conditions and the following disclaimer.
>>>> + *    * Redistributions in binary form must reproduce the above
>>>> copyright
>>>> + *      notice, this list of conditions and the following disclaimer in
>>>> + *      the documentation and/or other materials provided with the
>>>> + *      distribution.
>>>> + *    * Neither the name of Broadcom Corporation nor the names of its
>>>> + *      contributors may be used to endorse or promote products derived
>>>> + *      from this software without specific prior written permission.
>>>> + *
>>>> + *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
>>>> + *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
>>>> + *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
>>>> FITNESS FOR
>>>> + *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
>>>> COPYRIGHT
>>>> + *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
>>>> INCIDENTAL,
>>>> + *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
>>>> + *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
>>>> USE,
>>>> + *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
>>>> ON ANY
>>>> + *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
>>>> + *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
>>>> THE USE
>>>> + *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
>>>> DAMAGE.
>>>> + */
>>>> +
>>>> +/dts-v1/;
>>>> +
>>>> +#include "bcm4708.dtsi"
>>>> +
>>>> +/ {
>>>> +    model = "NorthStar SVK (BCM94709)";
>>>> +    compatible = "brcm,bcm94709", "brcm,bcm4709", "brcm,bcm4708";
>> no need for brcm,bcm94709
>>>> +
>>>> +    aliases {
>>>> +        serial0 = &uart0;
>>>> +    };
>>>> +
>>>> +    chosen {
>>>> +        bootargs = "console=ttyS0,115200";
>>>> +    };
>>>> +
>>>> +    memory {
>>>> +        reg = <0x00000000 0x08000000>;
>>>> +    };
>>>> +};
>>>> +
>>>> +&uart0 {
>>>> +    status = "okay";
>>>> +};
>>>> diff --git a/arch/arm/boot/dts/bcm953012k.dts
>>>> b/arch/arm/boot/dts/bcm953012k.dts
>>>> new file mode 100644
>>>> index 0000000..a512c45
>>>> --- /dev/null
>>>> +++ b/arch/arm/boot/dts/bcm953012k.dts
>>>> @@ -0,0 +1,63 @@
>>>> +/*
>>>> + *  BSD LICENSE
>>>> + *
>>>> + *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
>>>> + *
>>>> + *  Redistribution and use in source and binary forms, with or without
>>>> + *  modification, are permitted provided that the following conditions
>>>> + *  are met:
>>>> + *
>>>> + *    * Redistributions of source code must retain the above copyright
>>>> + *      notice, this list of conditions and the following disclaimer.
>>>> + *    * Redistributions in binary form must reproduce the above
>>>> copyright
>>>> + *      notice, this list of conditions and the following disclaimer in
>>>> + *      the documentation and/or other materials provided with the
>>>> + *      distribution.
>>>> + *    * Neither the name of Broadcom Corporation nor the names of its
>>>> + *      contributors may be used to endorse or promote products derived
>>>> + *      from this software without specific prior written permission.
>>>> + *
>>>> + *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
>>>> + *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
>>>> + *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
>>>> FITNESS FOR
>>>> + *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
>>>> COPYRIGHT
>>>> + *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
>>>> INCIDENTAL,
>>>> + *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
>>>> + *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
>>>> USE,
>>>> + *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
>>>> ON ANY
>>>> + *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
>>>> + *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
>>>> THE USE
>>>> + *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
>>>> DAMAGE.
>>>> + */
>>>> +
>>>> +/dts-v1/;
>>>> +
>>>> +#include "bcm4708.dtsi"
>>>> +
>>>> +/ {
>>>> +    model = "NorthStar SVK (BCM953012K)";
>>>> +    compatible = "brcm,bcm953012k", "brcm,brcm53012", "brcm,bcm4708";
>> no need for brcm,bcm953012k
>>>> +
>>>> +    aliases {
>>>> +        serial0 = &uart0;
>>>> +        serial1 = &uart1;
>>>> +    };
>>>> +
>>>> +    chosen {
>>>> +        bootargs = "console=ttyS0,115200";
>>>> +    };
>>>> +
>>>> +    memory {
>>>> +        reg = <0x00000000 0x10000000>;
>>>> +    };
>>>> +};
>>>> +
>>>> +&uart0 {
>>>> +    clock-frequency = <62499840>;
>>>> +    status = "okay";
>>>> +};
>>>> +
>>>> +&uart1 {
>>>> +    clock-frequency = <62499840>;
>>>> +    status = "okay";
>>>> +};
>>>>
>>>
>>


^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PATCH v3 2/2] ARM: dts: bcm5301x: Add BCM SVK DT files
@ 2015-10-16 22:51           ` Scott Branden
  0 siblings, 0 replies; 27+ messages in thread
From: Scott Branden @ 2015-10-16 22:51 UTC (permalink / raw)
  To: Hauke Mehrtens, Jon Mason, Florian Fainelli, Rob Herring,
	Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala, Russell King
  Cc: devicetree, linux-arm-kernel, linux-kernel, bcm-kernel-feedback-list

Hi Hauke,


On 15-10-16 03:42 PM, Hauke Mehrtens wrote:
>
>
> On 10/17/2015 12:38 AM, Scott Branden wrote:
>> Hi Jon,
>>
>> No need for the board in the compatible string.
>
> I think the board should be named here, so we could take some code
> branches based on the board, if it would have bad wiring for example.
>
> The device tree wiki says:
> "The first string in the list specifies the exact device that the node
> represents"
> http://devicetree.org/Device_Tree_Usage#Understanding_the_compatible_Property
>
> The exact device here is the board not the SoC.

Thanks for link to understand this compatible string more.

>
> Hauke
>
>>
>> On 15-10-16 02:41 PM, Hauke Mehrtens wrote:
>>> On 10/16/2015 12:24 AM, Jon Mason wrote:
>>>> Add device tree files for Broadcom Northstar based SVKs.  Since the
>>>> bcm5301x.dtsi already exists, all that is necessary is the dts files to
>>>> enable the UARTs.  With these files, the SVKs are able to boot to shell.
>>>>
>>>> Signed-off-by: Jon Mason <jonmason@broadcom.com>
>>>
>>> Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Acked-by: Scott Branden <sbranden@broadcom.com>

>>>
>>>> ---
>>>>    arch/arm/boot/dts/Makefile       |  5 +++-
>>>>    arch/arm/boot/dts/bcm94708.dts   | 56
>>>> +++++++++++++++++++++++++++++++++++
>>>>    arch/arm/boot/dts/bcm94709.dts   | 56
>>>> +++++++++++++++++++++++++++++++++++
>>>>    arch/arm/boot/dts/bcm953012k.dts | 63
>>>> ++++++++++++++++++++++++++++++++++++++++
>>>>    4 files changed, 179 insertions(+), 1 deletion(-)
>>>>    create mode 100644 arch/arm/boot/dts/bcm94708.dts
>>>>    create mode 100644 arch/arm/boot/dts/bcm94709.dts
>>>>    create mode 100644 arch/arm/boot/dts/bcm953012k.dts
>>>>
>>>> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
>>>> index 233159d..96a1b58 100644
>>>> --- a/arch/arm/boot/dts/Makefile
>>>> +++ b/arch/arm/boot/dts/Makefile
>>>> @@ -72,7 +72,10 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
>>>>        bcm47081-buffalo-wzr-900dhp.dtb \
>>>>        bcm4709-asus-rt-ac87u.dtb \
>>>>        bcm4709-buffalo-wxr-1900dhp.dtb \
>>>> -    bcm4709-netgear-r8000.dtb
>>>> +    bcm4709-netgear-r8000.dtb \
>>>> +    bcm94708.dtb \
>>>> +    bcm94709.dtb \
>>>> +    bcm953012k.dtb
>>>>    dtb-$(CONFIG_ARCH_BCM_63XX) += \
>>>>        bcm963138dvt.dtb
>>>>    dtb-$(CONFIG_ARCH_BCM_CYGNUS) += \
>>>> diff --git a/arch/arm/boot/dts/bcm94708.dts
>>>> b/arch/arm/boot/dts/bcm94708.dts
>>>> new file mode 100644
>>>> index 0000000..49682d6
>>>> --- /dev/null
>>>> +++ b/arch/arm/boot/dts/bcm94708.dts
>>>> @@ -0,0 +1,56 @@
>>>> +/*
>>>> + *  BSD LICENSE
>>>> + *
>>>> + *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
>>>> + *
>>>> + *  Redistribution and use in source and binary forms, with or without
>>>> + *  modification, are permitted provided that the following conditions
>>>> + *  are met:
>>>> + *
>>>> + *    * Redistributions of source code must retain the above copyright
>>>> + *      notice, this list of conditions and the following disclaimer.
>>>> + *    * Redistributions in binary form must reproduce the above
>>>> copyright
>>>> + *      notice, this list of conditions and the following disclaimer in
>>>> + *      the documentation and/or other materials provided with the
>>>> + *      distribution.
>>>> + *    * Neither the name of Broadcom Corporation nor the names of its
>>>> + *      contributors may be used to endorse or promote products derived
>>>> + *      from this software without specific prior written permission.
>>>> + *
>>>> + *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
>>>> + *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
>>>> + *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
>>>> FITNESS FOR
>>>> + *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
>>>> COPYRIGHT
>>>> + *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
>>>> INCIDENTAL,
>>>> + *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
>>>> + *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
>>>> USE,
>>>> + *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
>>>> ON ANY
>>>> + *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
>>>> + *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
>>>> THE USE
>>>> + *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
>>>> DAMAGE.
>>>> + */
>>>> +
>>>> +/dts-v1/;
>>>> +
>>>> +#include "bcm4708.dtsi"
>>>> +
>>>> +/ {
>>>> +    model = "NorthStar SVK (BCM94708)";
>>>> +    compatible = "brcm,bcm94708", "brcm,bcm4708";
>> no need for brcm,bcm94708
>>>> +
>>>> +    aliases {
>>>> +        serial0 = &uart0;
>>>> +    };
>>>> +
>>>> +    chosen {
>>>> +        bootargs = "console=ttyS0,115200";
>>>> +    };
>>>> +
>>>> +    memory {
>>>> +        reg = <0x00000000 0x08000000>;
>>>> +    };
>>>> +};
>>>> +
>>>> +&uart0 {
>>>> +    status = "okay";
>>>> +};
>>>> diff --git a/arch/arm/boot/dts/bcm94709.dts
>>>> b/arch/arm/boot/dts/bcm94709.dts
>>>> new file mode 100644
>>>> index 0000000..4ab19c0
>>>> --- /dev/null
>>>> +++ b/arch/arm/boot/dts/bcm94709.dts
>>>> @@ -0,0 +1,56 @@
>>>> +/*
>>>> + *  BSD LICENSE
>>>> + *
>>>> + *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
>>>> + *
>>>> + *  Redistribution and use in source and binary forms, with or without
>>>> + *  modification, are permitted provided that the following conditions
>>>> + *  are met:
>>>> + *
>>>> + *    * Redistributions of source code must retain the above copyright
>>>> + *      notice, this list of conditions and the following disclaimer.
>>>> + *    * Redistributions in binary form must reproduce the above
>>>> copyright
>>>> + *      notice, this list of conditions and the following disclaimer in
>>>> + *      the documentation and/or other materials provided with the
>>>> + *      distribution.
>>>> + *    * Neither the name of Broadcom Corporation nor the names of its
>>>> + *      contributors may be used to endorse or promote products derived
>>>> + *      from this software without specific prior written permission.
>>>> + *
>>>> + *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
>>>> + *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
>>>> + *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
>>>> FITNESS FOR
>>>> + *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
>>>> COPYRIGHT
>>>> + *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
>>>> INCIDENTAL,
>>>> + *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
>>>> + *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
>>>> USE,
>>>> + *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
>>>> ON ANY
>>>> + *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
>>>> + *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
>>>> THE USE
>>>> + *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
>>>> DAMAGE.
>>>> + */
>>>> +
>>>> +/dts-v1/;
>>>> +
>>>> +#include "bcm4708.dtsi"
>>>> +
>>>> +/ {
>>>> +    model = "NorthStar SVK (BCM94709)";
>>>> +    compatible = "brcm,bcm94709", "brcm,bcm4709", "brcm,bcm4708";
>> no need for brcm,bcm94709
>>>> +
>>>> +    aliases {
>>>> +        serial0 = &uart0;
>>>> +    };
>>>> +
>>>> +    chosen {
>>>> +        bootargs = "console=ttyS0,115200";
>>>> +    };
>>>> +
>>>> +    memory {
>>>> +        reg = <0x00000000 0x08000000>;
>>>> +    };
>>>> +};
>>>> +
>>>> +&uart0 {
>>>> +    status = "okay";
>>>> +};
>>>> diff --git a/arch/arm/boot/dts/bcm953012k.dts
>>>> b/arch/arm/boot/dts/bcm953012k.dts
>>>> new file mode 100644
>>>> index 0000000..a512c45
>>>> --- /dev/null
>>>> +++ b/arch/arm/boot/dts/bcm953012k.dts
>>>> @@ -0,0 +1,63 @@
>>>> +/*
>>>> + *  BSD LICENSE
>>>> + *
>>>> + *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
>>>> + *
>>>> + *  Redistribution and use in source and binary forms, with or without
>>>> + *  modification, are permitted provided that the following conditions
>>>> + *  are met:
>>>> + *
>>>> + *    * Redistributions of source code must retain the above copyright
>>>> + *      notice, this list of conditions and the following disclaimer.
>>>> + *    * Redistributions in binary form must reproduce the above
>>>> copyright
>>>> + *      notice, this list of conditions and the following disclaimer in
>>>> + *      the documentation and/or other materials provided with the
>>>> + *      distribution.
>>>> + *    * Neither the name of Broadcom Corporation nor the names of its
>>>> + *      contributors may be used to endorse or promote products derived
>>>> + *      from this software without specific prior written permission.
>>>> + *
>>>> + *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
>>>> + *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
>>>> + *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
>>>> FITNESS FOR
>>>> + *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
>>>> COPYRIGHT
>>>> + *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
>>>> INCIDENTAL,
>>>> + *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
>>>> + *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
>>>> USE,
>>>> + *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
>>>> ON ANY
>>>> + *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
>>>> + *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
>>>> THE USE
>>>> + *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
>>>> DAMAGE.
>>>> + */
>>>> +
>>>> +/dts-v1/;
>>>> +
>>>> +#include "bcm4708.dtsi"
>>>> +
>>>> +/ {
>>>> +    model = "NorthStar SVK (BCM953012K)";
>>>> +    compatible = "brcm,bcm953012k", "brcm,brcm53012", "brcm,bcm4708";
>> no need for brcm,bcm953012k
>>>> +
>>>> +    aliases {
>>>> +        serial0 = &uart0;
>>>> +        serial1 = &uart1;
>>>> +    };
>>>> +
>>>> +    chosen {
>>>> +        bootargs = "console=ttyS0,115200";
>>>> +    };
>>>> +
>>>> +    memory {
>>>> +        reg = <0x00000000 0x10000000>;
>>>> +    };
>>>> +};
>>>> +
>>>> +&uart0 {
>>>> +    clock-frequency = <62499840>;
>>>> +    status = "okay";
>>>> +};
>>>> +
>>>> +&uart1 {
>>>> +    clock-frequency = <62499840>;
>>>> +    status = "okay";
>>>> +};
>>>>
>>>
>>

^ permalink raw reply	[flat|nested] 27+ messages in thread

* [PATCH v3 2/2] ARM: dts: bcm5301x: Add BCM SVK DT files
@ 2015-10-16 22:51           ` Scott Branden
  0 siblings, 0 replies; 27+ messages in thread
From: Scott Branden @ 2015-10-16 22:51 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Hauke,


On 15-10-16 03:42 PM, Hauke Mehrtens wrote:
>
>
> On 10/17/2015 12:38 AM, Scott Branden wrote:
>> Hi Jon,
>>
>> No need for the board in the compatible string.
>
> I think the board should be named here, so we could take some code
> branches based on the board, if it would have bad wiring for example.
>
> The device tree wiki says:
> "The first string in the list specifies the exact device that the node
> represents"
> http://devicetree.org/Device_Tree_Usage#Understanding_the_compatible_Property
>
> The exact device here is the board not the SoC.

Thanks for link to understand this compatible string more.

>
> Hauke
>
>>
>> On 15-10-16 02:41 PM, Hauke Mehrtens wrote:
>>> On 10/16/2015 12:24 AM, Jon Mason wrote:
>>>> Add device tree files for Broadcom Northstar based SVKs.  Since the
>>>> bcm5301x.dtsi already exists, all that is necessary is the dts files to
>>>> enable the UARTs.  With these files, the SVKs are able to boot to shell.
>>>>
>>>> Signed-off-by: Jon Mason <jonmason@broadcom.com>
>>>
>>> Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Acked-by: Scott Branden <sbranden@broadcom.com>

>>>
>>>> ---
>>>>    arch/arm/boot/dts/Makefile       |  5 +++-
>>>>    arch/arm/boot/dts/bcm94708.dts   | 56
>>>> +++++++++++++++++++++++++++++++++++
>>>>    arch/arm/boot/dts/bcm94709.dts   | 56
>>>> +++++++++++++++++++++++++++++++++++
>>>>    arch/arm/boot/dts/bcm953012k.dts | 63
>>>> ++++++++++++++++++++++++++++++++++++++++
>>>>    4 files changed, 179 insertions(+), 1 deletion(-)
>>>>    create mode 100644 arch/arm/boot/dts/bcm94708.dts
>>>>    create mode 100644 arch/arm/boot/dts/bcm94709.dts
>>>>    create mode 100644 arch/arm/boot/dts/bcm953012k.dts
>>>>
>>>> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
>>>> index 233159d..96a1b58 100644
>>>> --- a/arch/arm/boot/dts/Makefile
>>>> +++ b/arch/arm/boot/dts/Makefile
>>>> @@ -72,7 +72,10 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
>>>>        bcm47081-buffalo-wzr-900dhp.dtb \
>>>>        bcm4709-asus-rt-ac87u.dtb \
>>>>        bcm4709-buffalo-wxr-1900dhp.dtb \
>>>> -    bcm4709-netgear-r8000.dtb
>>>> +    bcm4709-netgear-r8000.dtb \
>>>> +    bcm94708.dtb \
>>>> +    bcm94709.dtb \
>>>> +    bcm953012k.dtb
>>>>    dtb-$(CONFIG_ARCH_BCM_63XX) += \
>>>>        bcm963138dvt.dtb
>>>>    dtb-$(CONFIG_ARCH_BCM_CYGNUS) += \
>>>> diff --git a/arch/arm/boot/dts/bcm94708.dts
>>>> b/arch/arm/boot/dts/bcm94708.dts
>>>> new file mode 100644
>>>> index 0000000..49682d6
>>>> --- /dev/null
>>>> +++ b/arch/arm/boot/dts/bcm94708.dts
>>>> @@ -0,0 +1,56 @@
>>>> +/*
>>>> + *  BSD LICENSE
>>>> + *
>>>> + *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
>>>> + *
>>>> + *  Redistribution and use in source and binary forms, with or without
>>>> + *  modification, are permitted provided that the following conditions
>>>> + *  are met:
>>>> + *
>>>> + *    * Redistributions of source code must retain the above copyright
>>>> + *      notice, this list of conditions and the following disclaimer.
>>>> + *    * Redistributions in binary form must reproduce the above
>>>> copyright
>>>> + *      notice, this list of conditions and the following disclaimer in
>>>> + *      the documentation and/or other materials provided with the
>>>> + *      distribution.
>>>> + *    * Neither the name of Broadcom Corporation nor the names of its
>>>> + *      contributors may be used to endorse or promote products derived
>>>> + *      from this software without specific prior written permission.
>>>> + *
>>>> + *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
>>>> + *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
>>>> + *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
>>>> FITNESS FOR
>>>> + *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
>>>> COPYRIGHT
>>>> + *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
>>>> INCIDENTAL,
>>>> + *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
>>>> + *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
>>>> USE,
>>>> + *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
>>>> ON ANY
>>>> + *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
>>>> + *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
>>>> THE USE
>>>> + *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
>>>> DAMAGE.
>>>> + */
>>>> +
>>>> +/dts-v1/;
>>>> +
>>>> +#include "bcm4708.dtsi"
>>>> +
>>>> +/ {
>>>> +    model = "NorthStar SVK (BCM94708)";
>>>> +    compatible = "brcm,bcm94708", "brcm,bcm4708";
>> no need for brcm,bcm94708
>>>> +
>>>> +    aliases {
>>>> +        serial0 = &uart0;
>>>> +    };
>>>> +
>>>> +    chosen {
>>>> +        bootargs = "console=ttyS0,115200";
>>>> +    };
>>>> +
>>>> +    memory {
>>>> +        reg = <0x00000000 0x08000000>;
>>>> +    };
>>>> +};
>>>> +
>>>> +&uart0 {
>>>> +    status = "okay";
>>>> +};
>>>> diff --git a/arch/arm/boot/dts/bcm94709.dts
>>>> b/arch/arm/boot/dts/bcm94709.dts
>>>> new file mode 100644
>>>> index 0000000..4ab19c0
>>>> --- /dev/null
>>>> +++ b/arch/arm/boot/dts/bcm94709.dts
>>>> @@ -0,0 +1,56 @@
>>>> +/*
>>>> + *  BSD LICENSE
>>>> + *
>>>> + *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
>>>> + *
>>>> + *  Redistribution and use in source and binary forms, with or without
>>>> + *  modification, are permitted provided that the following conditions
>>>> + *  are met:
>>>> + *
>>>> + *    * Redistributions of source code must retain the above copyright
>>>> + *      notice, this list of conditions and the following disclaimer.
>>>> + *    * Redistributions in binary form must reproduce the above
>>>> copyright
>>>> + *      notice, this list of conditions and the following disclaimer in
>>>> + *      the documentation and/or other materials provided with the
>>>> + *      distribution.
>>>> + *    * Neither the name of Broadcom Corporation nor the names of its
>>>> + *      contributors may be used to endorse or promote products derived
>>>> + *      from this software without specific prior written permission.
>>>> + *
>>>> + *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
>>>> + *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
>>>> + *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
>>>> FITNESS FOR
>>>> + *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
>>>> COPYRIGHT
>>>> + *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
>>>> INCIDENTAL,
>>>> + *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
>>>> + *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
>>>> USE,
>>>> + *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
>>>> ON ANY
>>>> + *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
>>>> + *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
>>>> THE USE
>>>> + *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
>>>> DAMAGE.
>>>> + */
>>>> +
>>>> +/dts-v1/;
>>>> +
>>>> +#include "bcm4708.dtsi"
>>>> +
>>>> +/ {
>>>> +    model = "NorthStar SVK (BCM94709)";
>>>> +    compatible = "brcm,bcm94709", "brcm,bcm4709", "brcm,bcm4708";
>> no need for brcm,bcm94709
>>>> +
>>>> +    aliases {
>>>> +        serial0 = &uart0;
>>>> +    };
>>>> +
>>>> +    chosen {
>>>> +        bootargs = "console=ttyS0,115200";
>>>> +    };
>>>> +
>>>> +    memory {
>>>> +        reg = <0x00000000 0x08000000>;
>>>> +    };
>>>> +};
>>>> +
>>>> +&uart0 {
>>>> +    status = "okay";
>>>> +};
>>>> diff --git a/arch/arm/boot/dts/bcm953012k.dts
>>>> b/arch/arm/boot/dts/bcm953012k.dts
>>>> new file mode 100644
>>>> index 0000000..a512c45
>>>> --- /dev/null
>>>> +++ b/arch/arm/boot/dts/bcm953012k.dts
>>>> @@ -0,0 +1,63 @@
>>>> +/*
>>>> + *  BSD LICENSE
>>>> + *
>>>> + *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
>>>> + *
>>>> + *  Redistribution and use in source and binary forms, with or without
>>>> + *  modification, are permitted provided that the following conditions
>>>> + *  are met:
>>>> + *
>>>> + *    * Redistributions of source code must retain the above copyright
>>>> + *      notice, this list of conditions and the following disclaimer.
>>>> + *    * Redistributions in binary form must reproduce the above
>>>> copyright
>>>> + *      notice, this list of conditions and the following disclaimer in
>>>> + *      the documentation and/or other materials provided with the
>>>> + *      distribution.
>>>> + *    * Neither the name of Broadcom Corporation nor the names of its
>>>> + *      contributors may be used to endorse or promote products derived
>>>> + *      from this software without specific prior written permission.
>>>> + *
>>>> + *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
>>>> + *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
>>>> + *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
>>>> FITNESS FOR
>>>> + *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
>>>> COPYRIGHT
>>>> + *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
>>>> INCIDENTAL,
>>>> + *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
>>>> + *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
>>>> USE,
>>>> + *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
>>>> ON ANY
>>>> + *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
>>>> + *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
>>>> THE USE
>>>> + *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
>>>> DAMAGE.
>>>> + */
>>>> +
>>>> +/dts-v1/;
>>>> +
>>>> +#include "bcm4708.dtsi"
>>>> +
>>>> +/ {
>>>> +    model = "NorthStar SVK (BCM953012K)";
>>>> +    compatible = "brcm,bcm953012k", "brcm,brcm53012", "brcm,bcm4708";
>> no need for brcm,bcm953012k
>>>> +
>>>> +    aliases {
>>>> +        serial0 = &uart0;
>>>> +        serial1 = &uart1;
>>>> +    };
>>>> +
>>>> +    chosen {
>>>> +        bootargs = "console=ttyS0,115200";
>>>> +    };
>>>> +
>>>> +    memory {
>>>> +        reg = <0x00000000 0x10000000>;
>>>> +    };
>>>> +};
>>>> +
>>>> +&uart0 {
>>>> +    clock-frequency = <62499840>;
>>>> +    status = "okay";
>>>> +};
>>>> +
>>>> +&uart1 {
>>>> +    clock-frequency = <62499840>;
>>>> +    status = "okay";
>>>> +};
>>>>
>>>
>>

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PATCH v3 1/2] dt-bindings: Add new SoCs to bcm4708 DT bindings
@ 2015-10-21  2:21   ` Rob Herring
  0 siblings, 0 replies; 27+ messages in thread
From: Rob Herring @ 2015-10-21  2:21 UTC (permalink / raw)
  To: Jon Mason
  Cc: Florian Fainelli, Hauke Mehrtens, Pawel Moll, Mark Rutland,
	Ian Campbell, Kumar Gala, Russell King, devicetree,
	linux-arm-kernel, linux-kernel, bcm-kernel-feedback-list

On Thu, Oct 15, 2015 at 5:24 PM, Jon Mason <jonmason@broadcom.com> wrote:
> Add the 4708, 4709, and 53012 SoCs to the the documentation for the
> Broadcom Northstar device tree bindings.
>
> Signed-off-by: Jon Mason <jonmason@broadcom.com>

Acked-by: Rob Herring <robh@kernel.org>

> ---
>  Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt
> index 6b0f49f..8608a77 100644
> --- a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt
> +++ b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt
> @@ -5,4 +5,11 @@ Boards with the BCM4708 SoC shall have the following properties:
>
>  Required root node property:
>
> +bcm4708
>  compatible = "brcm,bcm4708";
> +
> +bcm4709
> +compatible = "brcm,bcm4709";
> +
> +bcm53012
> +compatible = "brcm,bcm53012";
> --
> 1.9.1
>

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PATCH v3 1/2] dt-bindings: Add new SoCs to bcm4708 DT bindings
@ 2015-10-21  2:21   ` Rob Herring
  0 siblings, 0 replies; 27+ messages in thread
From: Rob Herring @ 2015-10-21  2:21 UTC (permalink / raw)
  To: Jon Mason
  Cc: Florian Fainelli, Hauke Mehrtens, Pawel Moll, Mark Rutland,
	Ian Campbell, Kumar Gala, Russell King,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	bcm-kernel-feedback-list-dY08KVG/lbpWk0Htik3J/w

On Thu, Oct 15, 2015 at 5:24 PM, Jon Mason <jonmason-dY08KVG/lbpWk0Htik3J/w@public.gmane.org> wrote:
> Add the 4708, 4709, and 53012 SoCs to the the documentation for the
> Broadcom Northstar device tree bindings.
>
> Signed-off-by: Jon Mason <jonmason-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>

Acked-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>

> ---
>  Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt
> index 6b0f49f..8608a77 100644
> --- a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt
> +++ b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt
> @@ -5,4 +5,11 @@ Boards with the BCM4708 SoC shall have the following properties:
>
>  Required root node property:
>
> +bcm4708
>  compatible = "brcm,bcm4708";
> +
> +bcm4709
> +compatible = "brcm,bcm4709";
> +
> +bcm53012
> +compatible = "brcm,bcm53012";
> --
> 1.9.1
>
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 27+ messages in thread

* [PATCH v3 1/2] dt-bindings: Add new SoCs to bcm4708 DT bindings
@ 2015-10-21  2:21   ` Rob Herring
  0 siblings, 0 replies; 27+ messages in thread
From: Rob Herring @ 2015-10-21  2:21 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Oct 15, 2015 at 5:24 PM, Jon Mason <jonmason@broadcom.com> wrote:
> Add the 4708, 4709, and 53012 SoCs to the the documentation for the
> Broadcom Northstar device tree bindings.
>
> Signed-off-by: Jon Mason <jonmason@broadcom.com>

Acked-by: Rob Herring <robh@kernel.org>

> ---
>  Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt
> index 6b0f49f..8608a77 100644
> --- a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt
> +++ b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt
> @@ -5,4 +5,11 @@ Boards with the BCM4708 SoC shall have the following properties:
>
>  Required root node property:
>
> +bcm4708
>  compatible = "brcm,bcm4708";
> +
> +bcm4709
> +compatible = "brcm,bcm4709";
> +
> +bcm53012
> +compatible = "brcm,bcm53012";
> --
> 1.9.1
>

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PATCH v3 2/2] ARM: dts: bcm5301x: Add BCM SVK DT files
@ 2015-10-21  9:07     ` Sudeep Holla
  0 siblings, 0 replies; 27+ messages in thread
From: Sudeep Holla @ 2015-10-21  9:07 UTC (permalink / raw)
  To: Jon Mason, Florian Fainelli, Hauke Mehrtens, Rob Herring,
	Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala, Russell King
  Cc: Sudeep Holla, devicetree, linux-arm-kernel, linux-kernel,
	bcm-kernel-feedback-list



On 15/10/15 23:24, Jon Mason wrote:
> Add device tree files for Broadcom Northstar based SVKs.  Since the
> bcm5301x.dtsi already exists, all that is necessary is the dts files to
> enable the UARTs.  With these files, the SVKs are able to boot to shell.
>
> Signed-off-by: Jon Mason <jonmason@broadcom.com>

[..]

> diff --git a/arch/arm/boot/dts/bcm94708.dts b/arch/arm/boot/dts/bcm94708.dts
> new file mode 100644
> index 0000000..49682d6
> --- /dev/null
> +++ b/arch/arm/boot/dts/bcm94708.dts
> @@ -0,0 +1,56 @@

[..]

> +/dts-v1/;
> +
> +#include "bcm4708.dtsi"
> +
> +/ {
> +	model = "NorthStar SVK (BCM94708)";
> +	compatible = "brcm,bcm94708", "brcm,bcm4708";
> +
> +	aliases {
> +		serial0 = &uart0;
> +	};
> +
> +	chosen {
> +		bootargs = "console=ttyS0,115200";

You can set stdout-path instead which even works for earlycon

-- 
Regards,
Sudeep

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PATCH v3 2/2] ARM: dts: bcm5301x: Add BCM SVK DT files
@ 2015-10-21  9:07     ` Sudeep Holla
  0 siblings, 0 replies; 27+ messages in thread
From: Sudeep Holla @ 2015-10-21  9:07 UTC (permalink / raw)
  To: Jon Mason, Florian Fainelli, Hauke Mehrtens, Rob Herring,
	Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala, Russell King
  Cc: Sudeep Holla, devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	bcm-kernel-feedback-list-dY08KVG/lbpWk0Htik3J/w



On 15/10/15 23:24, Jon Mason wrote:
> Add device tree files for Broadcom Northstar based SVKs.  Since the
> bcm5301x.dtsi already exists, all that is necessary is the dts files to
> enable the UARTs.  With these files, the SVKs are able to boot to shell.
>
> Signed-off-by: Jon Mason <jonmason-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>

[..]

> diff --git a/arch/arm/boot/dts/bcm94708.dts b/arch/arm/boot/dts/bcm94708.dts
> new file mode 100644
> index 0000000..49682d6
> --- /dev/null
> +++ b/arch/arm/boot/dts/bcm94708.dts
> @@ -0,0 +1,56 @@

[..]

> +/dts-v1/;
> +
> +#include "bcm4708.dtsi"
> +
> +/ {
> +	model = "NorthStar SVK (BCM94708)";
> +	compatible = "brcm,bcm94708", "brcm,bcm4708";
> +
> +	aliases {
> +		serial0 = &uart0;
> +	};
> +
> +	chosen {
> +		bootargs = "console=ttyS0,115200";

You can set stdout-path instead which even works for earlycon

-- 
Regards,
Sudeep
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 27+ messages in thread

* [PATCH v3 2/2] ARM: dts: bcm5301x: Add BCM SVK DT files
@ 2015-10-21  9:07     ` Sudeep Holla
  0 siblings, 0 replies; 27+ messages in thread
From: Sudeep Holla @ 2015-10-21  9:07 UTC (permalink / raw)
  To: linux-arm-kernel



On 15/10/15 23:24, Jon Mason wrote:
> Add device tree files for Broadcom Northstar based SVKs.  Since the
> bcm5301x.dtsi already exists, all that is necessary is the dts files to
> enable the UARTs.  With these files, the SVKs are able to boot to shell.
>
> Signed-off-by: Jon Mason <jonmason@broadcom.com>

[..]

> diff --git a/arch/arm/boot/dts/bcm94708.dts b/arch/arm/boot/dts/bcm94708.dts
> new file mode 100644
> index 0000000..49682d6
> --- /dev/null
> +++ b/arch/arm/boot/dts/bcm94708.dts
> @@ -0,0 +1,56 @@

[..]

> +/dts-v1/;
> +
> +#include "bcm4708.dtsi"
> +
> +/ {
> +	model = "NorthStar SVK (BCM94708)";
> +	compatible = "brcm,bcm94708", "brcm,bcm4708";
> +
> +	aliases {
> +		serial0 = &uart0;
> +	};
> +
> +	chosen {
> +		bootargs = "console=ttyS0,115200";

You can set stdout-path instead which even works for earlycon

-- 
Regards,
Sudeep

^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2015-10-21  9:08 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-15 22:24 [PATCH v3 1/2] dt-bindings: Add new SoCs to bcm4708 DT bindings Jon Mason
2015-10-15 22:24 ` Jon Mason
2015-10-15 22:24 ` Jon Mason
2015-10-15 22:24 ` [PATCH v3 2/2] ARM: dts: bcm5301x: Add BCM SVK DT files Jon Mason
2015-10-15 22:24   ` Jon Mason
2015-10-15 22:24   ` Jon Mason
2015-10-16 21:41   ` Hauke Mehrtens
2015-10-16 21:41     ` Hauke Mehrtens
2015-10-16 22:38     ` Scott Branden
2015-10-16 22:38       ` Scott Branden
2015-10-16 22:38       ` Scott Branden
2015-10-16 22:42       ` Hauke Mehrtens
2015-10-16 22:42         ` Hauke Mehrtens
2015-10-16 22:51         ` Scott Branden
2015-10-16 22:51           ` Scott Branden
2015-10-16 22:51           ` Scott Branden
2015-10-21  9:07   ` Sudeep Holla
2015-10-21  9:07     ` Sudeep Holla
2015-10-21  9:07     ` Sudeep Holla
2015-10-16 21:42 ` [PATCH v3 1/2] dt-bindings: Add new SoCs to bcm4708 DT bindings Hauke Mehrtens
2015-10-16 21:42   ` Hauke Mehrtens
2015-10-16 22:39   ` Scott Branden
2015-10-16 22:39     ` Scott Branden
2015-10-16 22:39     ` Scott Branden
2015-10-21  2:21 ` Rob Herring
2015-10-21  2:21   ` Rob Herring
2015-10-21  2:21   ` Rob Herring

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.