1/* 2 * Copyright (c) 2020 Phytec Messtechnik GmbH 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7&pinctrl { 8 spi3_default_alt: spi3_default_alt { 9 group1 { 10 psels = <NRF_PSEL(SPIM_SCK, 1, 4)>, 11 <NRF_PSEL(SPIM_MOSI, 1, 5)>, 12 <NRF_PSEL(SPIM_MISO, 1, 6)>; 13 }; 14 }; 15 16 spi3_sleep_alt: spi3_sleep_alt { 17 group1 { 18 psels = <NRF_PSEL(SPIM_SCK, 1, 4)>, 19 <NRF_PSEL(SPIM_MOSI, 1, 5)>, 20 <NRF_PSEL(SPIM_MISO, 1, 6)>; 21 low-power-enable; 22 }; 23 }; 24}; 25 26&spi3 { 27 status = "ok"; 28 cs-gpios = <&gpio1 3 GPIO_ACTIVE_LOW>; 29 pinctrl-0 = <&spi3_default_alt>; 30 pinctrl-1 = <&spi3_sleep_alt>; 31 pinctrl-names = "default", "sleep"; 32 33 winc1500@0 { 34 status = "ok"; 35 compatible = "atmel,winc1500"; 36 reg = <0x0>; 37 spi-max-frequency = <4000000>; 38 irq-gpios = <&gpio1 7 1>; 39 reset-gpios = <&gpio1 8 1>; 40 enable-gpios = <&gpio1 12 0>; 41 42 }; 43}; 44