| * Copyright (c) 2022, TOKITA Hiroshi <tokita.hiroshi@gmail.com> |
| * SPDX-License-Identifier: Apache-2.0 |
| #include <gd/gd32f4xx/gd32f407xk.dtsi> |
| #include "gd32f407v_start-pinctrl.dtsi" |
| #include <zephyr/dt-bindings/input/input-event-codes.h> |
| model = "GigaDevice GD32F407V-START"; |
| compatible = "gd,gd32f407v-start"; |
| zephyr,console = &usart0; |
| zephyr,shell-uart = &usart0; |
| compatible = "gpio-leds"; |
| gpios = <&gpioc 6 GPIO_ACTIVE_HIGH>; |
| compatible = "gpio-keys"; |
| gpios = <&gpioa 0 GPIO_ACTIVE_LOW>; |
| zephyr,code = <INPUT_KEY_0>; |
| pwms = <&pwm2 0 PWM_MSEC(20) PWM_POLARITY_NORMAL>; |
| current-speed = <115200>; |
| pinctrl-0 = <&usart0_default>; |
| pinctrl-names = "default"; |
| pinctrl-0 = <&pwm2_default>; |
| pinctrl-names = "default"; |