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		test_spi: spi@33334444 {
20			#address-cells = <1>;
21			#size-cells = <0>;
22			compatible = "vnd,spi";
23			reg = <0x33334444 0x1000>;
24			status = "okay";
25
26			cs-gpios = <&test_gpio 0 0>,
27			<&test_gpio 0 0>,
28			<&test_gpio 0 0>;
29
30			test_semtech_sx1272: sx1272@1 {
31				compatible = "semtech,sx1272";
32				status = "okay";
33				reg = <0x1>;
34				spi-max-frequency = <3000000>;
35
36				reset-gpios = <&test_gpio 0 0>;
37
38				dio-gpios = <&test_gpio 0 0>,
39					    <&test_gpio 0 0>,
40					    <&test_gpio 0 0>,
41					    <&test_gpio 0 0>;
42
43				power-amplifier-output = "rfo";
44			};
45		};
46	};
47};
48