1/* 2 * Copyright 2023 NXP 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 = <&gpioa 0 GPIO_ACTIVE_LOW>; 12 output-low-gpios = <&gpioa 2 GPIO_ACTIVE_HIGH>; 13 input-gpios = <&gpioa 1 GPIO_ACTIVE_HIGH>; 14 }; 15}; 16 17&gpioa { 18 status = "okay"; 19 20 hog1 { 21 gpio-hog; 22 gpios = <0 GPIO_ACTIVE_LOW>; 23 output-high; 24 }; 25 26 hog2 { 27 gpio-hog; 28 gpios = <1 GPIO_ACTIVE_HIGH>; 29 input; 30 }; 31 32 hog3 { 33 gpio-hog; 34 gpios = <2 GPIO_ACTIVE_HIGH>; 35 output-low; 36 }; 37}; 38