File tree Expand file tree Collapse file tree 4 files changed +77
-1
lines changed 
samples/drivers/spi_bitbang Expand file tree Collapse file tree 4 files changed +77
-1
lines changed Original file line number Diff line number Diff line change 1+ /*
2+  * Copyright (c) 2025 Nordic Semiconductor ASA
3+  *
4+  * SPDX-License-Identifier: Apache-2.0
5+  */
6+ 
7+ /*
8+  * Test requires loopback between P0.06 and P0.07.
9+  * No other driver on SPI_CLK and SPI_CS.
10+  */
11+ 
12+ / {
13+ 	spibb0: spibb0 {
14+ 		compatible = "zephyr,spi-bitbang";
15+ 		status="okay";
16+ 		#address-cells = <1>;
17+ 		#size-cells = <0>;
18+ 		clk-gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
19+ 		mosi-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
20+ 		miso-gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
21+ 		cs-gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
22+ 	};
23+ };
Original file line number Diff line number Diff line change 1+ /*
2+  * Copyright (c) 2025 Nordic Semiconductor ASA
3+  *
4+  * SPDX-License-Identifier: Apache-2.0
5+  */
6+ 
7+ /*
8+  * Test requires loopback between P1.10 and P1.11
9+  * No other driver on SPI_CLK and SPI_CS.
10+  */
11+ 
12+ / {
13+ 	spibb0: spibb0 {
14+ 		compatible = "zephyr,spi-bitbang";
15+ 		status="okay";
16+ 		#address-cells = <1>;
17+ 		#size-cells = <0>;
18+ 		clk-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
19+ 		mosi-gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
20+ 		miso-gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>;
21+ 		cs-gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
22+ 	};
23+ };
Original file line number Diff line number Diff line change 1+ /*
2+  * Copyright (c) 2025 Nordic Semiconductor ASA
3+  *
4+  * SPDX-License-Identifier: Apache-2.0
5+  */
6+ 
7+ /*
8+  * Test requires loopback between P1.13 and P1.14
9+  * No other driver on SPI_CLK and SPI_CS.
10+  */
11+ 
12+ / {
13+ 	spibb0: spibb0 {
14+ 		compatible = "zephyr,spi-bitbang";
15+ 		status="okay";
16+ 		#address-cells = <1>;
17+ 		#size-cells = <0>;
18+ 		clk-gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>;
19+ 		mosi-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
20+ 		miso-gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
21+ 		cs-gpios = <&gpio1 30 GPIO_ACTIVE_LOW>;
22+ 	};
23+ };
Original file line number Diff line number Diff line change 66      - drivers 
77      - spi 
88      - gpio 
9-     platform_allow : nrf52840dk/nrf52840 
9+     platform_allow :
10+       - nrf52840dk/nrf52840 
11+       - nrf54h20dk/nrf54h20/cpuapp 
12+       - nrf54l15dk/nrf54l15/cpuapp 
13+       - nrf54lm20dk/nrf54lm20a/cpuapp 
14+     integration_platforms :
15+       - nrf52840dk/nrf52840 
16+       - nrf54l15dk/nrf54l15/cpuapp 
1017    depends_on : gpio 
1118    harness : console 
1219    harness_config :
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments