ARM: dts: meson: add SoC information nodes
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sat, 23 Sep 2017 14:14:03 +0000 (16:14 +0200)
committerKevin Hilman <khilman@baylibre.com>
Fri, 6 Oct 2017 22:37:01 +0000 (15:37 -0700)
The SoC type and version information is encoded in different register
blocks.
The SoC type information is part of the "assist" registers.
The misc version information is part of the "bootrom" registers.
On Meson8, Meson8b and Meson8m2 there is additionally information about
the minor version. This information is stored in the "analog top"
registers.

Add the nodes for these register blocks so we can decode the SoC type
and version information.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm/boot/dts/meson.dtsi
arch/arm/boot/dts/meson8.dtsi
arch/arm/boot/dts/meson8b.dtsi

index bf270806a6882895a823067f85ba6b0a0dfb5523..7ae30e780506aa9e1978d42bf9eed5436deeb2c0 100644 (file)
                        #size-cells = <1>;
                        ranges = <0x0 0xc1100000 0x200000>;
 
+                       assist: assist@7c00 {
+                               compatible = "amlogic,meson-mx-assist", "syscon";
+                               reg = <0x7c00 0x200>;
+                       };
+
                        hwrng: rng@8100 {
                                compatible = "amlogic,meson-rng";
                                reg = <0x8100 0x8>;
                        #size-cells = <1>;
                        ranges = <0 0xd9000000 0x20000>;
                };
+
+               bootrom: bootrom@d9040000 {
+                       compatible = "amlogic,meson-mx-bootrom", "syscon";
+                       reg = <0xd9040000 0x10000>;
+               };
        };
 }; /* end of / */
index b98d44fde6b60bc9301a3b23cb65f2ccd0d8e64c..ada26f8116a8f47c0966396d923644befac53243 100644 (file)
                reg = <0x8000 0x4>, <0x4000 0x460>;
        };
 
+       analog_top: analog-top@81a8 {
+               compatible = "amlogic,meson8-analog-top", "syscon";
+               reg = <0x81a8 0x14>;
+       };
+
        pwm_ef: pwm@86c0 {
                compatible = "amlogic,meson8-pwm", "amlogic,meson8b-pwm";
                reg = <0x86c0 0x10>;
index bc278da7df0d93b260eb36d0080b64de2711c592..274d5e4806a1dd9f25ec3ef3d28375bbe300bd90 100644 (file)
                #reset-cells = <1>;
        };
 
+       analog_top: analog-top@81a8 {
+               compatible = "amlogic,meson8b-analog-top", "syscon";
+               reg = <0x81a8 0x14>;
+       };
+
        pwm_ef: pwm@86c0 {
                compatible = "amlogic,meson8b-pwm";
                reg = <0x86c0 0x10>;