Skip to content

Commit 5c50543

Browse files
committed
Merge tag 'hisi-arm32-dt-for-5.10-tag2' of git://github.com/hisilicon/linux-hisi into arm/dt
ARM: DT: Hisilicon ARM32 SoCs DT updates for 5.10 (take two) - Fix the system controller compatible for the hi3620 and hip04 SoCs - Add the basic device tree for the hisilicon SD5203 SoC * tag 'hisi-arm32-dt-for-5.10-tag2' of git://github.com/hisilicon/linux-hisi: ARM: dts: hisilicon: add SD5203 dts ARM: dts: hisilicon: fix the system controller compatible nodes Link: https://lore.kernel.org/r/5F742717.5080405@hisilicon.com Signed-off-by: Olof Johansson <olof@lixom.net>
2 parents 1ddaaa4 + a332f5f commit 5c50543

4 files changed

Lines changed: 100 additions & 2 deletions

File tree

arch/arm/boot/dts/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,8 @@ dtb-$(CONFIG_ARCH_MPS2) += \
359359
mps2-an399.dtb
360360
dtb-$(CONFIG_ARCH_MOXART) += \
361361
moxart-uc7112lx.dtb
362+
dtb-$(CONFIG_ARCH_SD5203) += \
363+
sd5203.dtb
362364
dtb-$(CONFIG_SOC_IMX1) += \
363365
imx1-ads.dtb \
364366
imx1-apf9328.dtb

arch/arm/boot/dts/hi3620.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
};
9090

9191
sysctrl: system-controller@802000 {
92-
compatible = "hisilicon,sysctrl";
92+
compatible = "hisilicon,sysctrl", "syscon";
9393
#address-cells = <1>;
9494
#size-cells = <1>;
9595
ranges = <0 0x802000 0x1000>;

arch/arm/boot/dts/hip04.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@
213213
};
214214

215215
sysctrl: sysctrl {
216-
compatible = "hisilicon,sysctrl";
216+
compatible = "hisilicon,sysctrl", "syscon";
217217
reg = <0x3e00000 0x00100000>;
218218
};
219219

arch/arm/boot/dts/sd5203.dts

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
2+
/*
3+
* Copyright (c) 2020 Hisilicon Limited.
4+
*
5+
* DTS file for Hisilicon SD5203 Board
6+
*/
7+
8+
/dts-v1/;
9+
10+
/ {
11+
model = "Hisilicon SD5203";
12+
compatible = "H836ASDJ", "hisilicon,sd5203";
13+
interrupt-parent = <&vic>;
14+
#address-cells = <1>;
15+
#size-cells = <1>;
16+
17+
chosen {
18+
bootargs="console=ttyS0,9600 earlycon=uart8250,mmio32,0x1600d000";
19+
};
20+
21+
aliases {
22+
serial0 = &uart0;
23+
};
24+
25+
cpus {
26+
#address-cells = <1>;
27+
#size-cells = <0>;
28+
29+
cpu0 {
30+
device_type = "cpu";
31+
compatible = "arm,arm926ej-s";
32+
reg = <0x0>;
33+
};
34+
};
35+
36+
memory@30000000 {
37+
device_type = "memory";
38+
reg = <0x30000000 0x8000000>;
39+
};
40+
41+
soc {
42+
#address-cells = <1>;
43+
#size-cells = <1>;
44+
compatible = "simple-bus";
45+
ranges;
46+
47+
vic: interrupt-controller@10130000 {
48+
compatible = "snps,dw-apb-ictl";
49+
reg = <0x10130000 0x1000>;
50+
interrupt-controller;
51+
#interrupt-cells = <1>;
52+
};
53+
54+
refclk125mhz: refclk125mhz {
55+
compatible = "fixed-clock";
56+
#clock-cells = <0>;
57+
clock-frequency = <125000000>;
58+
};
59+
60+
timer0: timer@16002000 {
61+
compatible = "arm,sp804", "arm,primecell";
62+
reg = <0x16002000 0x1000>;
63+
interrupts = <4>;
64+
clocks = <&refclk125mhz>;
65+
clock-names = "apb_pclk";
66+
};
67+
68+
timer1: timer@16003000 {
69+
compatible = "arm,sp804", "arm,primecell";
70+
reg = <0x16003000 0x1000>;
71+
interrupts = <5>;
72+
clocks = <&refclk125mhz>;
73+
clock-names = "apb_pclk";
74+
};
75+
76+
uart0: serial@1600d000 {
77+
compatible = "snps,dw-apb-uart";
78+
reg = <0x1600d000 0x1000>;
79+
bus_id = "uart0";
80+
clocks = <&refclk125mhz>;
81+
clock-names = "baudclk", "apb_pclk";
82+
reg-shift = <2>;
83+
interrupts = <17>;
84+
};
85+
86+
uart1: serial@1600c000 {
87+
compatible = "snps,dw-apb-uart";
88+
reg = <0x1600c000 0x1000>;
89+
clocks = <&refclk125mhz>;
90+
clock-names = "baudclk", "apb_pclk";
91+
reg-shift = <2>;
92+
interrupts = <16>;
93+
status = "disabled";
94+
};
95+
};
96+
};

0 commit comments

Comments
 (0)