aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-11-07 10:04:45 -0500
committerArnd Bergmann <arnd@arndb.de>2017-11-07 10:04:45 -0500
commitb4eebd88c2234a644132568eeaf7691d5b07c01a (patch)
tree64382163ab87d1b2ddb45b8eab3367a911cee1ff
parentd29d30782acd9266c0afed08cb8f40a95e4f2212 (diff)
parent7f6a78fe34f041da317e46813254abab776d46f7 (diff)
Merge tag 'actions-arm-dt-for-4.15' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/afaerber/linux-actions into next/dt
Pull "Actions Semi ARM based SoC DT for v4.15" from Andreas Färber: This updates the Guitar board DT with a clock node for the debug UART and adds a new DT for the CubieBoard6. It also updates the S500 DT with CPU power domains. * tag 'actions-arm-dt-for-4.15' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/afaerber/linux-actions: ARM: dts: owl-s500: Add CubieBoard6 dt-bindings: arm: actions: Add CubieBoard6 ARM: dts: owl-s500-guitar-bb-rev-b: Add fake uart3 clock ARM: dts: owl-s500: Set power domains for CPU2 and CPU3
-rw-r--r--Documentation/devicetree/bindings/arm/actions.txt1
-rw-r--r--arch/arm/boot/dts/Makefile1
-rw-r--r--arch/arm/boot/dts/owl-s500-cubieboard6.dts44
-rw-r--r--arch/arm/boot/dts/owl-s500-guitar-bb-rev-b.dts7
-rw-r--r--arch/arm/boot/dts/owl-s500.dtsi3
5 files changed, 56 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/arm/actions.txt b/Documentation/devicetree/bindings/arm/actions.txt
index 3bc7ea575564..ced764a8549e 100644
--- a/Documentation/devicetree/bindings/arm/actions.txt
+++ b/Documentation/devicetree/bindings/arm/actions.txt
@@ -21,6 +21,7 @@ Boards:
21 21
22Root node property compatible must contain, depending on board: 22Root node property compatible must contain, depending on board:
23 23
24 - Cubietech CubieBoard6: "cubietech,cubieboard6"
24 - LeMaker Guitar Base Board rev. B: "lemaker,guitar-bb-rev-b", "lemaker,guitar" 25 - LeMaker Guitar Base Board rev. B: "lemaker,guitar-bb-rev-b", "lemaker,guitar"
25 26
26 27
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 50acc79fadf7..78f39e78143d 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -705,6 +705,7 @@ dtb-$(CONFIG_ARCH_ORION5X) += \
705 orion5x-netgear-wnr854t.dtb \ 705 orion5x-netgear-wnr854t.dtb \
706 orion5x-rd88f5182-nas.dtb 706 orion5x-rd88f5182-nas.dtb
707dtb-$(CONFIG_ARCH_ACTIONS) += \ 707dtb-$(CONFIG_ARCH_ACTIONS) += \
708 owl-s500-cubieboard6.dtb \
708 owl-s500-guitar-bb-rev-b.dtb 709 owl-s500-guitar-bb-rev-b.dtb
709dtb-$(CONFIG_ARCH_PRIMA2) += \ 710dtb-$(CONFIG_ARCH_PRIMA2) += \
710 prima2-evb.dtb 711 prima2-evb.dtb
diff --git a/arch/arm/boot/dts/owl-s500-cubieboard6.dts b/arch/arm/boot/dts/owl-s500-cubieboard6.dts
new file mode 100644
index 000000000000..ea4e01bce8d1
--- /dev/null
+++ b/arch/arm/boot/dts/owl-s500-cubieboard6.dts
@@ -0,0 +1,44 @@
1/*
2 * Cubietech CubieBoard6
3 *
4 * Copyright (c) 2017 Andreas Färber
5 *
6 * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 */
8
9/dts-v1/;
10
11#include "owl-s500.dtsi"
12
13/ {
14 compatible = "cubietech,cubieboard6", "actions,s500";
15 model = "CubieBoard6";
16
17 aliases {
18 serial3 = &uart3;
19 };
20
21 chosen {
22 stdout-path = "serial3:115200n8";
23 };
24
25 memory@0 {
26 device_type = "memory";
27 reg = <0x0 0x80000000>;
28 };
29
30 uart3_clk: uart3-clk {
31 compatible = "fixed-clock";
32 clock-frequency = <921600>;
33 #clock-cells = <0>;
34 };
35};
36
37&timer {
38 clocks = <&hosc>;
39};
40
41&uart3 {
42 status = "okay";
43 clocks = <&uart3_clk>;
44};
diff --git a/arch/arm/boot/dts/owl-s500-guitar-bb-rev-b.dts b/arch/arm/boot/dts/owl-s500-guitar-bb-rev-b.dts
index 521463d4cac6..7be1d2eaf3f0 100644
--- a/arch/arm/boot/dts/owl-s500-guitar-bb-rev-b.dts
+++ b/arch/arm/boot/dts/owl-s500-guitar-bb-rev-b.dts
@@ -19,8 +19,15 @@
19 chosen { 19 chosen {
20 stdout-path = "serial3:115200n8"; 20 stdout-path = "serial3:115200n8";
21 }; 21 };
22
23 uart3_clk: uart3-clk {
24 compatible = "fixed-clock";
25 clock-frequency = <921600>;
26 #clock-cells = <0>;
27 };
22}; 28};
23 29
24&uart3 { 30&uart3 {
25 status = "okay"; 31 status = "okay";
32 clocks = <&uart3_clk>;
26}; 33};
diff --git a/arch/arm/boot/dts/owl-s500.dtsi b/arch/arm/boot/dts/owl-s500.dtsi
index 51a48741d4c0..43c9980a4260 100644
--- a/arch/arm/boot/dts/owl-s500.dtsi
+++ b/arch/arm/boot/dts/owl-s500.dtsi
@@ -7,6 +7,7 @@
7 */ 7 */
8 8
9#include <dt-bindings/interrupt-controller/arm-gic.h> 9#include <dt-bindings/interrupt-controller/arm-gic.h>
10#include <dt-bindings/power/owl-s500-powergate.h>
10 11
11/ { 12/ {
12 compatible = "actions,s500"; 13 compatible = "actions,s500";
@@ -43,6 +44,7 @@
43 compatible = "arm,cortex-a9"; 44 compatible = "arm,cortex-a9";
44 reg = <0x2>; 45 reg = <0x2>;
45 enable-method = "actions,s500-smp"; 46 enable-method = "actions,s500-smp";
47 power-domains = <&sps S500_PD_CPU2>;
46 }; 48 };
47 49
48 cpu3: cpu@3 { 50 cpu3: cpu@3 {
@@ -50,6 +52,7 @@
50 compatible = "arm,cortex-a9"; 52 compatible = "arm,cortex-a9";
51 reg = <0x3>; 53 reg = <0x3>;
52 enable-method = "actions,s500-smp"; 54 enable-method = "actions,s500-smp";
55 power-domains = <&sps S500_PD_CPU3>;
53 }; 56 };
54 }; 57 };
55 58