blob: 47271938b38378e051559040c7bbf61459c79bd5 [file] [log] [blame]
Lokesh Vutlaea8ad1d2018-08-27 15:59:08 +05301// SPDX-License-Identifier: GPL-2.0
2/*
3 * Device Tree Source for AM6 SoC Family
4 *
5 * Copyright (C) 2016-2018 Texas Instruments Incorporated - http://www.ti.com/
6 */
7
8#include <dt-bindings/gpio/gpio.h>
9#include <dt-bindings/interrupt-controller/irq.h>
10#include <dt-bindings/interrupt-controller/arm-gic.h>
Andreas Dannenberg7e0363b2019-06-04 18:08:15 -050011#include <dt-bindings/pinctrl/k3.h>
Lokesh Vutlaea8ad1d2018-08-27 15:59:08 +053012
13/ {
14 model = "Texas Instruments K3 AM654 SoC";
15 compatible = "ti,am654";
16 interrupt-parent = <&gic500>;
17 #address-cells = <2>;
18 #size-cells = <2>;
19
Lokesh Vutla2d0eba32018-11-02 19:51:08 +053020 aliases {
21 serial0 = &wkup_uart0;
22 serial1 = &mcu_uart0;
23 serial2 = &main_uart0;
24 serial3 = &main_uart1;
25 serial4 = &main_uart2;
Andreas Dannenbergbbe59162019-06-04 18:08:14 -050026 i2c0 = &wkup_i2c0;
27 i2c1 = &mcu_i2c0;
28 i2c2 = &main_i2c0;
29 i2c3 = &main_i2c1;
30 i2c4 = &main_i2c2;
31 i2c5 = &main_i2c3;
Lokesh Vutla2d0eba32018-11-02 19:51:08 +053032 };
33
Lokesh Vutlaea8ad1d2018-08-27 15:59:08 +053034 chosen { };
35
36 firmware {
37 optee {
38 compatible = "linaro,optee-tz";
39 method = "smc";
40 };
41
42 psci: psci {
43 compatible = "arm,psci-1.0";
44 method = "smc";
45 };
46 };
47
48 a53_timer0: timer-cl0-cpu0 {
49 compatible = "arm,armv8-timer";
50 interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>, /* cntpsirq */
51 <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>, /* cntpnsirq */
52 <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>, /* cntvirq */
53 <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>; /* cnthpirq */
54 };
55
56 pmu: pmu {
57 compatible = "arm,armv8-pmuv3";
58 /* Recommendation from GIC500 TRM Table A.3 */
59 interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>;
60 };
61
62 cbass_main: interconnect@100000 {
63 compatible = "simple-bus";
Lokesh Vutla2d0eba32018-11-02 19:51:08 +053064 #address-cells = <2>;
65 #size-cells = <2>;
66 ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */
67 <0x00 0x00600000 0x00 0x00600000 0x00 0x00001100>, /* GPIO */
68 <0x00 0x00900000 0x00 0x00900000 0x00 0x00012000>, /* serdes */
69 <0x00 0x01000000 0x00 0x01000000 0x00 0x0af02400>, /* Most peripherals */
70 <0x00 0x30800000 0x00 0x30800000 0x00 0x0bc00000>, /* MAIN NAVSS */
Lokesh Vutlaea8ad1d2018-08-27 15:59:08 +053071 /* MCUSS Range */
Lokesh Vutla2d0eba32018-11-02 19:51:08 +053072 <0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>,
73 <0x00 0x40200000 0x00 0x40200000 0x00 0x00900100>,
Grygorii Strashko5195c102019-07-09 10:30:35 +053074 <0x00 0x40f00000 0x00 0x40f00000 0x00 0x00020000>,
Lokesh Vutla2d0eba32018-11-02 19:51:08 +053075 <0x00 0x42040000 0x00 0x42040000 0x00 0x03ac2400>,
76 <0x00 0x45100000 0x00 0x45100000 0x00 0x00c24000>,
77 <0x00 0x46000000 0x00 0x46000000 0x00 0x00200000>,
78 <0x00 0x47000000 0x00 0x47000000 0x00 0x00068400>;
Lokesh Vutlaea8ad1d2018-08-27 15:59:08 +053079
80 cbass_mcu: interconnect@28380000 {
81 compatible = "simple-bus";
Lokesh Vutla2d0eba32018-11-02 19:51:08 +053082 #address-cells = <2>;
83 #size-cells = <2>;
84 ranges = <0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>, /* MCU NAVSS*/
85 <0x00 0x40200000 0x00 0x40200000 0x00 0x00900100>, /* First peripheral window */
Grygorii Strashko5195c102019-07-09 10:30:35 +053086 <0x00 0x40f00000 0x00 0x40f00000 0x00 0x00020000>, /* CTRL_MMR0 */
Lokesh Vutla2d0eba32018-11-02 19:51:08 +053087 <0x00 0x42040000 0x00 0x42040000 0x00 0x03ac2400>, /* WKUP */
88 <0x00 0x45100000 0x00 0x45100000 0x00 0x00c24000>, /* MMRs, remaining NAVSS */
89 <0x00 0x46000000 0x00 0x46000000 0x00 0x00200000>, /* CPSW */
90 <0x00 0x47000000 0x00 0x47000000 0x00 0x00068400>; /* OSPI space 1 */
Lokesh Vutlaea8ad1d2018-08-27 15:59:08 +053091
92 cbass_wakeup: interconnect@42040000 {
93 compatible = "simple-bus";
94 #address-cells = <1>;
95 #size-cells = <1>;
96 /* WKUP Basic peripherals */
Lokesh Vutla2d0eba32018-11-02 19:51:08 +053097 ranges = <0x42040000 0x00 0x42040000 0x03ac2400>;
Lokesh Vutlaea8ad1d2018-08-27 15:59:08 +053098 };
99 };
100 };
101};
102
103/* Now include the peripherals for each bus segments */
104#include "k3-am65-main.dtsi"
Lokesh Vutla2d0eba32018-11-02 19:51:08 +0530105#include "k3-am65-mcu.dtsi"
106#include "k3-am65-wakeup.dtsi"