From 6f74d38dc8d2efab31259b2f280af9484b6d3585 Mon Sep 17 00:00:00 2001 From: Werner Zeh Date: Mon, 21 Feb 2022 07:52:13 +0100 Subject: mb/siemens/mc_apl2: Enable PCI device for I2C bus 0 On mc_apl2 the external RTC is connected to I2C bus 3. All other I2C bus devices (16.0, 16.1 and 16.2) have been disabled as they are not used. While coreboot can handle the case where a PCI device does not have function 0 enabled but a later one (here function 3), Linux seems to check for function 0 first and ignores the rest if function 0 is missing. So enable PCI device 16.0 in order to let Linux use 16.3 again. Test=Boot into Linux and make sure that PCI device 16.0 and 16.3 are visible and I2C attached RTC works properly. Change-Id: I55a748b6de8128f4b26b908118feff9f06d3fb7c Signed-off-by: Werner Zeh Reviewed-on: https://review.coreboot.org/c/coreboot/+/62215 Tested-by: build bot (Jenkins) Reviewed-by: Mario Scheithauer Reviewed-by: Felix Held --- src/mainboard/siemens/mc_apl1/variants/mc_apl2/devicetree.cb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mainboard/siemens/mc_apl1/variants/mc_apl2/devicetree.cb b/src/mainboard/siemens/mc_apl1/variants/mc_apl2/devicetree.cb index 74402566cf64..6c17d6329870 100644 --- a/src/mainboard/siemens/mc_apl1/variants/mc_apl2/devicetree.cb +++ b/src/mainboard/siemens/mc_apl1/variants/mc_apl2/devicetree.cb @@ -99,7 +99,7 @@ chip soc/intel/apollolake end device pci 15.0 on end # - XHCI device pci 15.1 off end # - XDCI - device pci 16.0 off end # - I2C 0 + device pci 16.0 on end # - I2C 0 device pci 16.1 off end # - I2C 1 device pci 16.2 off end # - I2C 2 device pci 16.3 on # - I2C 3 -- cgit v1.2.3