Skip to content

Commit 7314374

Browse files
alcharkkrzk
authored andcommitted
ARM: dts: vt8500: add DT nodes for the system config ID register
Every VIA/WonderMedia SoC has a 32-bit chip ID register at the MMIO address 0xd8120000. Add respective device tree nodes to let the system code access it at runtime for the selection of appropriate hardware quirks where needed. Signed-off-by: Alexey Charkov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]>
1 parent 22488d6 commit 7314374

File tree

5 files changed

+25
-0
lines changed

5 files changed

+25
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
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>;

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

Lines changed: 5 additions & 0 deletions
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>;

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

Lines changed: 5 additions & 0 deletions
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>;

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

Lines changed: 5 additions & 0 deletions
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>;

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

Lines changed: 5 additions & 0 deletions
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>;

0 commit comments

Comments
 (0)