|
| 1 | +/* |
| 2 | + * Copyright (c) 2024 Google LLC |
| 3 | + * |
| 4 | + * SPDX-License-Identifier: Apache-2.0 |
| 5 | + */ |
| 6 | + |
| 7 | +/dts-v1/; |
| 8 | + |
| 9 | +#include <nuvoton/npcx9mfp.dtsi> |
| 10 | +#include <nuvoton/npcx/npcx9/npcx9-pinctrl.dtsi> |
| 11 | + |
| 12 | +/ { |
| 13 | + model = "Google Quincy development board"; |
| 14 | + compatible = "google,quincy-fpmcu"; |
| 15 | + |
| 16 | + chosen { |
| 17 | + zephyr,console = &uart1; |
| 18 | + zephyr,shell-uart = &uart1; |
| 19 | + zephyr,sram = &sram0; |
| 20 | + zephyr,flash = &flash0; |
| 21 | + zephyr,flash-controller = &int_flash; |
| 22 | + }; |
| 23 | + |
| 24 | + aliases { |
| 25 | + /* For watchdog sample */ |
| 26 | + watchdog0 = &twd0; |
| 27 | + }; |
| 28 | +}; |
| 29 | + |
| 30 | +/* UART1: Servo UART (console) */ |
| 31 | +&uart1 { |
| 32 | + /* Use UART1_SL2 ie. PIN64.65 */ |
| 33 | + pinctrl-0 = <&uart1_2_sin_gp64 |
| 34 | + &uart1_2_sout_gp65>; |
| 35 | + pinctrl-names = "default"; |
| 36 | + current-speed = <115200>; |
| 37 | + status = "okay"; |
| 38 | +}; |
| 39 | + |
| 40 | +/* UART2: AP UART (Host Commands and MKBP) */ |
| 41 | +&uart2 { |
| 42 | + pinctrl-0 = <&uart2_sin_gp75 |
| 43 | + &uart2_sout_gp86>; |
| 44 | + pinctrl-names = "default"; |
| 45 | + current-speed = <115200>; |
| 46 | + status = "okay"; |
| 47 | +}; |
| 48 | + |
| 49 | +/* SHI0: communication with the AP */ |
| 50 | +&shi0 { |
| 51 | + status = "okay"; |
| 52 | + pinctrl-0 = <&shi_gp46_47_53_55>; |
| 53 | + pinctrl-names = "default"; |
| 54 | +}; |
| 55 | + |
| 56 | +/* SPIP0: communication with the fingerprint sensor */ |
| 57 | +&spip0 { |
| 58 | + pinctrl-0 = <&spip_sclk_mosi_miso_gp95_gpa1_gpa3_gpa5_sl |
| 59 | + &spip_sclk_mosi_miso_gp95_gpa1_gpa3_gpa5_no_spip_inv>; |
| 60 | + cs-gpios = <&gpioa 6 GPIO_ACTIVE_LOW>; |
| 61 | + pinctrl-names = "default"; |
| 62 | + status = "okay"; |
| 63 | +}; |
0 commit comments