Commit bd835d53 authored by Martin Blumenstingl's avatar Martin Blumenstingl Committed by Kevin Hilman

ARM: dts: meson: add SoC information nodes

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: default avatarMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: default avatarKevin Hilman <khilman@baylibre.com>
parent aee2828c
...@@ -80,6 +80,11 @@ cbus: cbus@c1100000 { ...@@ -80,6 +80,11 @@ cbus: cbus@c1100000 {
#size-cells = <1>; #size-cells = <1>;
ranges = <0x0 0xc1100000 0x200000>; ranges = <0x0 0xc1100000 0x200000>;
assist: assist@7c00 {
compatible = "amlogic,meson-mx-assist", "syscon";
reg = <0x7c00 0x200>;
};
hwrng: rng@8100 { hwrng: rng@8100 {
compatible = "amlogic,meson-rng"; compatible = "amlogic,meson-rng";
reg = <0x8100 0x8>; reg = <0x8100 0x8>;
...@@ -252,5 +257,10 @@ ahb_sram: sram@d9000000 { ...@@ -252,5 +257,10 @@ ahb_sram: sram@d9000000 {
#size-cells = <1>; #size-cells = <1>;
ranges = <0 0xd9000000 0x20000>; ranges = <0 0xd9000000 0x20000>;
}; };
bootrom: bootrom@d9040000 {
compatible = "amlogic,meson-mx-bootrom", "syscon";
reg = <0xd9040000 0x10000>;
};
}; };
}; /* end of / */ }; /* end of / */
...@@ -173,6 +173,11 @@ clkc: clock-controller@4000 { ...@@ -173,6 +173,11 @@ clkc: clock-controller@4000 {
reg = <0x8000 0x4>, <0x4000 0x460>; reg = <0x8000 0x4>, <0x4000 0x460>;
}; };
analog_top: analog-top@81a8 {
compatible = "amlogic,meson8-analog-top", "syscon";
reg = <0x81a8 0x14>;
};
pwm_ef: pwm@86c0 { pwm_ef: pwm@86c0 {
compatible = "amlogic,meson8-pwm", "amlogic,meson8b-pwm"; compatible = "amlogic,meson8-pwm", "amlogic,meson8b-pwm";
reg = <0x86c0 0x10>; reg = <0x86c0 0x10>;
......
...@@ -130,6 +130,11 @@ reset: reset-controller@4404 { ...@@ -130,6 +130,11 @@ reset: reset-controller@4404 {
#reset-cells = <1>; #reset-cells = <1>;
}; };
analog_top: analog-top@81a8 {
compatible = "amlogic,meson8b-analog-top", "syscon";
reg = <0x81a8 0x14>;
};
pwm_ef: pwm@86c0 { pwm_ef: pwm@86c0 {
compatible = "amlogic,meson8b-pwm"; compatible = "amlogic,meson8b-pwm";
reg = <0x86c0 0x10>; reg = <0x86c0 0x10>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment