[TODO]Fixup sandbox.dts

This commit is contained in:
Pierre-Clément Tosi 2022-04-29 12:54:17 +01:00
parent 458d6caa00
commit 2a10d72ff3
2 changed files with 16 additions and 9 deletions

View File

@ -107,7 +107,7 @@
sandbox,emul = <&emul0>;
u-boot,dm-pre-reloc;
};
sandbox_pmic: sandbox_pmic {
sandbox_pmic: sandbox_pmic@40 {
reg = <0x40>;
};
@ -115,9 +115,9 @@
reg = <0x41>;
};
i2c_emul: emul {
i2c_emul: emul@ff {
u-boot,dm-pre-reloc;
reg = <0xff>;
reg = <((1 << 31) + 0xff)>;
compatible = "sandbox,i2c-emul-parent";
emul_eeprom: emul-eeprom {
compatible = "sandbox,i2c-eeprom";

View File

@ -725,8 +725,8 @@
sandbox,emul = <&emul1>;
};
i2c_emul: emul {
reg = <0xff>;
i2c_emul: emul@ff {
reg = <((1 << 31) + 0xff)>;
compatible = "sandbox,i2c-emul-parent";
emul_eeprom: emul-eeprom {
compatible = "sandbox,i2c-eeprom";
@ -741,7 +741,7 @@
};
};
sandbox_pmic: sandbox_pmic {
sandbox_pmic: sandbox_pmic@40 {
reg = <0x40>;
sandbox,emul = <&emul_pmic0>;
};
@ -1459,12 +1459,16 @@
};
pinctrl_i2c: i2c {
groups {
#address-cells = <1>;
#size-cells = <0>;
groups@0 {
reg = <0>; // dummy value
groups = "I2C_UART";
function = "I2C";
};
pins {
pins@1 {
reg = <1>; // dummy value
pins = "P0", "P1";
drive-open-drain;
};
@ -1476,10 +1480,13 @@
};
pinctrl_spi: spi {
#address-cells = <1>;
#size-cells = <0>;
groups = "SPI_I2S";
function = "SPI";
cs {
cs@0 {
reg = <0>; // dummy value
pinmux = <SANDBOX_PINMUX(5, SANDBOX_PINMUX_CS)>,
<SANDBOX_PINMUX(6, SANDBOX_PINMUX_CS)>;
};