Skip to content

Commit 2b18310

Browse files
committed
Merge tag 'dt-vt8500-6.16' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-dt into soc/dt
VT8500 DTS ARM changes for v6.16 1. New board: VIA APC Rock/Paper. 2. Add SCC ID register/socinfo node. 3. List all timer interrupts. * tag 'dt-vt8500-6.16' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-dt: ARM: dts: vt8500: list all four timer interrupts ARM: dts: vt8500: add DT nodes for the system config ID register ARM: dts: vt8500: Add VIA APC Rock/Paper board dt-bindings: arm: vt8500: Add VIA APC Rock/Paper boards Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnd Bergmann <[email protected]>
2 parents 12a75f2 + e58afb3 commit 2b18310

File tree

9 files changed

+71
-9
lines changed

9 files changed

+71
-9
lines changed

Documentation/devicetree/bindings/arm/vt8500.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,23 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
77
title: VIA/Wondermedia VT8500 Platforms
88

99
maintainers:
10-
- Tony Prisk <[email protected]>
11-
description: test
10+
- Alexey Charkov <[email protected]>
1211

1312
properties:
1413
$nodename:
1514
const: '/'
1615
compatible:
17-
items:
16+
oneOf:
1817
- enum:
1918
- via,vt8500
2019
- wm,wm8505
2120
- wm,wm8650
2221
- wm,wm8750
2322
- wm,wm8850
2423

24+
- description: VIA APC Rock and Paper boards
25+
items:
26+
- const: via,apc-rock
27+
- const: wm,wm8950
28+
2529
additionalProperties: true

arch/arm/boot/dts/vt8500/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ dtb-$(CONFIG_ARCH_VT8500) += \
44
wm8505-ref.dtb \
55
wm8650-mid.dtb \
66
wm8750-apc8750.dtb \
7-
wm8850-w70v2.dtb
7+
wm8850-w70v2.dtb \
8+
wm8950-apc-rock.dtb

arch/arm/boot/dts/vt8500/vt8500.dtsi

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@
5555
#gpio-cells = <2>;
5656
};
5757

58+
chipid@d8120000 {
59+
compatible = "via,vt8500-scc-id";
60+
reg = <0xd8120000 0x4>;
61+
};
62+
5863
pmc@d8130000 {
5964
compatible = "via,vt8500-pmc";
6065
reg = <0xd8130000 0x1000>;
@@ -106,7 +111,7 @@
106111
timer@d8130100 {
107112
compatible = "via,vt8500-timer";
108113
reg = <0xd8130100 0x28>;
109-
interrupts = <36>;
114+
interrupts = <36>, <37>, <38>, <39>;
110115
};
111116

112117
usb@d8007900 {

arch/arm/boot/dts/vt8500/wm8505.dtsi

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@
6666
#gpio-cells = <2>;
6767
};
6868

69+
chipid@d8120000 {
70+
compatible = "via,vt8500-scc-id";
71+
reg = <0xd8120000 0x4>;
72+
};
73+
6974
pmc@d8130000 {
7075
compatible = "via,vt8500-pmc";
7176
reg = <0xd8130000 0x1000>;
@@ -204,7 +209,7 @@
204209
timer@d8130100 {
205210
compatible = "via,vt8500-timer";
206211
reg = <0xd8130100 0x28>;
207-
interrupts = <36>;
212+
interrupts = <36>, <37>, <38>, <39>;
208213
};
209214

210215
usb@d8007100 {

arch/arm/boot/dts/vt8500/wm8650.dtsi

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@
6262
#gpio-cells = <2>;
6363
};
6464

65+
chipid@d8120000 {
66+
compatible = "via,vt8500-scc-id";
67+
reg = <0xd8120000 0x4>;
68+
};
69+
6570
pmc@d8130000 {
6671
compatible = "via,vt8500-pmc";
6772
reg = <0xd8130000 0x1000>;
@@ -176,7 +181,7 @@
176181
timer@d8130100 {
177182
compatible = "via,vt8500-timer";
178183
reg = <0xd8130100 0x28>;
179-
interrupts = <36>;
184+
interrupts = <36>, <37>, <38>, <39>;
180185
};
181186

182187
usb@d8007900 {

arch/arm/boot/dts/vt8500/wm8750.dtsi

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@
6868
#gpio-cells = <2>;
6969
};
7070

71+
chipid@d8120000 {
72+
compatible = "via,vt8500-scc-id";
73+
reg = <0xd8120000 0x4>;
74+
};
75+
7176
pmc@d8130000 {
7277
compatible = "via,vt8500-pmc";
7378
reg = <0xd8130000 0x1000>;
@@ -248,7 +253,7 @@
248253
timer@d8130100 {
249254
compatible = "via,vt8500-timer";
250255
reg = <0xd8130100 0x28>;
251-
interrupts = <36>;
256+
interrupts = <36>, <37>, <38>, <39>;
252257
};
253258

254259
usb@d8007900 {

arch/arm/boot/dts/vt8500/wm8850.dtsi

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@
6565
#gpio-cells = <2>;
6666
};
6767

68+
chipid@d8120000 {
69+
compatible = "via,vt8500-scc-id";
70+
reg = <0xd8120000 0x4>;
71+
};
72+
6873
pmc@d8130000 {
6974
compatible = "via,vt8500-pmc";
7075
reg = <0xd8130000 0x1000>;
@@ -235,7 +240,7 @@
235240
timer@d8130100 {
236241
compatible = "via,vt8500-timer";
237242
reg = <0xd8130100 0x28>;
238-
interrupts = <36>;
243+
interrupts = <36>, <37>, <38>, <39>;
239244
};
240245

241246
usb@d8007900 {
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// SPDX-License-Identifier: GPL-2.0-or-later
2+
/*
3+
* Copyright (C) 2025 Alexey Charkov <[email protected]>
4+
*/
5+
6+
/dts-v1/;
7+
/include/ "wm8950.dtsi"
8+
9+
/ {
10+
model = "VIA APC Rock";
11+
compatible = "via,apc-rock", "wm,wm8950";
12+
13+
memory@0 {
14+
device_type = "memory";
15+
reg = <0x0 0x20000000>;
16+
};
17+
};
18+
19+
&uart0 {
20+
status = "okay";
21+
};

arch/arm/boot/dts/vt8500/wm8950.dtsi

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// SPDX-License-Identifier: GPL-2.0-or-later
2+
/*
3+
* Copyright (C) 2025 Alexey Charkov <[email protected]>
4+
*/
5+
6+
/* No differences have been discovered vs. WM8850, but chip markings differ */
7+
/include/ "wm8850.dtsi"
8+
9+
/ {
10+
compatible = "wm,wm8950";
11+
};

0 commit comments

Comments
 (0)