2013-06-03 20:19:54 +07:00
|
|
|
/*
|
|
|
|
* Device Tree Source for AM4372 SoC
|
|
|
|
*
|
|
|
|
* Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
|
|
|
|
*
|
|
|
|
* This file is licensed under the terms of the GNU General Public License
|
|
|
|
* version 2. This program is licensed "as is" without any warranty of any
|
|
|
|
* kind, whether express or implied.
|
|
|
|
*/
|
|
|
|
|
2018-09-25 06:22:37 +07:00
|
|
|
#include <dt-bindings/bus/ti-sysc.h>
|
2014-03-03 21:50:20 +07:00
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
2013-06-03 20:19:54 +07:00
|
|
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
2017-12-08 22:17:31 +07:00
|
|
|
#include <dt-bindings/clock/am4.h>
|
2013-06-03 20:19:54 +07:00
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "ti,am4372", "ti,am43";
|
2015-03-11 22:43:49 +07:00
|
|
|
interrupt-parent = <&wakeupgen>;
|
2016-08-31 17:35:25 +07:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
2016-12-19 21:44:38 +07:00
|
|
|
chosen { };
|
2013-06-03 20:19:54 +07:00
|
|
|
|
2016-08-31 17:35:32 +07:00
|
|
|
memory@0 {
|
2016-08-31 17:35:25 +07:00
|
|
|
device_type = "memory";
|
|
|
|
reg = <0 0>;
|
|
|
|
};
|
2013-06-03 20:19:54 +07:00
|
|
|
|
|
|
|
aliases {
|
2013-10-17 03:21:04 +07:00
|
|
|
i2c0 = &i2c0;
|
|
|
|
i2c1 = &i2c1;
|
|
|
|
i2c2 = &i2c2;
|
2013-06-03 20:19:54 +07:00
|
|
|
serial0 = &uart0;
|
2015-07-20 18:12:20 +07:00
|
|
|
serial1 = &uart1;
|
|
|
|
serial2 = &uart2;
|
|
|
|
serial3 = &uart3;
|
|
|
|
serial4 = &uart4;
|
|
|
|
serial5 = &uart5;
|
2013-10-11 02:14:53 +07:00
|
|
|
ethernet0 = &cpsw_emac0;
|
|
|
|
ethernet1 = &cpsw_emac1;
|
2015-11-19 14:01:02 +07:00
|
|
|
spi0 = &qspi;
|
2013-06-03 20:19:54 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
cpus {
|
2013-08-02 20:46:13 +07:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
2014-06-24 01:20:58 +07:00
|
|
|
cpu: cpu@0 {
|
2013-06-03 20:19:54 +07:00
|
|
|
compatible = "arm,cortex-a9";
|
2013-08-02 20:46:13 +07:00
|
|
|
device_type = "cpu";
|
|
|
|
reg = <0>;
|
2014-01-30 01:19:17 +07:00
|
|
|
|
|
|
|
clocks = <&dpll_mpu_ck>;
|
|
|
|
clock-names = "cpu";
|
|
|
|
|
2016-05-19 06:36:29 +07:00
|
|
|
operating-points-v2 = <&cpu0_opp_table>;
|
|
|
|
|
2014-01-30 01:19:17 +07:00
|
|
|
clock-latency = <300000>; /* From omap-cpufreq driver */
|
2013-06-03 20:19:54 +07:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-03-06 22:23:40 +07:00
|
|
|
cpu0_opp_table: opp-table {
|
|
|
|
compatible = "operating-points-v2-ti-cpu";
|
|
|
|
syscon = <&scm_conf>;
|
2016-05-19 06:36:29 +07:00
|
|
|
|
2017-04-20 17:55:06 +07:00
|
|
|
opp50-300000000 {
|
2016-05-19 06:36:29 +07:00
|
|
|
opp-hz = /bits/ 64 <300000000>;
|
|
|
|
opp-microvolt = <950000 931000 969000>;
|
|
|
|
opp-supported-hw = <0xFF 0x01>;
|
|
|
|
opp-suspend;
|
|
|
|
};
|
|
|
|
|
2017-04-20 17:55:06 +07:00
|
|
|
opp100-600000000 {
|
2016-05-19 06:36:29 +07:00
|
|
|
opp-hz = /bits/ 64 <600000000>;
|
|
|
|
opp-microvolt = <1100000 1078000 1122000>;
|
|
|
|
opp-supported-hw = <0xFF 0x04>;
|
|
|
|
};
|
|
|
|
|
2017-04-20 17:55:06 +07:00
|
|
|
opp120-720000000 {
|
2016-05-19 06:36:29 +07:00
|
|
|
opp-hz = /bits/ 64 <720000000>;
|
|
|
|
opp-microvolt = <1200000 1176000 1224000>;
|
|
|
|
opp-supported-hw = <0xFF 0x08>;
|
|
|
|
};
|
|
|
|
|
2017-04-20 17:55:06 +07:00
|
|
|
oppturbo-800000000 {
|
2016-05-19 06:36:29 +07:00
|
|
|
opp-hz = /bits/ 64 <800000000>;
|
|
|
|
opp-microvolt = <1260000 1234800 1285200>;
|
|
|
|
opp-supported-hw = <0xFF 0x10>;
|
|
|
|
};
|
|
|
|
|
2017-04-20 17:55:06 +07:00
|
|
|
oppnitro-1000000000 {
|
2016-05-19 06:36:29 +07:00
|
|
|
opp-hz = /bits/ 64 <1000000000>;
|
|
|
|
opp-microvolt = <1325000 1298500 1351500>;
|
|
|
|
opp-supported-hw = <0xFF 0x20>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-02-19 10:35:02 +07:00
|
|
|
soc {
|
|
|
|
compatible = "ti,omap-infra";
|
|
|
|
mpu {
|
|
|
|
compatible = "ti,omap4-mpu";
|
|
|
|
ti,hwmods = "mpu";
|
|
|
|
pm-sram = <&pm_sram_code
|
|
|
|
&pm_sram_data>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2013-06-03 20:19:54 +07:00
|
|
|
gic: interrupt-controller@48241000 {
|
|
|
|
compatible = "arm,cortex-a9-gic";
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <3>;
|
|
|
|
reg = <0x48241000 0x1000>,
|
|
|
|
<0x48240100 0x0100>;
|
2015-03-11 22:43:49 +07:00
|
|
|
interrupt-parent = <&gic>;
|
|
|
|
};
|
|
|
|
|
|
|
|
wakeupgen: interrupt-controller@48281000 {
|
|
|
|
compatible = "ti,omap4-wugen-mpu";
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <3>;
|
|
|
|
reg = <0x48281000 0x1000>;
|
|
|
|
interrupt-parent = <&gic>;
|
2013-06-03 20:19:54 +07:00
|
|
|
};
|
|
|
|
|
2015-08-13 02:56:54 +07:00
|
|
|
scu: scu@48240000 {
|
|
|
|
compatible = "arm,cortex-a9-scu";
|
|
|
|
reg = <0x48240000 0x100>;
|
|
|
|
};
|
|
|
|
|
|
|
|
global_timer: timer@48240200 {
|
|
|
|
compatible = "arm,cortex-a9-global-timer";
|
|
|
|
reg = <0x48240200 0x100>;
|
2015-12-28 20:52:04 +07:00
|
|
|
interrupts = <GIC_PPI 11 IRQ_TYPE_EDGE_RISING>;
|
2015-08-13 02:56:54 +07:00
|
|
|
interrupt-parent = <&gic>;
|
2015-11-30 22:56:38 +07:00
|
|
|
clocks = <&mpu_periphclk>;
|
2015-08-13 02:56:54 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
local_timer: timer@48240600 {
|
|
|
|
compatible = "arm,cortex-a9-twd-timer";
|
|
|
|
reg = <0x48240600 0x100>;
|
2015-12-28 20:52:04 +07:00
|
|
|
interrupts = <GIC_PPI 13 IRQ_TYPE_EDGE_RISING>;
|
2015-08-13 02:56:54 +07:00
|
|
|
interrupt-parent = <&gic>;
|
2015-11-30 22:56:38 +07:00
|
|
|
clocks = <&mpu_periphclk>;
|
2015-08-13 02:56:54 +07:00
|
|
|
};
|
|
|
|
|
2013-10-11 02:14:53 +07:00
|
|
|
l2-cache-controller@48242000 {
|
|
|
|
compatible = "arm,pl310-cache";
|
|
|
|
reg = <0x48242000 0x1000>;
|
|
|
|
cache-unified;
|
|
|
|
cache-level = <2>;
|
|
|
|
};
|
|
|
|
|
2016-08-01 23:46:55 +07:00
|
|
|
ocp@44000000 {
|
2013-12-02 19:18:57 +07:00
|
|
|
compatible = "ti,am4372-l3-noc", "simple-bus";
|
2013-06-03 20:19:54 +07:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
ranges;
|
2013-10-11 02:14:53 +07:00
|
|
|
ti,hwmods = "l3_main";
|
2018-02-19 10:35:05 +07:00
|
|
|
ti,no-idle;
|
2013-12-02 19:18:57 +07:00
|
|
|
reg = <0x44000000 0x400000
|
|
|
|
0x44800000 0x400000>;
|
|
|
|
interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
|
2013-10-11 02:14:53 +07:00
|
|
|
|
2018-09-25 06:22:37 +07:00
|
|
|
l4_wkup: interconnect@44c00000 {
|
2015-07-14 00:34:55 +07:00
|
|
|
wkup_m3: wkup_m3@100000 {
|
|
|
|
compatible = "ti,am4372-wkup-m3";
|
|
|
|
reg = <0x100000 0x4000>,
|
|
|
|
<0x180000 0x2000>;
|
|
|
|
reg-names = "umem", "dmem";
|
|
|
|
ti,hwmods = "wkup_m3";
|
|
|
|
ti,pm-firmware = "am335x-pm-firmware.elf";
|
|
|
|
};
|
2018-09-25 06:22:37 +07:00
|
|
|
};
|
|
|
|
l4_per: interconnect@48000000 {
|
|
|
|
};
|
|
|
|
l4_fast: interconnect@4a000000 {
|
2013-08-02 23:12:04 +07:00
|
|
|
};
|
|
|
|
|
2015-05-07 00:25:33 +07:00
|
|
|
emif: emif@4c000000 {
|
|
|
|
compatible = "ti,emif-am4372";
|
|
|
|
reg = <0x4c000000 0x1000000>;
|
|
|
|
ti,hwmods = "emif";
|
2018-02-26 22:05:00 +07:00
|
|
|
interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
|
2018-02-19 10:35:04 +07:00
|
|
|
ti,no-idle;
|
2018-02-19 10:35:00 +07:00
|
|
|
sram = <&pm_sram_code
|
|
|
|
&pm_sram_data>;
|
2015-05-07 00:25:33 +07:00
|
|
|
};
|
|
|
|
|
2013-10-11 02:14:53 +07:00
|
|
|
edma: edma@49000000 {
|
2015-12-17 20:33:37 +07:00
|
|
|
compatible = "ti,edma3-tpcc";
|
|
|
|
ti,hwmods = "tpcc";
|
|
|
|
reg = <0x49000000 0x10000>;
|
|
|
|
reg-names = "edma3_cc";
|
2013-10-11 02:14:53 +07:00
|
|
|
interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
|
2015-12-17 20:33:37 +07:00
|
|
|
<GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
|
2016-05-25 04:20:28 +07:00
|
|
|
interrupt-names = "edma3_ccint", "edma3_mperr",
|
2015-12-17 20:33:37 +07:00
|
|
|
"edma3_ccerrint";
|
|
|
|
dma-requests = <64>;
|
|
|
|
#dma-cells = <2>;
|
|
|
|
|
|
|
|
ti,tptcs = <&edma_tptc0 7>, <&edma_tptc1 5>,
|
|
|
|
<&edma_tptc2 0>;
|
|
|
|
|
2016-03-14 16:01:50 +07:00
|
|
|
ti,edma-memcpy-channels = <58 59>;
|
2015-12-17 20:33:37 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
edma_tptc0: tptc@49800000 {
|
|
|
|
compatible = "ti,edma3-tptc";
|
|
|
|
ti,hwmods = "tptc0";
|
|
|
|
reg = <0x49800000 0x100000>;
|
|
|
|
interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
interrupt-names = "edma3_tcerrint";
|
|
|
|
};
|
|
|
|
|
|
|
|
edma_tptc1: tptc@49900000 {
|
|
|
|
compatible = "ti,edma3-tptc";
|
|
|
|
ti,hwmods = "tptc1";
|
|
|
|
reg = <0x49900000 0x100000>;
|
|
|
|
interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
interrupt-names = "edma3_tcerrint";
|
|
|
|
};
|
|
|
|
|
|
|
|
edma_tptc2: tptc@49a00000 {
|
|
|
|
compatible = "ti,edma3-tptc";
|
|
|
|
ti,hwmods = "tptc2";
|
|
|
|
reg = <0x49a00000 0x100000>;
|
|
|
|
interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
interrupt-names = "edma3_tcerrint";
|
2013-10-11 02:14:53 +07:00
|
|
|
};
|
2013-06-03 20:19:54 +07:00
|
|
|
|
2019-07-23 14:29:23 +07:00
|
|
|
target-module@47810000 {
|
|
|
|
compatible = "ti,sysc-omap2", "ti,sysc";
|
2013-10-11 02:14:53 +07:00
|
|
|
ti,hwmods = "mmc3";
|
2019-07-23 14:29:23 +07:00
|
|
|
reg = <0x478102fc 0x4>,
|
|
|
|
<0x47810110 0x4>,
|
|
|
|
<0x47810114 0x4>;
|
|
|
|
reg-names = "rev", "sysc", "syss";
|
|
|
|
ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
|
|
|
|
SYSC_OMAP2_ENAWAKEUP |
|
|
|
|
SYSC_OMAP2_SOFTRESET |
|
|
|
|
SYSC_OMAP2_AUTOIDLE)>;
|
|
|
|
ti,sysc-sidle = <SYSC_IDLE_FORCE>,
|
|
|
|
<SYSC_IDLE_NO>,
|
|
|
|
<SYSC_IDLE_SMART>;
|
|
|
|
ti,syss-mask = <1>;
|
|
|
|
clocks = <&l3s_clkctrl AM4_L3S_MMC3_CLKCTRL 0>;
|
|
|
|
clock-names = "fck";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
ranges = <0x0 0x47810000 0x1000>;
|
|
|
|
|
|
|
|
mmc3: mmc@0 {
|
|
|
|
compatible = "ti,omap4-hsmmc";
|
|
|
|
ti,needs-special-reset;
|
|
|
|
interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
reg = <0x0 0x1000>;
|
|
|
|
};
|
2013-10-11 02:14:53 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
sham: sham@53100000 {
|
|
|
|
compatible = "ti,omap5-sham";
|
|
|
|
ti,hwmods = "sham";
|
|
|
|
reg = <0x53100000 0x300>;
|
2015-12-17 20:33:37 +07:00
|
|
|
dmas = <&edma 36 0>;
|
2013-10-11 02:14:53 +07:00
|
|
|
dma-names = "rx";
|
|
|
|
interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
|
2013-06-03 20:19:54 +07:00
|
|
|
};
|
2013-09-25 02:35:09 +07:00
|
|
|
|
|
|
|
aes: aes@53501000 {
|
|
|
|
compatible = "ti,omap4-aes";
|
|
|
|
ti,hwmods = "aes";
|
|
|
|
reg = <0x53501000 0xa0>;
|
|
|
|
interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
|
2015-12-17 20:33:37 +07:00
|
|
|
dmas = <&edma 6 0>,
|
|
|
|
<&edma 5 0>;
|
2013-10-11 02:14:53 +07:00
|
|
|
dma-names = "tx", "rx";
|
2013-09-25 02:35:09 +07:00
|
|
|
};
|
2013-09-25 02:37:33 +07:00
|
|
|
|
|
|
|
des: des@53701000 {
|
|
|
|
compatible = "ti,omap4-des";
|
|
|
|
ti,hwmods = "des";
|
|
|
|
reg = <0x53701000 0xa0>;
|
|
|
|
interrupts = <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>;
|
2015-12-17 20:33:37 +07:00
|
|
|
dmas = <&edma 34 0>,
|
|
|
|
<&edma 33 0>;
|
2013-10-11 02:14:53 +07:00
|
|
|
dma-names = "tx", "rx";
|
2013-09-25 02:37:33 +07:00
|
|
|
};
|
2013-10-11 02:14:53 +07:00
|
|
|
|
2014-02-05 20:28:34 +07:00
|
|
|
gpmc: gpmc@50000000 {
|
|
|
|
compatible = "ti,am3352-gpmc";
|
|
|
|
ti,hwmods = "gpmc";
|
2016-03-11 06:56:39 +07:00
|
|
|
dmas = <&edma 52 0>;
|
2015-10-16 00:37:27 +07:00
|
|
|
dma-names = "rxtx";
|
2014-02-05 20:28:34 +07:00
|
|
|
clocks = <&l3s_gclk>;
|
|
|
|
clock-names = "fck";
|
|
|
|
reg = <0x50000000 0x2000>;
|
|
|
|
interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
gpmc,num-cs = <7>;
|
|
|
|
gpmc,num-waitpins = <2>;
|
|
|
|
#address-cells = <2>;
|
|
|
|
#size-cells = <1>;
|
2016-02-23 23:37:19 +07:00
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <2>;
|
2016-04-07 17:25:33 +07:00
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
2014-02-05 20:28:34 +07:00
|
|
|
status = "disabled";
|
|
|
|
};
|
2014-03-19 17:10:01 +07:00
|
|
|
|
2018-09-14 01:12:25 +07:00
|
|
|
qspi: spi@47900000 {
|
2014-04-28 20:42:30 +07:00
|
|
|
compatible = "ti,am4372-qspi";
|
2015-12-11 11:10:00 +07:00
|
|
|
reg = <0x47900000 0x100>,
|
|
|
|
<0x30000000 0x4000000>;
|
|
|
|
reg-names = "qspi_base", "qspi_mmap";
|
2014-04-28 20:42:30 +07:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
ti,hwmods = "qspi";
|
|
|
|
interrupts = <0 138 0x4>;
|
|
|
|
num-cs = <4>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
2014-05-08 13:00:07 +07:00
|
|
|
|
2014-03-24 18:01:55 +07:00
|
|
|
dss: dss@4832a000 {
|
|
|
|
compatible = "ti,omap3-dss";
|
|
|
|
reg = <0x4832a000 0x200>;
|
|
|
|
status = "disabled";
|
|
|
|
ti,hwmods = "dss_core";
|
|
|
|
clocks = <&disp_clk>;
|
|
|
|
clock-names = "fck";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
ranges;
|
|
|
|
|
2014-06-24 01:20:58 +07:00
|
|
|
dispc: dispc@4832a400 {
|
2014-03-24 18:01:55 +07:00
|
|
|
compatible = "ti,omap3-dispc";
|
|
|
|
reg = <0x4832a400 0x400>;
|
|
|
|
interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
ti,hwmods = "dss_dispc";
|
|
|
|
clocks = <&disp_clk>;
|
|
|
|
clock-names = "fck";
|
2019-09-30 15:54:50 +07:00
|
|
|
|
|
|
|
max-memory-bandwidth = <230000000>;
|
2014-03-24 18:01:55 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
rfbi: rfbi@4832a800 {
|
|
|
|
compatible = "ti,omap3-rfbi";
|
|
|
|
reg = <0x4832a800 0x100>;
|
|
|
|
ti,hwmods = "dss_rfbi";
|
|
|
|
clocks = <&disp_clk>;
|
|
|
|
clock-names = "fck";
|
2015-06-30 19:04:54 +07:00
|
|
|
status = "disabled";
|
2014-03-24 18:01:55 +07:00
|
|
|
};
|
|
|
|
};
|
2014-09-10 23:04:03 +07:00
|
|
|
|
|
|
|
ocmcram: ocmcram@40300000 {
|
|
|
|
compatible = "mmio-sram";
|
|
|
|
reg = <0x40300000 0x40000>; /* 256k */
|
2018-02-19 10:34:58 +07:00
|
|
|
ranges = <0x0 0x40300000 0x40000>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
|
|
|
pm_sram_code: pm-sram-code@0 {
|
|
|
|
compatible = "ti,sram";
|
|
|
|
reg = <0x0 0x1000>;
|
|
|
|
protect-exec;
|
|
|
|
};
|
|
|
|
|
|
|
|
pm_sram_data: pm-sram-data@1000 {
|
|
|
|
compatible = "ti,sram";
|
|
|
|
reg = <0x1000 0x1000>;
|
|
|
|
pool;
|
|
|
|
};
|
2014-09-10 23:04:03 +07:00
|
|
|
};
|
2013-06-03 20:19:54 +07:00
|
|
|
};
|
|
|
|
};
|
2013-08-02 23:12:04 +07:00
|
|
|
|
2018-09-25 06:22:37 +07:00
|
|
|
#include "am437x-l4.dtsi"
|
2017-12-08 22:17:31 +07:00
|
|
|
#include "am43xx-clocks.dtsi"
|