|
| 1 | +/* Copyright (c) 2025 Texas Instruments Incorporated |
| 2 | + * |
| 3 | + * SPDX-License-Identifier: Apache-2.0 |
| 4 | + */ |
| 5 | + |
| 6 | +/dts-v1/; |
| 7 | + |
| 8 | +#include <ti/am64x_am243x_r5.dtsi> |
| 9 | + |
| 10 | +/ { |
| 11 | + model = "TI AM243x AM2434 R5"; |
| 12 | + compatible = "ti,am2434"; |
| 13 | + |
| 14 | + chosen { |
| 15 | + zephyr,sram = &sram; |
| 16 | + zephyr,sram1 = &btcm; |
| 17 | + zephyr,console = &uart0; |
| 18 | + }; |
| 19 | + |
| 20 | + aliases { |
| 21 | + led0 = &ld26; |
| 22 | + }; |
| 23 | + |
| 24 | + cpus { |
| 25 | + cpu@0 { |
| 26 | + status = "okay"; |
| 27 | + }; |
| 28 | + }; |
| 29 | + |
| 30 | + leds: leds { |
| 31 | + compatible = "gpio-leds"; |
| 32 | + ld26: led_0 { |
| 33 | + gpios = <&mcu_gpio0 5 GPIO_ACTIVE_HIGH>; |
| 34 | + }; |
| 35 | + }; |
| 36 | + |
| 37 | + rsc_table: memory@a0100000 { |
| 38 | + compatible = "zephyr,memory-region", "mmio-sram"; |
| 39 | + reg = <0xa0100000 DT_SIZE_M(1)>; |
| 40 | + zephyr,memory-region = "RSC_TABLE"; |
| 41 | + zephyr,memory-attr = <( DT_MEM_ARM(ATTR_MPU_RAM) )>; |
| 42 | + }; |
| 43 | +}; |
| 44 | + |
| 45 | +&pinctrl { |
| 46 | + uart0_rx: uart0_rx_default { |
| 47 | + pinmux = <K3_PINMUX(0x230, PIN_INPUT, MUX_MODE_0)>; |
| 48 | + }; |
| 49 | + uart0_tx: uart0_tx_default { |
| 50 | + pinmux = <K3_PINMUX(0x234, PIN_OUTPUT, MUX_MODE_0)>; |
| 51 | + }; |
| 52 | + i2c0_scl: i2c0_scl_default { |
| 53 | + pinmux = <K3_PINMUX(0x260, PIN_INPUT_PULLUP, MUX_MODE_0)>; |
| 54 | + }; |
| 55 | + i2c0_sda: i2c0_sda_default { |
| 56 | + pinmux = <K3_PINMUX(0x264, PIN_INPUT_PULLUP, MUX_MODE_0)>; |
| 57 | + }; |
| 58 | +}; |
| 59 | + |
| 60 | +&mcu_pinctrl { |
| 61 | + mcu_gpio0_led: mcu_gpio0_led_default { |
| 62 | + pinmux = <K3_PINMUX(0x14, PIN_INPUT, MUX_MODE_7)>; |
| 63 | + }; |
| 64 | +}; |
| 65 | + |
| 66 | +&uart0 { |
| 67 | + status = "okay"; |
| 68 | + pinctrl-0 = <&uart0_tx &uart0_rx>; |
| 69 | + pinctrl-names = "default"; |
| 70 | + current-speed = <115200>; |
| 71 | +}; |
| 72 | + |
| 73 | +&mcu_gpio0 { |
| 74 | + pinctrl-0 = <&mcu_gpio0_led>; |
| 75 | + pinctrl-names = "default"; |
| 76 | + status = "okay"; |
| 77 | +}; |
| 78 | + |
| 79 | +&i2c0 { |
| 80 | + pinctrl-0 = <&i2c0_scl &i2c0_sda>; |
| 81 | + pinctrl-names = "default"; |
| 82 | + status = "okay"; |
| 83 | +}; |
0 commit comments