mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-28 16:48:18 +00:00
sandbox: Make sandbox,emul more conventional
At present this property is a phandle but does not have a #xxx-cells property to match it. Add one so that is works the same as gpio and clock phandles. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
4b91be2fd8
commit
23f40a3abf
2 changed files with 6 additions and 1 deletions
|
@ -101,15 +101,19 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
i2c_emul: emul {
|
i2c_emul: emul {
|
||||||
|
u-boot,dm-pre-reloc;
|
||||||
reg = <0xff>;
|
reg = <0xff>;
|
||||||
compatible = "sandbox,i2c-emul-parent";
|
compatible = "sandbox,i2c-emul-parent";
|
||||||
emul_eeprom: emul-eeprom {
|
emul_eeprom: emul-eeprom {
|
||||||
compatible = "sandbox,i2c-eeprom";
|
compatible = "sandbox,i2c-eeprom";
|
||||||
sandbox,filename = "i2c.bin";
|
sandbox,filename = "i2c.bin";
|
||||||
sandbox,size = <256>;
|
sandbox,size = <256>;
|
||||||
|
#emul-cells = <0>;
|
||||||
};
|
};
|
||||||
emul0: emul0 {
|
emul0: emul0 {
|
||||||
compatible = "sandbox,i2c-rtc";
|
u-boot,dm-pre-reloc;
|
||||||
|
compatible = "sandbox,i2c-rtc-emul";
|
||||||
|
#emul-cells = <0>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -125,6 +125,7 @@ emulator driver. For example::
|
||||||
compatible = "sandbox,pci-emul-parent";
|
compatible = "sandbox,pci-emul-parent";
|
||||||
emul_1f: emul@1f,0 {
|
emul_1f: emul@1f,0 {
|
||||||
compatible = "sandbox,swap-case";
|
compatible = "sandbox,swap-case";
|
||||||
|
#emul-cells = <0>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue