]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ARM: dts: vt8500: add DT nodes for the system config ID register
authorAlexey Charkov <alchark@gmail.com>
Sat, 3 May 2025 11:52:33 +0000 (15:52 +0400)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 12 May 2025 06:35:23 +0000 (08:35 +0200)
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 <alchark@gmail.com>
Link: https://lore.kernel.org/r/20250503-wmt-soc-driver-v3-3-2daa9056fa10@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
arch/arm/boot/dts/vt8500/vt8500.dtsi
arch/arm/boot/dts/vt8500/wm8505.dtsi
arch/arm/boot/dts/vt8500/wm8650.dtsi
arch/arm/boot/dts/vt8500/wm8750.dtsi
arch/arm/boot/dts/vt8500/wm8850.dtsi

index f23cb5ee11ae63222276c8ac178c52a6a3872c0c..e64363e5fe23e859e5262115865153b7a2e690c8 100644 (file)
                        #gpio-cells = <2>;
                };
 
+               chipid@d8120000 {
+                       compatible = "via,vt8500-scc-id";
+                       reg = <0xd8120000 0x4>;
+               };
+
                pmc@d8130000 {
                        compatible = "via,vt8500-pmc";
                        reg = <0xd8130000 0x1000>;
index d9e1280372c55c5080d242014c2392eaf4335d11..ce06baa6cecbeca2655f5e5884b37697b23ced35 100644 (file)
                        #gpio-cells = <2>;
                };
 
+               chipid@d8120000 {
+                       compatible = "via,vt8500-scc-id";
+                       reg = <0xd8120000 0x4>;
+               };
+
                pmc@d8130000 {
                        compatible = "via,vt8500-pmc";
                        reg = <0xd8130000 0x1000>;
index 35d12d77efc0f91e3735b98b8ec1f25a62c9c22e..4bb0b0b3211e94f00de810582313748be4a238c7 100644 (file)
                        #gpio-cells = <2>;
                };
 
+               chipid@d8120000 {
+                       compatible = "via,vt8500-scc-id";
+                       reg = <0xd8120000 0x4>;
+               };
+
                pmc@d8130000 {
                        compatible = "via,vt8500-pmc";
                        reg = <0xd8130000 0x1000>;
index b292f85d4e69b43d6eeb4525113265722a7b90af..f6fe35feea12ca95f5fb744496d786fdab0196c0 100644 (file)
                        #gpio-cells = <2>;
                };
 
+               chipid@d8120000 {
+                       compatible = "via,vt8500-scc-id";
+                       reg = <0xd8120000 0x4>;
+               };
+
                pmc@d8130000 {
                        compatible = "via,vt8500-pmc";
                        reg = <0xd8130000 0x1000>;
index c61717ebb4f1f3523733241c4df11f741ad4ae14..d64d17f9e8cd26784d355f02e95b4117d4b0beb8 100644 (file)
                        #gpio-cells = <2>;
                };
 
+               chipid@d8120000 {
+                       compatible = "via,vt8500-scc-id";
+                       reg = <0xd8120000 0x4>;
+               };
+
                pmc@d8130000 {
                        compatible = "via,vt8500-pmc";
                        reg = <0xd8130000 0x1000>;