Skip to content

Commit 5d64d9e

Browse files
committed
boards: phyboard_electra: change am64x m4 device tree
This patch replaces the included am64x_m4.dtsi file with the new am64x_am243x_m4.dtsi file to maintain uniformity. Additionally, delete the am64x_m4.dtsi file since it is no longer in use anywhere. Signed-off-by: Amneesh Singh <[email protected]>
1 parent 0e3f8d9 commit 5d64d9e

File tree

2 files changed

+9
-123
lines changed

2 files changed

+9
-123
lines changed

boards/phytec/phyboard_electra/phyboard_electra_am6442_m4.dts

+9-7
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,18 @@
77

88
/dts-v1/;
99

10-
#include <ti/am64x_m4.dtsi>
10+
#include <zephyr/dt-bindings/pinctrl/ti-k3-pinctrl.h>
11+
#include <zephyr/dt-bindings/gpio/gpio.h>
12+
#include <ti/am64x_am243x_m4.dtsi>
1113

1214
/ {
1315
model = "PHYTEC phyBOARD-Electra AM64x M4";
1416
compatible = "phytec,phyboard-electra-am64xx-m4", "ti,am6442";
1517

1618
chosen {
1719
zephyr,sram = &sram0;
18-
zephyr,console = &uart0;
19-
zephyr,shell-uart = &uart0;
20+
zephyr,console = &mcu_uart0;
21+
zephyr,shell-uart = &mcu_uart0;
2022
zephyr,ipc_shm = &ddr0;
2123
zephyr,sram1 = &ddr1;
2224
};
@@ -52,13 +54,13 @@
5254
leds: leds {
5355
compatible = "gpio-leds";
5456
heartbeat_led: led_0 {
55-
gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
57+
gpios = <&mcu_gpio0 6 GPIO_ACTIVE_HIGH>;
5658
label = "Heartbeat LED";
5759
};
5860
};
5961
};
6062

61-
&pinctrl {
63+
&mcu_pinctrl {
6264
mcu_uart0_rx_default: mcu_uart0_rx_default {
6365
pinmux = <K3_PINMUX(0x028, PIN_INPUT, MUX_MODE_0)>;
6466
};
@@ -70,14 +72,14 @@
7072
};
7173
};
7274

73-
&uart0 {
75+
&mcu_uart0 {
7476
current-speed = <115200>;
7577
pinctrl-0 = <&mcu_uart0_rx_default &mcu_uart0_tx_default>;
7678
pinctrl-names = "default";
7779
status = "okay";
7880
};
7981

80-
&gpio0 {
82+
&mcu_gpio0 {
8183
pinctrl-0 = <&mcu_gpio0_led_default>;
8284
pinctrl-names = "default";
8385
status = "okay";

dts/arm/ti/am64x_m4.dtsi

-116
This file was deleted.

0 commit comments

Comments
 (0)