From 6ba7bee1aae390fbdef9063ac766665250f1d24a Mon Sep 17 00:00:00 2001 From: YH Lin Date: Mon, 29 Nov 2021 09:44:01 -0800 Subject: brya: add various ES variants Fork multiple "4ES" variants off some brya devices to properly support ES SoC. BRANCH=none BUG=b:201767461 TEST=emerge-brya coreboot and check the artifacts Signed-off-by: YH Lin Change-Id: Ic9516fec591429238bde1478eca2522d8ed10127 Reviewed-on: https://review.coreboot.org/c/coreboot/+/59728 Tested-by: build bot (Jenkins) Reviewed-by: Tim Wawrzynczak --- .../google/brya/variants/brya4es/include/variant/ec.h | 8 ++++++++ .../google/brya/variants/brya4es/include/variant/gpio.h | 14 ++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 src/mainboard/google/brya/variants/brya4es/include/variant/ec.h create mode 100644 src/mainboard/google/brya/variants/brya4es/include/variant/gpio.h (limited to 'src/mainboard/google/brya/variants/brya4es/include') diff --git a/src/mainboard/google/brya/variants/brya4es/include/variant/ec.h b/src/mainboard/google/brya/variants/brya4es/include/variant/ec.h new file mode 100644 index 0000000000..4fc0622f15 --- /dev/null +++ b/src/mainboard/google/brya/variants/brya4es/include/variant/ec.h @@ -0,0 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#ifndef MAINBOARD_EC_H +#define MAINBOARD_EC_H + +#include + +#endif /* MAINBOARD_GPIO_H */ diff --git a/src/mainboard/google/brya/variants/brya4es/include/variant/gpio.h b/src/mainboard/google/brya/variants/brya4es/include/variant/gpio.h new file mode 100644 index 0000000000..23338de2d8 --- /dev/null +++ b/src/mainboard/google/brya/variants/brya4es/include/variant/gpio.h @@ -0,0 +1,14 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#ifndef __MAINBOARD_GPIO_H__ +#define __MAINBOARD_GPIO_H__ + +#include + +#define WWAN_FCPO GPP_F21 +#define WWAN_RST GPP_E16 +#define WWAN_PERST GPP_E0 +#define T1_OFF_MS 16 +#define T2_OFF_MS 2 + +#endif /* __MAINBOARD_GPIO_H__ */ -- cgit v1.2.3