1/* 2 * Copyright (c) 2024 TOKITA Hiroshi 3 * SPDX-License-Identifier: Apache-2.0 4 */ 5 6/ { 7 test { 8 #address-cells = <1>; 9 #size-cells = <1>; 10 11 test_gpio: gpio@deadbeef { 12 compatible = "vnd,gpio"; 13 gpio-controller; 14 reg = <0xdeadbeef 0x1000>; 15 #gpio-cells = <0x2>; 16 status = "okay"; 17 }; 18 19 power_domain_gpio { 20 compatible = "power-domain-gpio"; 21 enable-gpios = <&test_gpio 0 0>; 22 #power-domain-cells = <0>; 23 zephyr,pm-device-runtime-auto; 24 }; 25 26 power_domain_gpio_monitor { 27 compatible = "power-domain-gpio-monitor"; 28 status = "okay"; 29 gpios = <&test_gpio 0 0>; 30 #power-domain-cells = <0>; 31 }; 32 }; 33}; 34