cy8ckit_062_ble: board: moved uart-6 to common dts for m4

Moved uatr6 to common dts for m4

- cm0 uses uart-5 in ver 0.0.0 and uart-5 in ver 1.0.0 (for
using of Arduino headers).

- cm4 by default uses uart-2 (for ver 0.0.0 and ver 1.0.0)

Signed-off-by: Nazar Palamar <nazar.palamar@infineon.com>
This commit is contained in:
Nazar Palamar 2024-11-14 09:35:09 +02:00 committed by Mahesh Mahadevan
parent c872b49ab0
commit 44aa6f11a6
2 changed files with 15 additions and 26 deletions

View file

@ -9,13 +9,28 @@
#include <infineon/cat1a/legacy/psoc6_cm4.dtsi>
#include "cy8ckit_062_ble_common.dtsi"
#include "cy8ckit_062_ble_cy8c6347-pinctrl.dtsi"
/ {
model = "Cypress PSoC6 BLE Pioneer Kit";
compatible = "cypress,cy8c6xx7_cm4", "cypress,psoc6";
aliases {
uart-6 = &uart6;
};
chosen {
zephyr,sram = &sram2;
zephyr,flash = &flash1;
zephyr,console = &uart6;
zephyr,shell-uart = &uart6;
};
};
&uart6 {
status = "okay";
current-speed = <115200>;
pinctrl-0 = <&p13_0_scb6_uart_rx &p13_1_scb6_uart_tx>;
pinctrl-names = "default";
};

View file

@ -1,26 +0,0 @@
/*
* Copyright (c) 2021, ATL Electronics
*
* SPDX-License-Identifier: Apache-2.0
*/
#include "cy8ckit_062_ble_cy8c6347-pinctrl.dtsi"
/ {
aliases {
uart-6 = &uart6;
};
chosen {
zephyr,console = &uart6;
zephyr,shell-uart = &uart6;
};
};
&uart6 {
status = "okay";
current-speed = <115200>;
pinctrl-0 = <&p13_0_scb6_uart_rx &p13_1_scb6_uart_tx>;
pinctrl-names = "default";
};