arm64: zynqmp: Fill model name for SOM CCs
authorMichal Simek <michal.simek@amd.com>
Wed, 18 Jan 2023 12:04:14 +0000 (13:04 +0100)
committerMichal Simek <michal.simek@amd.com>
Tue, 24 Jan 2023 12:58:49 +0000 (13:58 +0100)
When U-Boot do DTB reselection origin model for SOM is used and from log it
is not visible if DTB was switched or not. That's why add model directly to
CC (carrier card) to show new model if reselection was successful.

Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/49ba1007218496c48d287454e84a5b8c08abc692.1674043452.git.michal.simek@amd.com
arch/arm/dts/zynqmp-sck-kr-g-revA.dts
arch/arm/dts/zynqmp-sck-kr-g-revB.dts
arch/arm/dts/zynqmp-sck-kv-g-revA.dts
arch/arm/dts/zynqmp-sck-kv-g-revB.dts

index 735c1e3..83c6502 100644 (file)
@@ -18,6 +18,7 @@
 &{/} {
        compatible = "xlnx,zynqmp-sk-kr260-revA",
                     "xlnx,zynqmp-sk-kr260", "xlnx,zynqmp";
+       model = "ZynqMP KR260 revA";
 
        ina260-u14 {
                compatible = "iio-hwmon";
index 6359061..f41a2f8 100644 (file)
@@ -18,6 +18,7 @@
 &{/} {
        compatible = "xlnx,zynqmp-sk-kr260-revB",
                     "xlnx,zynqmp-sk-kr260", "xlnx,zynqmp";
+       model = "ZynqMP KR260 revB";
 
        ina260-u14 {
                compatible = "iio-hwmon";
index b714bd3..0be5b29 100644 (file)
@@ -25,6 +25,7 @@
                     "xlnx,zynqmp-sk-kv260-revY",
                     "xlnx,zynqmp-sk-kv260-revZ",
                     "xlnx,zynqmp-sk-kv260", "xlnx,zynqmp";
+       model = "ZynqMP KV260 revA";
 };
 
 &i2c1 { /* I2C_SCK C23/C24 - MIO from SOM */
index a1d8f9f..fca57a6 100644 (file)
@@ -19,6 +19,7 @@
        compatible = "xlnx,zynqmp-sk-kv260-rev1",
                     "xlnx,zynqmp-sk-kv260-revB",
                     "xlnx,zynqmp-sk-kv260", "xlnx,zynqmp";
+       model = "ZynqMP KV260 revB";
 };
 
 &i2c1 { /* I2C_SCK C23/C24 - MIO from SOM */