projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'mips-fixes-for-2019.07' of https://gitlab.denx.de/u-boot/custodians/u...
[oweals/u-boot.git]
/
arch
/
sandbox
/
dts
/
sandbox.dts
diff --git
a/arch/sandbox/dts/sandbox.dts
b/arch/sandbox/dts/sandbox.dts
index ae3189ec8cfad3d5d1b35fa150d4706613b26c44..a41b5f052d7b47a7e845cfc421305c399f6d5f68 100644
(file)
--- a/
arch/sandbox/dts/sandbox.dts
+++ b/
arch/sandbox/dts/sandbox.dts
@@
-100,11
+100,13
@@
eeprom@2c {
reg = <0x2c>;
compatible = "i2c-eeprom";
eeprom@2c {
reg = <0x2c>;
compatible = "i2c-eeprom";
+ sandbox,emul = <&emul_eeprom>;
};
rtc_0: rtc@43 {
reg = <0x43>;
compatible = "sandbox-rtc";
};
rtc_0: rtc@43 {
reg = <0x43>;
compatible = "sandbox-rtc";
+ sandbox,emul = <&emul0>;
};
sandbox_pmic: sandbox_pmic {
reg = <0x40>;
};
sandbox_pmic: sandbox_pmic {
reg = <0x40>;
@@
-115,18
+117,14
@@
};
i2c_emul: emul {
};
i2c_emul: emul {
- #address-cells = <1>;
- #size-cells = <0>;
reg = <0xff>;
compatible = "sandbox,i2c-emul-parent";
reg = <0xff>;
compatible = "sandbox,i2c-emul-parent";
- emul-eeprom {
- reg = <0x2c>;
+ emul_eeprom: emul-eeprom {
compatible = "sandbox,i2c-eeprom";
sandbox,filename = "i2c.bin";
sandbox,size = <256>;
};
compatible = "sandbox,i2c-eeprom";
sandbox,filename = "i2c.bin";
sandbox,size = <256>;
};
- emul0 {
- reg = <0x43>;
+ emul0: emul0 {
compatible = "sandbox,i2c-rtc";
};
};
compatible = "sandbox,i2c-rtc";
};
};