1/* 2 * Copyright (c) 2023 Schlumberger 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7&spi_mosi_p3_8_u2c0 { 8 drive-strength = "strong-soft-edge"; 9 drive-push-pull; 10 hwctrl = "disabled"; 11}; 12 13&spi_miso_p3_7_u2c0 { 14 drive-strength = "strong-soft-edge"; 15 hwctrl = "disabled"; 16}; 17 18&spi_sclk_p3_9_u2c0 { 19 drive-strength = "strong-soft-edge"; 20 drive-push-pull; 21 hwctrl = "disabled"; 22}; 23 24&usic2ch0 { 25 compatible = "infineon,xmc4xxx-spi"; 26 pinctrl-0 = <&spi_mosi_p3_8_u2c0 &spi_miso_p3_7_u2c0 &spi_sclk_p3_9_u2c0>; 27 pinctrl-names = "default"; 28 miso-src = "DX0C"; 29 interrupts = <96 1>; 30 interrupt-names = "rx"; 31 32 #address-cells = <1>; 33 #size-cells = <0>; 34 status = "okay"; 35 36 slow@0 { 37 compatible = "test-spi-loopback-slow"; 38 reg = <0>; 39 spi-max-frequency = <500000>; 40 }; 41 fast@0 { 42 compatible = "test-spi-loopback-fast"; 43 reg = <0>; 44 spi-max-frequency = <16000000>; 45 }; 46}; 47