335 lines
7.0 KiB
Plaintext
335 lines
7.0 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0-only
|
|
/*
|
|
* Device Tree Source for OMAP2 SoC
|
|
*
|
|
* Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
|
|
*/
|
|
|
|
#include <dt-bindings/bus/ti-sysc.h>
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
|
#include <dt-bindings/pinctrl/omap.h>
|
|
|
|
/ {
|
|
compatible = "ti,omap2430", "ti,omap2420", "ti,omap2";
|
|
interrupt-parent = <&intc>;
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
chosen { };
|
|
|
|
aliases {
|
|
serial0 = &uart1;
|
|
serial1 = &uart2;
|
|
serial2 = &uart3;
|
|
i2c0 = &i2c1;
|
|
i2c1 = &i2c2;
|
|
};
|
|
|
|
cpus {
|
|
#address-cells = <0>;
|
|
#size-cells = <0>;
|
|
|
|
cpu {
|
|
compatible = "arm,arm1136jf-s";
|
|
device_type = "cpu";
|
|
};
|
|
};
|
|
|
|
pmu {
|
|
compatible = "arm,arm1136-pmu";
|
|
interrupts = <3>;
|
|
};
|
|
|
|
soc {
|
|
compatible = "ti,omap-infra";
|
|
mpu {
|
|
compatible = "ti,omap2-mpu";
|
|
ti,hwmods = "mpu";
|
|
};
|
|
};
|
|
|
|
ocp {
|
|
compatible = "simple-bus";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
ranges;
|
|
ti,hwmods = "l3_main";
|
|
|
|
aes: aes@480a6000 {
|
|
compatible = "ti,omap2-aes";
|
|
ti,hwmods = "aes";
|
|
reg = <0x480a6000 0x50>;
|
|
dmas = <&sdma 9 &sdma 10>;
|
|
dma-names = "tx", "rx";
|
|
};
|
|
|
|
hdq1w: 1w@480b2000 {
|
|
compatible = "ti,omap2420-1w";
|
|
ti,hwmods = "hdq1w";
|
|
reg = <0x480b2000 0x1000>;
|
|
interrupts = <58>;
|
|
};
|
|
|
|
intc: interrupt-controller@1 {
|
|
compatible = "ti,omap2-intc";
|
|
interrupt-controller;
|
|
#interrupt-cells = <1>;
|
|
reg = <0x480FE000 0x1000>;
|
|
};
|
|
|
|
target-module@48056000 {
|
|
compatible = "ti,sysc-omap2", "ti,sysc";
|
|
reg = <0x48056000 0x4>,
|
|
<0x4805602c 0x4>,
|
|
<0x48056028 0x4>;
|
|
reg-names = "rev", "sysc", "syss";
|
|
ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
|
|
SYSC_OMAP2_EMUFREE |
|
|
SYSC_OMAP2_SOFTRESET |
|
|
SYSC_OMAP2_AUTOIDLE)>;
|
|
ti,sysc-midle = <SYSC_IDLE_FORCE>,
|
|
<SYSC_IDLE_NO>,
|
|
<SYSC_IDLE_SMART>;
|
|
ti,syss-mask = <1>;
|
|
clocks = <&core_l3_ck>;
|
|
clock-names = "fck";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
ranges = <0 0x48056000 0x1000>;
|
|
|
|
sdma: dma-controller@0 {
|
|
compatible = "ti,omap2420-sdma", "ti,omap-sdma";
|
|
reg = <0 0x1000>;
|
|
interrupts = <12>,
|
|
<13>,
|
|
<14>,
|
|
<15>;
|
|
#dma-cells = <1>;
|
|
dma-channels = <32>;
|
|
dma-requests = <64>;
|
|
};
|
|
};
|
|
|
|
i2c1: i2c@48070000 {
|
|
compatible = "ti,omap2-i2c";
|
|
ti,hwmods = "i2c1";
|
|
reg = <0x48070000 0x80>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
interrupts = <56>;
|
|
};
|
|
|
|
i2c2: i2c@48072000 {
|
|
compatible = "ti,omap2-i2c";
|
|
ti,hwmods = "i2c2";
|
|
reg = <0x48072000 0x80>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
interrupts = <57>;
|
|
};
|
|
|
|
mcspi1: spi@48098000 {
|
|
compatible = "ti,omap2-mcspi";
|
|
ti,hwmods = "mcspi1";
|
|
reg = <0x48098000 0x100>;
|
|
interrupts = <65>;
|
|
dmas = <&sdma 35 &sdma 36 &sdma 37 &sdma 38
|
|
&sdma 39 &sdma 40 &sdma 41 &sdma 42>;
|
|
dma-names = "tx0", "rx0", "tx1", "rx1",
|
|
"tx2", "rx2", "tx3", "rx3";
|
|
};
|
|
|
|
mcspi2: spi@4809a000 {
|
|
compatible = "ti,omap2-mcspi";
|
|
ti,hwmods = "mcspi2";
|
|
reg = <0x4809a000 0x100>;
|
|
interrupts = <66>;
|
|
dmas = <&sdma 43 &sdma 44 &sdma 45 &sdma 46>;
|
|
dma-names = "tx0", "rx0", "tx1", "rx1";
|
|
};
|
|
|
|
rng: rng@480a0000 {
|
|
compatible = "ti,omap2-rng";
|
|
ti,hwmods = "rng";
|
|
reg = <0x480a0000 0x50>;
|
|
interrupts = <52>;
|
|
};
|
|
|
|
sham: sham@480a4000 {
|
|
compatible = "ti,omap2-sham";
|
|
ti,hwmods = "sham";
|
|
reg = <0x480a4000 0x64>;
|
|
interrupts = <51>;
|
|
dmas = <&sdma 13>;
|
|
dma-names = "rx";
|
|
};
|
|
|
|
uart1: serial@4806a000 {
|
|
compatible = "ti,omap2-uart";
|
|
ti,hwmods = "uart1";
|
|
reg = <0x4806a000 0x2000>;
|
|
interrupts = <72>;
|
|
dmas = <&sdma 49 &sdma 50>;
|
|
dma-names = "tx", "rx";
|
|
clock-frequency = <48000000>;
|
|
};
|
|
|
|
uart2: serial@4806c000 {
|
|
compatible = "ti,omap2-uart";
|
|
ti,hwmods = "uart2";
|
|
reg = <0x4806c000 0x400>;
|
|
interrupts = <73>;
|
|
dmas = <&sdma 51 &sdma 52>;
|
|
dma-names = "tx", "rx";
|
|
clock-frequency = <48000000>;
|
|
};
|
|
|
|
uart3: serial@4806e000 {
|
|
compatible = "ti,omap2-uart";
|
|
ti,hwmods = "uart3";
|
|
reg = <0x4806e000 0x400>;
|
|
interrupts = <74>;
|
|
dmas = <&sdma 53 &sdma 54>;
|
|
dma-names = "tx", "rx";
|
|
clock-frequency = <48000000>;
|
|
};
|
|
|
|
timer2_target: target-module@4802a000 {
|
|
compatible = "ti,sysc-omap2-timer", "ti,sysc";
|
|
reg = <0x4802a000 0x4>,
|
|
<0x4802a010 0x4>,
|
|
<0x4802a014 0x4>;
|
|
reg-names = "rev", "sysc", "syss";
|
|
ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
|
|
SYSC_OMAP2_EMUFREE |
|
|
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 = <&gpt2_fck>, <&gpt2_ick>;
|
|
clock-names = "fck", "ick";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
ranges = <0x0 0x4802a000 0x1000>;
|
|
|
|
timer2: timer@0 {
|
|
compatible = "ti,omap2420-timer";
|
|
reg = <0 0x400>;
|
|
interrupts = <38>;
|
|
};
|
|
};
|
|
|
|
timer3: timer@48078000 {
|
|
compatible = "ti,omap2420-timer";
|
|
reg = <0x48078000 0x400>;
|
|
interrupts = <39>;
|
|
ti,hwmods = "timer3";
|
|
};
|
|
|
|
timer4: timer@4807a000 {
|
|
compatible = "ti,omap2420-timer";
|
|
reg = <0x4807a000 0x400>;
|
|
interrupts = <40>;
|
|
ti,hwmods = "timer4";
|
|
};
|
|
|
|
timer5: timer@4807c000 {
|
|
compatible = "ti,omap2420-timer";
|
|
reg = <0x4807c000 0x400>;
|
|
interrupts = <41>;
|
|
ti,hwmods = "timer5";
|
|
ti,timer-dsp;
|
|
};
|
|
|
|
timer6: timer@4807e000 {
|
|
compatible = "ti,omap2420-timer";
|
|
reg = <0x4807e000 0x400>;
|
|
interrupts = <42>;
|
|
ti,hwmods = "timer6";
|
|
ti,timer-dsp;
|
|
};
|
|
|
|
timer7: timer@48080000 {
|
|
compatible = "ti,omap2420-timer";
|
|
reg = <0x48080000 0x400>;
|
|
interrupts = <43>;
|
|
ti,hwmods = "timer7";
|
|
ti,timer-dsp;
|
|
};
|
|
|
|
timer8: timer@48082000 {
|
|
compatible = "ti,omap2420-timer";
|
|
reg = <0x48082000 0x400>;
|
|
interrupts = <44>;
|
|
ti,hwmods = "timer8";
|
|
ti,timer-dsp;
|
|
};
|
|
|
|
timer9: timer@48084000 {
|
|
compatible = "ti,omap2420-timer";
|
|
reg = <0x48084000 0x400>;
|
|
interrupts = <45>;
|
|
ti,hwmods = "timer9";
|
|
ti,timer-pwm;
|
|
};
|
|
|
|
timer10: timer@48086000 {
|
|
compatible = "ti,omap2420-timer";
|
|
reg = <0x48086000 0x400>;
|
|
interrupts = <46>;
|
|
ti,hwmods = "timer10";
|
|
ti,timer-pwm;
|
|
};
|
|
|
|
timer11: timer@48088000 {
|
|
compatible = "ti,omap2420-timer";
|
|
reg = <0x48088000 0x400>;
|
|
interrupts = <47>;
|
|
ti,hwmods = "timer11";
|
|
ti,timer-pwm;
|
|
};
|
|
|
|
timer12: timer@4808a000 {
|
|
compatible = "ti,omap2420-timer";
|
|
reg = <0x4808a000 0x400>;
|
|
interrupts = <48>;
|
|
ti,hwmods = "timer12";
|
|
ti,timer-pwm;
|
|
};
|
|
|
|
dss: dss@48050000 {
|
|
compatible = "ti,omap2-dss";
|
|
reg = <0x48050000 0x400>;
|
|
status = "disabled";
|
|
ti,hwmods = "dss_core";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
ranges;
|
|
|
|
dispc@48050400 {
|
|
compatible = "ti,omap2-dispc";
|
|
reg = <0x48050400 0x400>;
|
|
interrupts = <25>;
|
|
ti,hwmods = "dss_dispc";
|
|
};
|
|
|
|
rfbi: encoder@48050800 {
|
|
compatible = "ti,omap2-rfbi";
|
|
reg = <0x48050800 0x400>;
|
|
status = "disabled";
|
|
ti,hwmods = "dss_rfbi";
|
|
};
|
|
|
|
venc: encoder@48050c00 {
|
|
compatible = "ti,omap2-venc";
|
|
reg = <0x48050c00 0x400>;
|
|
status = "disabled";
|
|
ti,hwmods = "dss_venc";
|
|
};
|
|
};
|
|
};
|
|
};
|