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 = <&gpio0 13 GPIO_ACTIVE_LOW>; 12 output-low-gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>; 13 input-gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; 14 }; 15}; 16 17&gpio0 { 18 hog1 { 19 gpio-hog; 20 gpios = <13 GPIO_ACTIVE_LOW>; 21 output-high; 22 }; 23 24 hog2 { 25 gpio-hog; 26 gpios = <14 GPIO_ACTIVE_HIGH>; 27 output-low; 28 }; 29 30 hog3 { 31 gpio-hog; 32 gpios = <11 GPIO_ACTIVE_LOW>; 33 input; 34 }; 35}; 36