summaryrefslogtreecommitdiff
path: root/zephyr/projects/herobrine/herobrine_npcx9/include/gpio_map.h
Commit message (Collapse)AuthorAgeFilesLines
* herobrine_npcx9: Make WARM_RESET and POWER_GOOD power signalsWai-Hong Tam2021-08-181-3/+2
| | | | | | | | | | | | | | | | | | Herobrine uses the SPI mux to separate the SPI bus from the AP when programming the AP firmware. Overdriving signals on WARM_RESET is not needed. Make the WARM_RESET and POWER_GOOD GPIOs like normal power signals. BRANCH=None BUG=b:187098628 TEST=Booted AP properly. Flashed the AP firmware, even AP is off. Change-Id: Ie8e42de8174bc71c29424697810e46a2367e3e54 Signed-off-by: Wai-Hong Tam <waihong@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3105006 Reviewed-by: Keith Short <keithshort@chromium.org> Reviewed-by: Stephen Boyd <swboyd@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
* zephyr: herobrine: Switch to use BMI260 sensor driverWai-Hong Tam2021-07-211-1/+1
| | | | | | | | | | | | | Switch the base accel/gyro sensor from BMI160 to BMI260. BRANCH=None BUG=b:194194887 TEST=Built the herobrine_npcx9 image successfully. Change-Id: I459e58a76acc9a5c986f08de711c0227adca63c3 Signed-off-by: Wai-Hong Tam <waihong@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3042987 Reviewed-by: Yuval Peress <peress@chromium.org>
* zephyr: herobrine_npcx9: Update GPIOsWai-Hong Tam2021-07-201-2/+0
| | | | | | | | | | | | | | | | | This CL is a Zephyr-equivalent of CL:2993217. Update the GPIOs to match the schematic. Also update the hibnerate wake sources. Remove the AP_RST_L and WARM_RESET_L from the low voltage dts as their new GPIOs already operate at 1.8V, not configurable. BRANCH=None BUG=b:192253134, b:193583152 TEST=Built the Zephyr herobrine_npcx9 image successfully. Change-Id: I2fcb03acff7ac376a5627f66c800d2d8cade1998 Signed-off-by: Wai-Hong Tam <waihong@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3039386 Reviewed-by: Yuval Peress <peress@chromium.org>
* zephyr: herobrine_npcx9: Initial image which uses NPCX9Wai-Hong Tam2021-07-201-0/+63
This CL copies the Zephyr board/trogdor to board/herobrine_npcx9. Modify the chip config to npcx9m3f and some related configs (simply rename) and dts (update the UART property). The board/herobrine_npcx9 and other NPCX9 boards, like board/brya will be merged to a single board. But the merge needs more work to remove the not-common configs and dts to the project directories. Leave it as a future work. This CL also copies the project trogdor/herobrine_npcx7 to herobrine/herobrine_npcx9. Remove the dead files power.c and hibernate.c, in the EC-OS directory. Remove the Zephyr 2.5 support and board.cmake (needed only for 2.5). BRANCH=None BUG=b:192253134 TEST=Built the herobrine_npcx9 image successfully. Change-Id: I9641768ee978920f6a8677f13ae14e0a26ad35f4 Signed-off-by: Wai-Hong Tam <waihong@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2993220 Reviewed-by: Yuval Peress <peress@chromium.org>