1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2016-2018 Texas Instruments Incorporated - http://www.ti.com/
8 #include "k3-am654.dtsi"
9 #include "k3-am654-base-board-u-boot.dtsi"
10 #include "k3-am654-base-board-ddr4-1600MHz.dtsi"
11 #include "k3-am654-ddr.dtsi"
14 compatible = "ti,am654-evm", "ti,am654";
15 model = "Texas Instruments AM654 R5 Base Board";
18 serial0 = &wkup_uart0;
19 serial2 = &main_uart0;
23 stdout-path = "serial2:115200n8";
28 remoteproc0 = &sysctrler;
33 compatible = "ti,am654-rproc";
34 reg = <0x0 0x00a90000 0x0 0x10>;
35 power-domains = <&k3_pds 61>,
37 resets = <&k3_reset 202 0>;
38 assigned-clocks = <&k3_clks 202 0>;
39 assigned-clock-rates = <800000000>;
41 ti,sci-proc-id = <32>;
42 ti,sci-host-id = <10>;
46 vtt_supply: vtt_supply {
47 compatible = "regulator-gpio";
48 regulator-name = "vtt";
49 regulator-min-microvolt = <0>;
50 regulator-max-microvolt = <3300000>;
51 gpios = <&wkup_gpio0 28 GPIO_ACTIVE_HIGH>;
52 states = <0 0x0 3300000 0x1>;
58 timer1: timer@40400000 {
59 compatible = "ti,omap5430-timer";
60 reg = <0x0 0x40400000 0x0 0x80>;
62 clock-frequency = <25000000>;
68 mcu_secproxy: secproxy@28380000 {
69 compatible = "ti,am654-secure-proxy";
70 reg = <0x0 0x2a380000 0x0 0x80000>,
71 <0x0 0x2a400000 0x0 0x80000>,
72 <0x0 0x2a480000 0x0 0x80000>;
73 reg-names = "rt", "scfg", "target_data";
80 sysctrler: sysctrler {
81 compatible = "ti,am654-system-controller";
82 mboxes= <&mcu_secproxy 4>, <&mcu_secproxy 5>;
83 mbox-names = "tx", "rx";
87 wkup_gpio0: wkup_gpio0@42110000 {
88 compatible = "ti,k2g-gpio", "ti,keystone-gpio";
89 reg = <0x42110000 0x100>;
93 ti,davinci-gpio-unbanked = <0>;
94 clocks = <&k3_clks 59 0>;
99 clk_200mhz: dummy_clock {
100 compatible = "fixed-clock";
102 clock-frequency = <200000000>;
108 mboxes= <&mcu_secproxy 8>, <&mcu_secproxy 6>, <&mcu_secproxy 5>;
109 mbox-names = "tx", "rx", "notify";
116 pinctrl-names = "default";
117 pinctrl-0 = <&wkup_uart0_pins_default>;
123 wkup_uart0_pins_default: wkup_uart0_pins_default {
124 pinctrl-single,pins = <
125 AM65X_WKUP_IOPAD(0x00a0, PIN_INPUT, 0) /* (AB1) WKUP_UART0_RXD */
126 AM65X_WKUP_IOPAD(0x00a4, PIN_OUTPUT, 0) /* (AB5) WKUP_UART0_TXD */
127 AM65X_WKUP_IOPAD(0x00c8, PIN_INPUT, 1) /* (AC2) WKUP_GPIO0_6.WKUP_UART0_CTSn */
128 AM65X_WKUP_IOPAD(0x00cc, PIN_OUTPUT, 1) /* (AC1) WKUP_GPIO0_7.WKUP_UART0_RTSn */
133 wkup_vtt_pins_default: wkup_vtt_pins_default {
134 pinctrl-single,pins = <
135 AM65X_WKUP_IOPAD(0x0040, PIN_OUTPUT_PULLUP, 7) /* WKUP_GPIO0_28 */
140 wkup_i2c0_pins_default: wkup-i2c0-pins-default {
141 pinctrl-single,pins = <
142 AM65X_WKUP_IOPAD(0x00e0, PIN_INPUT, 0) /* (AC7) WKUP_I2C0_SCL */
143 AM65X_WKUP_IOPAD(0x00e4, PIN_INPUT, 0) /* (AD6) WKUP_I2C0_SDA */
150 main_mmc0_pins_default: main_mmc0_pins_default {
151 pinctrl-single,pins = <
152 AM65X_IOPAD(0x01a8, PIN_INPUT_PULLDOWN, 0) /* (B25) MMC0_CLK */
153 AM65X_IOPAD(0x01aC, PIN_INPUT_PULLUP, 0) /* (B27) MMC0_CMD */
154 AM65X_IOPAD(0x01a4, PIN_INPUT_PULLUP, 0) /* (A26) MMC0_DAT0 */
155 AM65X_IOPAD(0x01a0, PIN_INPUT_PULLUP, 0) /* (E25) MMC0_DAT1 */
156 AM65X_IOPAD(0x019c, PIN_INPUT_PULLUP, 0) /* (C26) MMC0_DAT2 */
157 AM65X_IOPAD(0x0198, PIN_INPUT_PULLUP, 0) /* (A25) MMC0_DAT3 */
158 AM65X_IOPAD(0x0194, PIN_INPUT_PULLUP, 0) /* (E24) MMC0_DAT4 */
159 AM65X_IOPAD(0x0190, PIN_INPUT_PULLUP, 0) /* (A24) MMC0_DAT5 */
160 AM65X_IOPAD(0x018c, PIN_INPUT_PULLUP, 0) /* (B26) MMC0_DAT6 */
161 AM65X_IOPAD(0x0188, PIN_INPUT_PULLUP, 0) /* (D25) MMC0_DAT7 */
162 AM65X_IOPAD(0x01b0, PIN_INPUT, 0) /* (C25) MMC0_DS */
168 vtt-supply = <&vtt_supply>;
169 pinctrl-names = "default";
170 pinctrl-0 = <&wkup_vtt_pins_default>;
174 clock-names = "clk_xin";
175 clocks = <&clk_200mhz>;
176 /delete-property/ power-domains;
177 ti,driver-strength-ohm = <50>;
181 clock-names = "clk_xin";
182 clocks = <&clk_200mhz>;
183 /delete-property/ power-domains;
184 ti,driver-strength-ohm = <50>;
188 pinctrl-names = "default";
189 pinctrl-0 = <&wkup_i2c0_pins_default>;
190 clock-frequency = <400000>;