1/ { 2 test_reg_0: test_reg_0 { 3 compatible = "power-domain-gpio"; 4 enable-gpios = <&gpio0 0 0>; 5 }; 6 7 test_reg_1: test_reg_1 { 8 compatible = "power-domain-gpio"; 9 enable-gpios = <&gpio0 1 0>; 10 }; 11 12 test_reg_chained: test_reg_chained { 13 compatible = "power-domain-gpio"; 14 enable-gpios = <&gpio0 2 0>; 15 power-domain = <&test_reg_0>; 16 }; 17 18 test_dev: test_dev { 19 compatible = "test-device-pm"; 20 status = "okay"; 21 power-domain = <&test_reg_1>; 22 alternate-domain = <&test_reg_chained>; 23 }; 24}; 25