dm: Add a test for of-platdata parent information
Add a simple test that we can obtain the correct parent for an I2C device. This requires updating the driver names to match the compatible strings, adding them to the devicetree and enabling a few options. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -69,6 +69,7 @@
|
||||
clock-frequency = <400000>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_i2c0>;
|
||||
u-boot,dm-pre-reloc;
|
||||
};
|
||||
|
||||
pcic: pci@0 {
|
||||
|
||||
@@ -90,6 +90,7 @@
|
||||
reg = <0x43>;
|
||||
compatible = "sandbox-rtc";
|
||||
sandbox,emul = <&emul0>;
|
||||
u-boot,dm-pre-reloc;
|
||||
};
|
||||
sandbox_pmic: sandbox_pmic {
|
||||
reg = <0x40>;
|
||||
|
||||
Reference in New Issue
Block a user