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_sx1262: sx1262@0 { 31 compatible = "semtech,sx1262"; 32 status = "okay"; 33 reg = <0>; 34 spi-max-frequency = <16000000>; 35 reset-gpios = <&test_gpio 0 0>; 36 busy-gpios = <&test_gpio 9 0>; 37 antenna-enable-gpios = <&test_gpio 0 0>; 38 dio1-gpios = <&test_gpio 11 0>; 39 dio2-tx-enable; 40 tcxo-power-startup-delay-ms = <5>; 41 }; 42 }; 43 }; 44}; 45