1/* 2 * Copyright (c) 2024 David Ullmann 3 * SPDX-License-Identifier: Apache-2.0 4 */ 5 6/dts-v1/; 7#include <infineon/cat1a/mpns/CY8C6244LQI_S4D92.dtsi> 8 9/ { 10 model = "Infineon PSOC 62S4 Pioneer Kit"; 11 compatible ="cypress,psoc6"; 12 chosen { 13 zephyr,sram = &sram0; 14 zephyr,flash = &flash0; 15 zephyr,console = &uart2; 16 zephyr,shell-uart = &uart2; 17 }; 18 19 aliases { 20 led0 = &user_led; 21 }; 22 23 leds { 24 compatible = "gpio-leds"; 25 user_led: led_0 { 26 label = "LED_0"; 27 gpios = <&gpio_prt2 5 GPIO_ACTIVE_HIGH>; 28 }; 29 30 }; 31 32 arduino_header: connector { 33 compatible = "arduino-header-r3"; 34 #gpio-cells = <2>; 35 gpio-map-mask = <0xffffffff 0xffffffc0>; 36 gpio-map-pass-thru = <0 0x3f>; /* shared */ 37 gpio-map = <0 0 &gpio_prt10 0 0>, /* A0 */ 38 <1 0 &gpio_prt10 1 0>, /* A1 */ 39 <2 0 &gpio_prt10 2 0>, /* A2 */ 40 <3 0 &gpio_prt10 3 0>, /* A3 */ 41 <4 0 &gpio_prt10 4 0>, /* A4 */ 42 <5 0 &gpio_prt10 5 0>, /* A5 */ 43 <6 0 &gpio_prt0 2 0>, /* D0-RX-5 */ 44 <7 0 &gpio_prt0 3 0>, /* D1-TX-5 */ 45 <8 0 &gpio_prt5 0 0>, /* D2-RTS-5 */ 46 <9 0 &gpio_prt5 1 0>, /* D3-CTS-5 */ 47 <10 0 &gpio_prt5 6 0>, /* D4 */ 48 <11 0 &gpio_prt5 7 0>, /* D5 */ 49 <12 0 &gpio_prt6 2 0>, /* D6 */ 50 <13 0 &gpio_prt6 3 0>, /* D7 */ 51 <14 0 &gpio_prt2 4 0>, /* D8-RX-6 */ 52 <15 0 &gpio_prt2 6 0>, /* D9-TX-6 */ 53 <16 0 &gpio_prt2 3 0>, /* D10 */ 54 <17 0 &gpio_prt2 0 0>, /* D11 */ 55 <18 0 &gpio_prt2 1 0>, /* D12 */ 56 <19 0 &gpio_prt2 2 0>; /* D13 */ 57 }; 58}; 59 60&p3_1_scb2_uart_tx { 61 drive-push-pull; 62}; 63 64&p3_0_scb2_uart_rx { 65 input-enable; 66}; 67 68 69uart2: &scb2 { 70 compatible = "infineon,cat1-uart"; 71 status = "okay"; 72 current-speed = <115200>; 73 pinctrl-0 = <&p3_0_scb2_uart_rx &p3_1_scb2_uart_tx>; 74 pinctrl-names = "default"; 75}; 76 77&gpio_prt3 { 78 status = "okay"; 79}; 80 81&gpio_prt2 { 82 status = "okay"; 83}; 84 85uart0: &scb0 { 86 compatible = "infineon,cat1-uart"; 87}; 88 89arduino_serial: &uart0 {}; 90