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