blob: 081a2eceb291e3479293079b21a17c4058ca4198 [file] [log] [blame]
Lokesh Vutlab50abe22018-11-02 19:51:09 +05301// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (C) 2016-2018 Texas Instruments Incorporated - http://www.ti.com/
4 */
5
6/dts-v1/;
7
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"
12
13/ {
14 compatible = "ti,am654-evm", "ti,am654";
15 model = "Texas Instruments AM654 R5 Base Board";
16
17 aliases {
18 serial0 = &wkup_uart0;
19 serial2 = &main_uart0;
20 };
21
22 chosen {
23 stdout-path = "serial2:115200n8";
24 tick-timer = &timer1;
25 };
26
27 aliases {
28 remoteproc0 = &sysctrler;
29 remoteproc1 = &a53_0;
30 };
31
32 a53_0: a53@0 {
33 compatible = "ti,am654-rproc";
34 reg = <0x0 0x00a90000 0x0 0x10>;
35 power-domains = <&k3_pds 61>,
36 <&k3_pds 202>;
37 resets = <&k3_reset 202 0>;
38 assigned-clocks = <&k3_clks 202 0>;
39 assigned-clock-rates = <800000000>;
40 ti,sci = <&dmsc>;
41 ti,sci-proc-id = <32>;
42 ti,sci-host-id = <10>;
43 u-boot,dm-spl;
44 };
45
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>;
53 u-boot,dm-spl;
54 };
55};
56
57&cbass_main {
58 timer1: timer@40400000 {
59 compatible = "ti,omap5430-timer";
60 reg = <0x0 0x40400000 0x0 0x80>;
61 ti,timer-alwon;
62 clock-frequency = <25000000>;
63 u-boot,dm-pre-reloc;
64 };
65};
66
67&cbass_mcu {
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";
74 #mbox-cells = <1>;
75 u-boot,dm-spl;
76 };
77};
78
79&cbass_wakeup {
80 sysctrler: sysctrler {
81 compatible = "ti,am654-system-controller";
82 mboxes= <&mcu_secproxy 4>, <&mcu_secproxy 5>;
83 mbox-names = "tx", "rx";
84 u-boot,dm-spl;
85 };
86
87 wkup_gpio0: wkup_gpio0@42110000 {
88 compatible = "ti,k2g-gpio", "ti,keystone-gpio";
89 reg = <0x42110000 0x100>;
90 gpio-controller;
91 #gpio-cells = <2>;
92 ti,ngpio = <56>;
93 ti,davinci-gpio-unbanked = <0>;
94 clocks = <&k3_clks 59 0>;
95 clock-names = "gpio";
96 u-boot,dm-spl;
97 };
98
99};
100
101&dmsc {
102 mboxes= <&mcu_secproxy 7>, <&mcu_secproxy 6>, <&mcu_secproxy 5>;
103 mbox-names = "tx", "rx", "notify";
104 ti,host-id = <4>;
105 ti,secure-host;
106};
107
108&wkup_uart0 {
109 u-boot,dm-spl;
110 pinctrl-names = "default";
111 pinctrl-0 = <&wkup_uart0_pins_default>;
112 status = "okay";
113};
114
115&wkup_pmx0 {
116 u-boot,dm-spl;
117 wkup_uart0_pins_default: wkup_uart0_pins_default {
118 pinctrl-single,pins = <
119 AM65X_WKUP_IOPAD(0x00a0, PIN_INPUT | MUX_MODE0) /* (AB1) WKUP_UART0_RXD */
120 AM65X_WKUP_IOPAD(0x00a4, PIN_OUTPUT | MUX_MODE0) /* (AB5) WKUP_UART0_TXD */
121 AM65X_WKUP_IOPAD(0x00c8, PIN_INPUT | MUX_MODE1) /* (AC2) WKUP_GPIO0_6.WKUP_UART0_CTSn */
122 AM65X_WKUP_IOPAD(0x00cc, PIN_OUTPUT | MUX_MODE1) /* (AC1) WKUP_GPIO0_7.WKUP_UART0_RTSn */
123 >;
124 u-boot,dm-spl;
125 };
126
127 wkup_vtt_pins_default: wkup_vtt_pins_default {
128 pinctrl-single,pins = <
129 AM65X_WKUP_IOPAD(0x0040, PIN_OUTPUT_PULLUP | MUX_MODE7) /* WKUP_GPIO0_28 */
130 >;
131 u-boot,dm-spl;
132 };
133};
134
135&memorycontroller {
136 vtt-supply = <&vtt_supply>;
137 pinctrl-names = "default";
138 pinctrl-0 = <&wkup_vtt_pins_default>;
139};