1/* 2 * Copyright (c) 2023 Vestas Wind Systems A/S 3 * 4 * SPDX-License-Identifier: Apache-2.0 5*/ 6 7#include <zephyr/dt-bindings/gpio/gpio.h> 8 9/ { 10 zephyr,user { 11 output-high-gpios = <&gpioc 5 GPIO_ACTIVE_LOW>; 12 output-low-gpios = <&gpiob 20 GPIO_ACTIVE_HIGH>; 13 input-gpios = <&gpioc 7 GPIO_ACTIVE_HIGH>; 14 }; 15}; 16 17&gpioc { 18 hog1 { 19 gpio-hog; 20 gpios = <5 GPIO_ACTIVE_LOW>; 21 output-high; 22 }; 23 24 hog2 { 25 gpio-hog; 26 gpios = <7 GPIO_ACTIVE_HIGH>; 27 input; 28 }; 29}; 30 31&gpiob { 32 hog3 { 33 gpio-hog; 34 gpios = <20 GPIO_ACTIVE_HIGH>; 35 output-low; 36 }; 37}; 38