207 lines
3.9 KiB
Plaintext
207 lines
3.9 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* AM625 SK: https://www.ti.com/lit/zip/sprr448
|
|
*
|
|
* Copyright (C) 2021-2022 Texas Instruments Incorporated - https://www.ti.com/
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include <dt-bindings/leds/common.h>
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
#include "k3-am625.dtsi"
|
|
|
|
/ {
|
|
compatible = "ti,am625-sk", "ti,am625";
|
|
model = "Texas Instruments AM625 SK";
|
|
|
|
aliases {
|
|
serial2 = &main_uart0;
|
|
};
|
|
|
|
chosen {
|
|
stdout-path = "serial2:115200n8";
|
|
bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000";
|
|
};
|
|
|
|
memory@80000000 {
|
|
device_type = "memory";
|
|
/* 2G RAM */
|
|
reg = <0x00000000 0x80000000 0x00000000 0x80000000>;
|
|
|
|
};
|
|
|
|
reserved-memory {
|
|
#address-cells = <2>;
|
|
#size-cells = <2>;
|
|
ranges;
|
|
|
|
secure_tfa_ddr: tfa@9e780000 {
|
|
reg = <0x00 0x9e780000 0x00 0x80000>;
|
|
alignment = <0x1000>;
|
|
no-map;
|
|
};
|
|
|
|
secure_ddr: optee@9e800000 {
|
|
reg = <0x00 0x9e800000 0x00 0x01800000>; /* for OP-TEE */
|
|
alignment = <0x1000>;
|
|
no-map;
|
|
};
|
|
|
|
wkup_r5fss0_core0_dma_memory_region: r5f-dma-memory@9db00000 {
|
|
compatible = "shared-dma-pool";
|
|
reg = <0x00 0x9db00000 0x00 0xc00000>;
|
|
no-map;
|
|
};
|
|
};
|
|
|
|
vmain_pd: regulator-0 {
|
|
/* TPS65988 PD CONTROLLER OUTPUT */
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "vmain_pd";
|
|
regulator-min-microvolt = <5000000>;
|
|
regulator-max-microvolt = <5000000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
vcc_5v0: regulator-1 {
|
|
/* Output of LM34936 */
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "vcc_5v0";
|
|
regulator-min-microvolt = <5000000>;
|
|
regulator-max-microvolt = <5000000>;
|
|
vin-supply = <&vmain_pd>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
vcc_3v3_sys: regulator-2 {
|
|
/* output of LM61460-Q1 */
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "vcc_3v3_sys";
|
|
regulator-min-microvolt = <3300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
vin-supply = <&vmain_pd>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&usr_led_pins_default>;
|
|
|
|
led-0 {
|
|
label = "am62-sk:green:heartbeat";
|
|
gpios = <&main_gpio1 49 GPIO_ACTIVE_HIGH>;
|
|
linux,default-trigger = "heartbeat";
|
|
function = LED_FUNCTION_HEARTBEAT;
|
|
default-state = "off";
|
|
};
|
|
};
|
|
};
|
|
|
|
&main_pmx0 {
|
|
main_uart0_pins_default: main-uart0-pins-default {
|
|
pinctrl-single,pins = <
|
|
AM62X_IOPAD(0x1c8, PIN_INPUT, 0) /* (D14) UART0_RXD */
|
|
AM62X_IOPAD(0x1cc, PIN_OUTPUT, 0) /* (E14) UART0_TXD */
|
|
>;
|
|
};
|
|
|
|
main_i2c0_pins_default: main-i2c0-pins-default {
|
|
pinctrl-single,pins = <
|
|
AM62X_IOPAD(0x1e0, PIN_INPUT_PULLUP, 0) /* (B16) I2C0_SCL */
|
|
AM62X_IOPAD(0x1e4, PIN_INPUT_PULLUP, 0) /* (A16) I2C0_SDA */
|
|
>;
|
|
};
|
|
|
|
main_i2c1_pins_default: main-i2c1-pins-default {
|
|
pinctrl-single,pins = <
|
|
AM62X_IOPAD(0x1e8, PIN_INPUT_PULLUP, 0) /* (B17) I2C1_SCL */
|
|
AM62X_IOPAD(0x1ec, PIN_INPUT_PULLUP, 0) /* (A17) I2C1_SDA */
|
|
>;
|
|
};
|
|
|
|
usr_led_pins_default: usr-led-pins-default {
|
|
pinctrl-single,pins = <
|
|
AM62X_IOPAD(0x244, PIN_OUTPUT, 7) /* (C17) MMC1_SDWP.GPIO1_49 */
|
|
>;
|
|
};
|
|
};
|
|
|
|
&wkup_uart0 {
|
|
/* WKUP UART0 is used by DM firmware */
|
|
status = "reserved";
|
|
};
|
|
|
|
&mcu_uart0 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&main_uart0 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&main_uart0_pins_default>;
|
|
};
|
|
|
|
&main_uart1 {
|
|
/* Main UART1 is used by TIFS firmware */
|
|
status = "reserved";
|
|
};
|
|
|
|
&main_uart2 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&main_uart3 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&main_uart4 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&main_uart5 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&main_uart6 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&mcu_i2c0 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&wkup_i2c0 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&main_i2c0 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&main_i2c0_pins_default>;
|
|
clock-frequency = <400000>;
|
|
};
|
|
|
|
&main_i2c1 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&main_i2c1_pins_default>;
|
|
clock-frequency = <400000>;
|
|
};
|
|
|
|
&main_i2c2 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&main_i2c3 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&mailbox0_cluster0 {
|
|
mbox_m4_0: mbox-m4-0 {
|
|
ti,mbox-rx = <0 0 0>;
|
|
ti,mbox-tx = <1 0 0>;
|
|
};
|
|
};
|