soc/amd/picasso: introduce and use devicetree aliases for I2C2&I2C3

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I06102f4fcc3bf9de332c71a52c632241b95cde19
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55543
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Felix Held 2021-06-15 20:02:27 +02:00
parent 5d084ddb87
commit 97fc054979
13 changed files with 15 additions and 12 deletions

View File

@ -386,7 +386,7 @@ chip soc/amd/picasso
end
end # domain
device mmio 0xfedc5000 on
device ref i2c_3 on
chip drivers/i2c/tpm
register "hid" = ""GOOG0005""
register "desc" = ""Cr50 TPM""

View File

@ -428,7 +428,7 @@ chip soc/amd/picasso
device generic 0.1 on end
end
device mmio 0xfedc5000 on
device ref i2c_3 on
chip drivers/i2c/tpm
register "hid" = ""GOOG0005""
register "desc" = ""Cr50 TPM""

View File

@ -98,7 +98,7 @@ chip soc/amd/picasso
subsystemid 0x1022 0x1510 inherit
end # domain
device mmio 0xfedc4000 on
device ref i2c_2 on
chip drivers/i2c/generic
register "hid" = ""ELAN0000""
register "desc" = ""ELAN Touchpad""

View File

@ -42,7 +42,7 @@ chip soc/amd/picasso
subsystemid 0x1022 0x1510 inherit
end # domain
device mmio 0xfedc4000 on # APU_I2C2_BASE
device ref i2c_2 on
chip drivers/i2c/generic
register "hid" = ""RAYD0001""
register "desc" = ""Raydium Touchscreen""

View File

@ -107,7 +107,7 @@ chip soc/amd/picasso
subsystemid 0x1022 0x1510 inherit
end # domain
device mmio 0xfedc4000 on # APU_I2C2_BASE
device ref i2c_2 on
chip drivers/i2c/generic
register "hid" = ""ELAN0000""
register "desc" = ""ELAN Touchpad""

View File

@ -80,7 +80,7 @@ chip soc/amd/picasso
subsystemid 0x1022 0x1510 inherit
end # domain
device mmio 0xfedc4000 on
device ref i2c_2 on
chip drivers/i2c/generic
register "hid" = ""ELAN0000""
register "desc" = ""ELAN Touchpad""

View File

@ -107,7 +107,7 @@ chip soc/amd/picasso
subsystemid 0x1022 0x1510 inherit
end # domain
device mmio 0xfedc4000 on # APU_I2C2_BASE
device ref i2c_2 on
chip drivers/i2c/generic
register "hid" = ""ELAN0000""
register "desc" = ""ELAN Touchpad""

View File

@ -74,7 +74,7 @@ chip soc/amd/picasso
subsystemid 0x1022 0x1510 inherit
end # domain
device mmio 0xfedc4000 on
device ref i2c_2 on
chip drivers/i2c/generic
register "hid" = ""ELAN0000""
register "desc" = ""ELAN Touchpad""

View File

@ -53,7 +53,7 @@ chip soc/amd/picasso
subsystemid 0x1022 0x1510 inherit
end # domain
device mmio 0xfedc4000 on # APU_I2C2_BASE
device ref i2c_2 on
chip drivers/i2c/generic
register "hid" = ""ELAN0001""
register "desc" = ""ELAN Touchscreen""

View File

@ -46,7 +46,7 @@ chip soc/amd/picasso
subsystemid 0x1022 0x1510 inherit
end # domain
device mmio 0xfedc4000 on
device ref i2c_2 on
chip drivers/i2c/generic
register "hid" = ""ELAN0000""
register "desc" = ""ELAN Touchpad""

View File

@ -229,7 +229,7 @@ chip soc/amd/picasso
end
end # domain
device mmio 0xfedc4000 on # APU_I2C2_BASE
device ref i2c_2 on
chip drivers/i2c/hid
register "generic.hid" = ""GDIX0000""
register "generic.desc" = ""Goodix Touchscreen""

View File

@ -82,7 +82,7 @@ chip soc/amd/picasso
end
end # domain
device mmio 0xfedc4000 on
device ref i2c_2 on
chip drivers/i2c/generic
register "hid" = ""ELAN0000""
register "desc" = ""ELAN Touchpad""

View File

@ -43,4 +43,7 @@ chip soc/amd/picasso
device pci 18.6 alias data_fabric_6 on end
device pci 18.7 alias data_fabric_7 on end
end
device mmio 0xfedc4000 alias i2c_2 off end
device mmio 0xfedc5000 alias i2c_3 off end
end