1/* SPDX-License-Identifier: Apache-2.0 */ 2 3&pinctrl { 4/* EVB's NU5: SS/CLK/MISO/MOSI */ 5 spi2_default: spi2_default { 6 group0 { 7 pinmux = <PA11MFP_SPI2_SS>, 8 <PA10MFP_SPI2_CLK>, 9 <PA9MFP_SPI2_MISO>, 10 <PA8MFP_SPI2_MOSI>; 11 }; 12 }; 13}; 14 15&gpioa { 16 status = "okay"; 17}; 18 19&spi2 { 20 slow@0 { 21 compatible = "test-spi-loopback-slow"; 22 reg = <0>; 23 spi-max-frequency = <500000>; 24 }; 25 fast@0 { 26 compatible = "test-spi-loopback-fast"; 27 reg = <0>; 28 spi-max-frequency = <16000000>; 29 }; 30 status = "okay"; 31 pinctrl-0 = <&spi2_default>; 32 pinctrl-names = "default"; 33}; 34