Skip to content

Commit f81647e

Browse files
committed
Merge tag 'sprd-dt-6.8-rc1' of https://github.com/lyrazhang/linux into soc/dt
ARM: sprd: DTS and bindings for v6.8-rc1 Unisoc ARM64 DTS and bindings changes are: - Fixed a few dtb_check warnings - Add bindings for a new SoC - UMS9620 - Fixed an issue on UMS512 * tag 'sprd-dt-6.8-rc1' of https://github.com/lyrazhang/linux: arm64: dts: sprd: Change UMS512 idle-state nodename to match bindings arm64: dts: sprd: Add clock reference for pll2 on UMS512 arm64: dts: sprd: Removed unused clock references from etm nodes arm64: dts: sprd: Add support for Unisoc's UMS9620 dt-bindings: arm: Add compatible strings for Unisoc's UMS9620 arm64: dts: sprd: fix the cpu node for UMS512 Link: https://lore.kernel.org/r/20231228084958.1439115-1-chunyan.zhang@unisoc.com Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2 parents 2d7123c + 1cff724 commit f81647e

5 files changed

Lines changed: 310 additions & 20 deletions

File tree

Documentation/devicetree/bindings/arm/sprd/sprd.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ properties:
3535
- sprd,ums512-1h10
3636
- const: sprd,ums512
3737

38+
- items:
39+
- enum:
40+
- sprd,ums9620-2h10
41+
- const: sprd,ums9620
42+
3843
additionalProperties: true
3944

4045
...

arch/arm64/boot/dts/sprd/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
dtb-$(CONFIG_ARCH_SPRD) += sc9836-openphone.dtb \
33
sp9860g-1h10.dtb \
44
sp9863a-1h10.dtb \
5-
ums512-1h10.dtb
5+
ums512-1h10.dtb \
6+
ums9620-2h10.dtb

arch/arm64/boot/dts/sprd/ums512.dtsi

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -96,15 +96,15 @@
9696

9797
CPU6: cpu@600 {
9898
device_type = "cpu";
99-
compatible = "arm,cortex-a55";
99+
compatible = "arm,cortex-a75";
100100
reg = <0x0 0x600>;
101101
enable-method = "psci";
102102
cpu-idle-states = <&CORE_PD>;
103103
};
104104

105105
CPU7: cpu@700 {
106106
device_type = "cpu";
107-
compatible = "arm,cortex-a55";
107+
compatible = "arm,cortex-a75";
108108
reg = <0x0 0x700>;
109109
enable-method = "psci";
110110
cpu-idle-states = <&CORE_PD>;
@@ -113,7 +113,7 @@
113113

114114
idle-states {
115115
entry-method = "psci";
116-
CORE_PD: core-pd {
116+
CORE_PD: cpu-pd {
117117
compatible = "arm,idle-state";
118118
entry-latency-us = <4000>;
119119
exit-latency-us = <4000>;
@@ -291,6 +291,7 @@
291291
pll2: clock-controller@0 {
292292
compatible = "sprd,ums512-gc-pll";
293293
reg = <0x0 0x100>;
294+
clocks = <&ext_26m>;
294295
clock-names = "ext-26m";
295296
#clock-cells = <1>;
296297
};
@@ -682,8 +683,8 @@
682683
compatible = "arm,coresight-etm4x", "arm,primecell";
683684
reg = <0 0x3f040000 0 0x1000>;
684685
cpu = <&CPU0>;
685-
clocks = <&ext_26m>, <&aon_clk CLK_CSSYS>, <&pll2 CLK_TWPLL_512M>;
686-
clock-names = "apb_pclk", "clk_cs", "cs_src";
686+
clocks = <&ext_26m>;
687+
clock-names = "apb_pclk";
687688

688689
out-ports {
689690
port {
@@ -699,8 +700,8 @@
699700
compatible = "arm,coresight-etm4x", "arm,primecell";
700701
reg = <0 0x3f140000 0 0x1000>;
701702
cpu = <&CPU1>;
702-
clocks = <&ext_26m>, <&aon_clk CLK_CSSYS>, <&pll2 CLK_TWPLL_512M>;
703-
clock-names = "apb_pclk", "clk_cs", "cs_src";
703+
clocks = <&ext_26m>;
704+
clock-names = "apb_pclk";
704705

705706
out-ports {
706707
port {
@@ -716,8 +717,8 @@
716717
compatible = "arm,coresight-etm4x", "arm,primecell";
717718
reg = <0 0x3f240000 0 0x1000>;
718719
cpu = <&CPU2>;
719-
clocks = <&ext_26m>, <&aon_clk CLK_CSSYS>, <&pll2 CLK_TWPLL_512M>;
720-
clock-names = "apb_pclk", "clk_cs", "cs_src";
720+
clocks = <&ext_26m>;
721+
clock-names = "apb_pclk";
721722

722723
out-ports {
723724
port {
@@ -733,8 +734,8 @@
733734
compatible = "arm,coresight-etm4x", "arm,primecell";
734735
reg = <0 0x3f340000 0 0x1000>;
735736
cpu = <&CPU3>;
736-
clocks = <&ext_26m>, <&aon_clk CLK_CSSYS>, <&pll2 CLK_TWPLL_512M>;
737-
clock-names = "apb_pclk", "clk_cs", "cs_src";
737+
clocks = <&ext_26m>;
738+
clock-names = "apb_pclk";
738739

739740
out-ports {
740741
port {
@@ -750,8 +751,8 @@
750751
compatible = "arm,coresight-etm4x", "arm,primecell";
751752
reg = <0 0x3f440000 0 0x1000>;
752753
cpu = <&CPU4>;
753-
clocks = <&ext_26m>, <&aon_clk CLK_CSSYS>, <&pll2 CLK_TWPLL_512M>;
754-
clock-names = "apb_pclk", "clk_cs", "cs_src";
754+
clocks = <&ext_26m>;
755+
clock-names = "apb_pclk";
755756

756757
out-ports {
757758
port {
@@ -767,8 +768,8 @@
767768
compatible = "arm,coresight-etm4x", "arm,primecell";
768769
reg = <0 0x3f540000 0 0x1000>;
769770
cpu = <&CPU5>;
770-
clocks = <&ext_26m>, <&aon_clk CLK_CSSYS>, <&pll2 CLK_TWPLL_512M>;
771-
clock-names = "apb_pclk", "clk_cs", "cs_src";
771+
clocks = <&ext_26m>;
772+
clock-names = "apb_pclk";
772773

773774
out-ports {
774775
port {
@@ -784,8 +785,8 @@
784785
compatible = "arm,coresight-etm4x", "arm,primecell";
785786
reg = <0 0x3f640000 0 0x1000>;
786787
cpu = <&CPU6>;
787-
clocks = <&ext_26m>, <&aon_clk CLK_CSSYS>, <&pll2 CLK_TWPLL_512M>;
788-
clock-names = "apb_pclk", "clk_cs", "cs_src";
788+
clocks = <&ext_26m>;
789+
clock-names = "apb_pclk";
789790

790791
out-ports {
791792
port {
@@ -801,8 +802,8 @@
801802
compatible = "arm,coresight-etm4x", "arm,primecell";
802803
reg = <0 0x3f740000 0 0x1000>;
803804
cpu = <&CPU7>;
804-
clocks = <&ext_26m>, <&aon_clk CLK_CSSYS>, <&pll2 CLK_TWPLL_512M>;
805-
clock-names = "apb_pclk", "clk_cs", "cs_src";
805+
clocks = <&ext_26m>;
806+
clock-names = "apb_pclk";
806807

807808
out-ports {
808809
port {
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2+
/*
3+
* Unisoc UMS9620-2h10 board DTS file
4+
*
5+
* Copyright (C) 2023, Unisoc Inc.
6+
*/
7+
8+
/dts-v1/;
9+
10+
#include "ums9620.dtsi"
11+
12+
/ {
13+
model = "Unisoc UMS9620-2H10 Board";
14+
15+
compatible = "sprd,ums9620-2h10", "sprd,ums9620";
16+
17+
aliases {
18+
serial0 = &uart0;
19+
serial1 = &uart1;
20+
};
21+
22+
memory@80000000 {
23+
device_type = "memory";
24+
reg = <0x0 0x80000000 0x2 0x00000000>;
25+
};
26+
27+
chosen {
28+
stdout-path = "serial1:921600n8";
29+
};
30+
};
31+
32+
&uart0 {
33+
status = "okay";
34+
};
35+
36+
&uart1 {
37+
status = "okay";
38+
};

0 commit comments

Comments
 (0)