diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2021-08-28 12:42:08 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-09-25 18:46:15 +0300 |
commit | 8ae8da10b339349586daad0ceb5c0cb655b5ef6d (patch) | |
tree | 9a996e97845db0d4ecb89c519b07cfbc215f2d9e /arch/sandbox | |
parent | 48609d0789f811014b33e6eefc2c27c99be7fea7 (diff) | |
download | u-boot-8ae8da10b339349586daad0ceb5c0cb655b5ef6d.tar.xz |
sandbox: correct cpu nodes
The cpu nodes in arch/sandbox/dts/test.dts should conform to the devicetree
specification:
* property device_type must be set to "cpu"
* the reg property must be provided
* the cpu nodes must have an address
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox')
-rw-r--r-- | arch/sandbox/dts/test.dts | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts index 2dfae1c106..e27d106466 100644 --- a/arch/sandbox/dts/test.dts +++ b/arch/sandbox/dts/test.dts @@ -824,19 +824,27 @@ }; cpus { + #address-cells = <1>; + #size-cells = <0>; timebase-frequency = <2000000>; - cpu-test1 { + cpu1: cpu@1 { + device_type = "cpu"; + reg = <0x1>; timebase-frequency = <3000000>; compatible = "sandbox,cpu_sandbox"; u-boot,dm-pre-reloc; }; - cpu-test2 { + cpu2: cpu@2 { + device_type = "cpu"; + reg = <0x2>; compatible = "sandbox,cpu_sandbox"; u-boot,dm-pre-reloc; }; - cpu-test3 { + cpu3: cpu@3 { + device_type = "cpu"; + reg = <0x3>; compatible = "sandbox,cpu_sandbox"; u-boot,dm-pre-reloc; }; |