From 291fd9fec9f608fca4b8fde7509eab32c66c6d53 Mon Sep 17 00:00:00 2001 From: Karthikeyan Ramasubramanian Date: Mon, 30 Nov 2020 17:23:31 -0700 Subject: [PATCH] mb/google/dedede: Add Daughter-board FW_CONFIG in devicetree Add daughter-board ports bit field and mask in devicetree. BUG=b:161190931 BRANCH=dedede TEST=Build and boot to OS in drawlat & drawman. Change-Id: Ibbd86fc8c3e44a7d1703b8ce75c48881226545c9 Signed-off-by: Karthikeyan Ramasubramanian Reviewed-on: https://review.coreboot.org/c/coreboot/+/48191 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh Reviewed-by: Maulik V Vaghela --- .../google/dedede/variants/baseboard/devicetree.cb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/mainboard/google/dedede/variants/baseboard/devicetree.cb b/src/mainboard/google/dedede/variants/baseboard/devicetree.cb index ce28123036..2785ad0b92 100644 --- a/src/mainboard/google/dedede/variants/baseboard/devicetree.cb +++ b/src/mainboard/google/dedede/variants/baseboard/devicetree.cb @@ -1,4 +1,11 @@ fw_config + field DB_PORTS 0 3 + option DB_PORTS_NONE 0 + option DB_PORTS_2C_2A 1 + option DB_PORTS_1C_LTE 2 + option DB_PORTS_1A_HDMI 3 + option DB_PORTS_1C_1A 4 + end field TABLETMODE 10 option TABLETMODE_DISABLED 0 option TABLETMODE_ENABLED 1