2018-08-27 10:29:08 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
/*
|
|
|
|
* Device Tree Source for AM6 SoC Family
|
|
|
|
*
|
|
|
|
* Copyright (C) 2016-2018 Texas Instruments Incorporated - http://www.ti.com/
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
|
|
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
2019-06-04 23:08:15 +00:00
|
|
|
#include <dt-bindings/pinctrl/k3.h>
|
2019-06-07 13:54:47 +00:00
|
|
|
#include <dt-bindings/soc/ti,sci_pm_domain.h>
|
2018-08-27 10:29:08 +00:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Texas Instruments K3 AM654 SoC";
|
|
|
|
compatible = "ti,am654";
|
|
|
|
interrupt-parent = <&gic500>;
|
|
|
|
#address-cells = <2>;
|
|
|
|
#size-cells = <2>;
|
|
|
|
|
2018-11-02 14:21:08 +00:00
|
|
|
aliases {
|
|
|
|
serial0 = &wkup_uart0;
|
|
|
|
serial1 = &mcu_uart0;
|
|
|
|
serial2 = &main_uart0;
|
|
|
|
serial3 = &main_uart1;
|
|
|
|
serial4 = &main_uart2;
|
2019-06-04 23:08:14 +00:00
|
|
|
i2c0 = &wkup_i2c0;
|
|
|
|
i2c1 = &mcu_i2c0;
|
|
|
|
i2c2 = &main_i2c0;
|
|
|
|
i2c3 = &main_i2c1;
|
|
|
|
i2c4 = &main_i2c2;
|
|
|
|
i2c5 = &main_i2c3;
|
2018-11-02 14:21:08 +00:00
|
|
|
};
|
|
|
|
|
2018-08-27 10:29:08 +00:00
|
|
|
chosen { };
|
|
|
|
|
|
|
|
firmware {
|
|
|
|
optee {
|
|
|
|
compatible = "linaro,optee-tz";
|
|
|
|
method = "smc";
|
|
|
|
};
|
|
|
|
|
|
|
|
psci: psci {
|
|
|
|
compatible = "arm,psci-1.0";
|
|
|
|
method = "smc";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
a53_timer0: timer-cl0-cpu0 {
|
|
|
|
compatible = "arm,armv8-timer";
|
|
|
|
interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>, /* cntpsirq */
|
|
|
|
<GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>, /* cntpnsirq */
|
|
|
|
<GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>, /* cntvirq */
|
|
|
|
<GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>; /* cnthpirq */
|
|
|
|
};
|
|
|
|
|
|
|
|
pmu: pmu {
|
|
|
|
compatible = "arm,armv8-pmuv3";
|
|
|
|
/* Recommendation from GIC500 TRM Table A.3 */
|
|
|
|
interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
};
|
|
|
|
|
|
|
|
cbass_main: interconnect@100000 {
|
|
|
|
compatible = "simple-bus";
|
2018-11-02 14:21:08 +00:00
|
|
|
#address-cells = <2>;
|
|
|
|
#size-cells = <2>;
|
|
|
|
ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */
|
|
|
|
<0x00 0x00600000 0x00 0x00600000 0x00 0x00001100>, /* GPIO */
|
|
|
|
<0x00 0x00900000 0x00 0x00900000 0x00 0x00012000>, /* serdes */
|
|
|
|
<0x00 0x01000000 0x00 0x01000000 0x00 0x0af02400>, /* Most peripherals */
|
|
|
|
<0x00 0x30800000 0x00 0x30800000 0x00 0x0bc00000>, /* MAIN NAVSS */
|
2019-08-01 13:43:00 +00:00
|
|
|
<0x00 0x10000000 0x00 0x10000000 0x00 0x10000000>, /* PCIe DAT */
|
2018-08-27 10:29:08 +00:00
|
|
|
/* MCUSS Range */
|
2018-11-02 14:21:08 +00:00
|
|
|
<0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>,
|
|
|
|
<0x00 0x40200000 0x00 0x40200000 0x00 0x00900100>,
|
2019-07-09 05:00:35 +00:00
|
|
|
<0x00 0x40f00000 0x00 0x40f00000 0x00 0x00020000>,
|
2019-10-17 03:33:08 +00:00
|
|
|
<0x00 0x41000000 0x00 0x41000000 0x00 0x00020000>,
|
|
|
|
<0x00 0x41400000 0x00 0x41400000 0x00 0x00020000>,
|
2018-11-02 14:21:08 +00:00
|
|
|
<0x00 0x42040000 0x00 0x42040000 0x00 0x03ac2400>,
|
|
|
|
<0x00 0x45100000 0x00 0x45100000 0x00 0x00c24000>,
|
|
|
|
<0x00 0x46000000 0x00 0x46000000 0x00 0x00200000>,
|
|
|
|
<0x00 0x47000000 0x00 0x47000000 0x00 0x00068400>;
|
2018-08-27 10:29:08 +00:00
|
|
|
|
|
|
|
cbass_mcu: interconnect@28380000 {
|
|
|
|
compatible = "simple-bus";
|
2018-11-02 14:21:08 +00:00
|
|
|
#address-cells = <2>;
|
|
|
|
#size-cells = <2>;
|
|
|
|
ranges = <0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>, /* MCU NAVSS*/
|
|
|
|
<0x00 0x40200000 0x00 0x40200000 0x00 0x00900100>, /* First peripheral window */
|
2019-07-09 05:00:35 +00:00
|
|
|
<0x00 0x40f00000 0x00 0x40f00000 0x00 0x00020000>, /* CTRL_MMR0 */
|
2019-10-17 03:33:08 +00:00
|
|
|
<0x00 0x41000000 0x00 0x41000000 0x00 0x00020000>, /* MCU R5F Core0 */
|
|
|
|
<0x00 0x41400000 0x00 0x41400000 0x00 0x00020000>, /* MCU R5F Core1 */
|
2018-11-02 14:21:08 +00:00
|
|
|
<0x00 0x42040000 0x00 0x42040000 0x00 0x03ac2400>, /* WKUP */
|
|
|
|
<0x00 0x45100000 0x00 0x45100000 0x00 0x00c24000>, /* MMRs, remaining NAVSS */
|
|
|
|
<0x00 0x46000000 0x00 0x46000000 0x00 0x00200000>, /* CPSW */
|
|
|
|
<0x00 0x47000000 0x00 0x47000000 0x00 0x00068400>; /* OSPI space 1 */
|
2018-08-27 10:29:08 +00:00
|
|
|
|
|
|
|
cbass_wakeup: interconnect@42040000 {
|
|
|
|
compatible = "simple-bus";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
/* WKUP Basic peripherals */
|
2018-11-02 14:21:08 +00:00
|
|
|
ranges = <0x42040000 0x00 0x42040000 0x03ac2400>;
|
2018-08-27 10:29:08 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
/* Now include the peripherals for each bus segments */
|
|
|
|
#include "k3-am65-main.dtsi"
|
2018-11-02 14:21:08 +00:00
|
|
|
#include "k3-am65-mcu.dtsi"
|
|
|
|
#include "k3-am65-wakeup.dtsi"
|